linux-yocto/drivers/net/ethernet
Jiawen Wu 4174c0c331 net: ngbe: specify IRQ vector when the number of VFs is 7
For NGBE devices, the queue number is limited to be 1 when SRIOV is
enabled. In this case, IRQ vector[0] is used for MISC and vector[1] is
used for queue, based on the previous patches. But for the hardware
design, the IRQ vector[1] must be allocated for use by the VF[6] when
the number of VFs is 7. So the IRQ vector[0] should be shared for PF
MISC and QUEUE interrupts.

+-----------+----------------------+
| Vector    | Assigned To          |
+-----------+----------------------+
| Vector 0  | PF MISC and QUEUE    |
| Vector 1  | VF 6                 |
| Vector 2  | VF 5                 |
| Vector 3  | VF 4                 |
| Vector 4  | VF 3                 |
| Vector 5  | VF 2                 |
| Vector 6  | VF 1                 |
| Vector 7  | VF 0                 |
+-----------+----------------------+

Minimize code modifications, only adjust the IRQ vector number for this
case.

Fixes: 877253d2cb ("net: ngbe: add sriov function support")
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Link: https://patch.msgid.link/20250701063030.59340-4-jiawenwu@trustnetic.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-07-03 11:51:40 +02:00
..
3com treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
8390 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
actions
adaptec
adi
aeroflex
agere treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
airoha net: airoha: Differentiate hwfd buffer size for QDMA0 and QDMA1 2025-06-19 08:41:59 -07:00
alacritech
allwinner
alteon
altera
amazon treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
amd amd-xgbe: do not double read link status 2025-07-02 14:44:24 -07:00
apm
apple treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
aquantia treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
arc
asix
atheros ethernet: atl1: Add missing DMA mapping error checks and count errors 2025-06-27 16:59:57 -07:00
broadcom bnxt: properly flush XDP redirect lists 2025-06-24 17:56:54 -07:00
brocade treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
cadence net: macb: Check return value of dma_set_mask_and_coherent() 2025-05-27 17:40:35 -07:00
calxeda
cavium net: thunder: make tx software timestamp independent 2025-05-09 16:21:25 -07:00
chelsio treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
cirrus
cisco enic: fix incorrect MTU comparison in enic_change_mtu() 2025-07-01 18:56:28 -07:00
cortina net: ethernet: cortina: Use TOE/TSO on all TCP 2025-04-09 19:15:58 -07:00
davicom
dec treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
dlink treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
emulex emulex/benet: correct command version selection in be_cmd_get_stats() 2025-05-21 20:30:51 -07:00
engleder tsnep: fix timestamping with a stacked DSA driver 2025-05-15 07:58:18 -07:00
ezchip
faraday net: ftgmac100: select FIXED_PHY 2025-06-18 14:11:16 -07:00
freescale dpaa2-eth: fix xdp_rxq_info leak 2025-06-27 17:11:10 -07:00
fujitsu
fungible
google treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
hisilicon treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
huawei hinic3: Remove printed message during module init 2025-05-29 12:15:17 +02:00
i825xx
ibm net: ibmveth: Refactored veth_pool_store for better maintainability 2025-05-07 18:41:08 -07:00
intel igc: disable L1.2 PCI-E link substate to avoid performance issue 2025-07-01 08:26:08 -07:00
litex
marvell Octeontx2-pf: Fix Backpresure configuration 2025-06-18 14:19:22 -07:00
mediatek driver: net: ethernet: mtk_star_emac: fix suspend/resume issue 2025-05-29 12:22:25 +02:00
mellanox mlxbf_gige: return EPROBE_DEFER if PHY IRQ is not available 2025-06-19 08:34:59 -07:00
meta eth: fbnic: avoid double free when failing to DMA-map FW msg 2025-06-19 12:16:11 +02:00
micrel treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
microchip net: lan743x: fix potential out-of-bounds write in lan743x_ptp_io_event_clock_get() 2025-06-19 15:32:14 +02:00
microsoft net: mana: Record doorbell physical address in PF mode 2025-06-19 15:55:22 -07:00
moxa
mscc net: dsa: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set() 2025-05-09 16:34:09 -07:00
myricom treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
natsemi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
neterion treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
netronome treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ni
nvidia treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
nxp
oki-semi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
packetengines treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
pasemi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
pensando ethernet: ionic: Fix DMA mapping tests 2025-06-23 16:42:39 -07:00
qlogic net: qed: reduce stack usage for TLV processing 2025-06-23 14:21:32 +01:00
qualcomm net: phy: remove Kconfig symbol MDIO_DEVRES 2025-05-14 19:12:19 -07:00
rdc
realtek treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
renesas net: ptp: introduce .supported_perout_flags to ptp_clock_info 2025-04-15 20:20:58 -07:00
rocker treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
samsung treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
seeq treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
sfc treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
sgi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
silan
sis treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
smsc treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
socionext net: netsec: Add metadata support for xdp mode 2025-03-25 04:35:41 -07:00
stmicro treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
sun nui: Fix dma_mapping_error() check 2025-07-02 12:00:58 +01:00
sunplus
synopsys treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
tehuti net: tn40xx: add pci-id of the aqr105-based Tehuti TN4010 cards 2025-03-25 13:53:21 -07:00
ti net: ti: icssg-prueth: Fix packet handling for XDP_TX 2025-06-17 15:33:36 -07:00
toshiba
tundra treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
vertexcom net: vertexcom: mse102x: Simplify mse102x_rx_pkt_spi 2025-05-12 18:46:44 -07:00
via
wangxun net: ngbe: specify IRQ vector when the number of VFs is 7 2025-07-03 11:51:40 +02:00
wiznet
xilinx Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-05-28 10:11:15 +02:00
xircom
xscale net: ixp4xx_eth: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set() 2025-05-12 18:10:24 -07:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
jme.c
jme.h
Kconfig net: ethernet: Remove accidental duplication in Kconfig file 2025-03-07 19:42:26 -08:00
korina.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
lantiq_etop.c
lantiq_xrx200.c
Makefile
oa_tc6.c