linux_dsm_epyc7002/drivers/net/ethernet
Thomas Petazzoni 09f8397553 net: mvpp2: introduce per-port nrxqs/ntxqs variables
Currently, the global variables rxq_number and txq_number hold the
number of per-port TXQs and RXQs. Until now, such numbers were
constant regardless of the driver configuration. As we are going to
introduce different modes for TX and RX queues, these numbers will
depend on the configuration (PPv2.1 vs. PPv2.2, exact queue
distribution logic).

Therefore, as a preparation, we move the number of RXQs and TXQs in
the 'struct mvpp2_port' structure, next to the RXQs and TXQs
descriptor arrays.

For now, they remain initialized to the same default values as
rxq_number/txq_number used to be initialized, but this will change in
future commits.

The only non-mechanical change in this patch is that the check to
verify hardware constraints on the number of RXQs and TXQs is moved
from mvpp2_probe() to mvpp2_port_probe(), since it's now in
mvpp2_port_probe() that we initialize the per-port count of RXQ and
TXQ.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-03 15:16:09 -07:00
..
3com
8390
adaptec
adi
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon
amd drivers: net: add missing interrupt.h include 2017-07-18 11:13:41 -07:00
apm xgene: Don't fail probe, if there is no clk resource for SGMII interfaces 2017-07-13 09:21:15 -07:00
apple net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
aquantia
arc net: arc_emac: Add support for ndo_do_ioctl net_device_ops operation 2017-08-03 15:14:34 -07:00
atheros net: atl1c: fix spelling mistake: "droppted" -> "dropped" 2017-06-29 12:24:26 -04:00
aurora net: ethernet: nb8800: Handle all 4 RGMII modes identically 2017-07-25 21:27:01 -07:00
broadcom net: bcmgenet: drop COMPILE_TEST dependency 2017-08-02 10:42:33 -07:00
brocade
cadence net: cadence: macb: constify pci_device_id. 2017-07-17 13:37:15 -07:00
calxeda
cavium liquidio: set sriov_totalvfs correctly 2017-08-02 16:50:14 -07:00
chelsio cxgb4: ethtool forward error correction management support 2017-07-29 23:23:44 -07:00
cirrus
cisco cisco: enic: Fic an error handling path in 'vnic_dev_init_devcmd2()' 2017-07-11 10:54:15 -07:00
davicom
dec net: tulip: remove useless code in tulip_init_one() 2017-07-19 16:33:57 -07:00
dlink
emulex benet: fix set but not used warning 2017-07-25 12:31:37 -07:00
ezchip
faraday ftgmac100: return error in ftgmac100_alloc_rx_buf 2017-07-25 21:21:44 -07:00
freescale net: fec: Allow reception of frames bigger than 1522 bytes 2017-07-30 19:26:01 -07:00
fujitsu
hisilicon net: hns3: Add HNS3 driver to kernel build framework & MAINTAINERS 2017-08-03 15:08:18 -07:00
hp
i825xx
ibm ibmvnic: Implement .get_channels 2017-08-03 09:33:06 -07:00
intel Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 2017-07-26 16:58:45 -07:00
marvell net: mvpp2: introduce per-port nrxqs/ntxqs variables 2017-08-03 15:16:09 -07:00
mediatek net-next: mediatek: add support for MediaTek MT7622 SoC 2017-08-01 15:51:48 -07:00
mellanox mlxsw: spectrum_router: Refresh offload indication upon group refresh 2017-08-02 17:00:24 -07:00
micrel
microchip
moxa net: moxa: Add spaces preferred around that '{+,-}' 2017-07-29 14:02:07 -07:00
myricom
natsemi
neterion s2io: Remove UFO support. 2017-07-17 09:52:57 -07:00
netronome nfp: only use direct firmware requests 2017-07-27 17:26:26 -07:00
nuvoton
nvidia
nxp
oki-semi
packetengines
pasemi
qlogic qlcnic: add const to bin_attribute structure 2017-08-03 09:28:51 -07:00
qualcomm net: qcom/emac: fix double free of SGMII IRQ during shutdown 2017-07-14 08:55:32 -07:00
rdc
realtek
renesas ravb: add workaround for clock when resuming with WoL enabled 2017-08-01 17:54:38 -07:00
rocker rocker: Provide offload indication using nexthop flags 2017-08-02 17:00:23 -07:00
samsung
seeq
sfc sfc: Add ethtool -m support for QSFP modules 2017-07-19 16:23:28 -07:00
sgi ioc3-eth: store pointer to net_device for priviate area 2017-07-15 14:28:56 -07:00
silan
sis
smsc smsc911x: Add check for ioremap_nocache() return code 2017-07-12 14:35:43 -07:00
stmicro net: stmmac: Adjust dump offset of DMA registers for ethtool 2017-07-24 16:19:10 -07:00
sun Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-08-01 10:07:50 -07:00
synopsys drivers: net: add missing interrupt.h include 2017-07-18 11:13:41 -07:00
tehuti net: tehuti: don't process data if it has not been copied from userspace 2017-07-19 22:48:02 -07:00
ti net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
tile
toshiba net: tc35815: fix spelling mistake: "Intterrupt" -> "Interrupt" 2017-07-29 15:22:08 -07:00
tundra
via
wiznet
xilinx net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c net: ec_bhf: constify pci_device_id. 2017-07-17 13:37:15 -07:00
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c