linux/drivers/net/ethernet
Haiyang Zhang 1e2d0824a9 net: mana: Add support for EQ sharing
The existing code uses (1 + #vPorts * #Queues) MSIXs, which may exceed
the device limit.

Support EQ sharing, so that multiple vPorts (NICs) can share the same
set of MSIXs.

And, report the EQ-sharing capability bit to the host, which means the
host can potentially offer more vPorts and queues to the VM.

Also update the resource limit checking and error handling for better
robustness.

Now, we support up to 256 virtual ports per VF (it was 16/VF), and
support up to 64 queues per vPort (it was 16).

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-08-25 11:06:54 +01:00
..
3com ethernet: isa: convert to module_init/module_exit 2021-08-03 13:05:26 +01:00
8390 ethernet: isa: convert to module_init/module_exit 2021-08-03 13:05:26 +01:00
actions dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
adaptec dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
aeroflex
agere dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
alacritech
allwinner dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
alteon
altera
amazon ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
amd ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
apm
apple
aquantia ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
arc dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
atheros dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
broadcom ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
brocade ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
cadence ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
calxeda
cavium ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
chelsio cxgb4: Properly revert VPD changes 2021-08-25 11:03:13 +01:00
cirrus ethernet: isa: convert to module_init/module_exit 2021-08-03 13:05:26 +01:00
cisco ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
cortina ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
davicom dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
dec tulip: Remove deadcode on startup true condition 2021-08-07 09:39:54 +01:00
dlink dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
emulex ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
ezchip
faraday dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
freescale ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
fujitsu
google gve: fix the wrong AdminQ buffer overflow check 2021-07-16 10:41:40 -07:00
hisilicon net: hns3: add ethtool support for CQE/EQE mode configuration 2021-08-24 07:38:29 -07:00
huawei ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
i825xx m68k: remove legacy probing 2021-08-03 13:05:25 +01:00
ibm dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
intel igc: Add support for PTP getcrosststamp() 2021-08-24 12:01:34 -07:00
marvell ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
mediatek dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
mellanox ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
micrel dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
microchip net: sparx5: switchdev: adding frame DMA functionality 2021-08-20 14:28:55 +01:00
microsoft net: mana: Add support for EQ sharing 2021-08-25 11:06:54 +01:00
moxa net: moxa: fix UAF in moxart_mac_probe 2021-07-09 11:01:01 -07:00
mscc net: mscc: ocelot: use helpers for port VLAN membership 2021-08-20 14:39:52 +01:00
myricom ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
natsemi Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-05 15:08:47 -07:00
neterion Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-05 15:08:47 -07:00
netronome ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
ni ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
nvidia forcedeth: switch from 'pci_' to 'dma_' API 2021-08-23 11:56:57 +01:00
nxp dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
oki-semi net: pch_gbe: remove mii_ethtool_gset() error handling 2021-08-19 13:06:53 +01:00
packetengines dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
pasemi
pensando ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
qlogic netxen_nic: Remove the repeated declaration 2021-08-25 11:04:53 +01:00
qualcomm dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
rdc dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
realtek ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
renesas ravb: Add tx_counters to struct ravb_hw_info 2021-08-19 12:05:16 +01:00
rocker Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-13 06:41:22 -07:00
samsung ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
seeq
sfc ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
sgi dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
silan
sis Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-07-31 09:14:46 -07:00
smsc ethernet: isa: convert to module_init/module_exit 2021-08-03 13:05:26 +01:00
socionext ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
stmicro ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
sun net: sunhme: Remove unused macros 2021-08-23 11:58:33 +01:00
synopsys ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
tehuti ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
ti ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
toshiba dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
tundra dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
via ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
wiznet
xilinx ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
xircom dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
xscale dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
dnet.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
dnet.h
ec_bhf.c net: ec_bhf: switch from 'pci_' to 'dma_' API 2021-08-23 11:56:57 +01:00
ethoc.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
fealnx.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
jme.c ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
jme.h
Kconfig
korina.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
lantiq_etop.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
lantiq_xrx200.c
Makefile