Centos-kernel-stream-9/drivers/net/ethernet
Michal Schmidt b0df072c74 idpf: call set_real_num_queues in idpf_open
JIRA: https://issues.redhat.com/browse/RHEL-68688

commit 52c11d31b5a1d1c747bb5f36cc4808e93e2348f4
Author: Joshua Hay <joshua.a.hay@intel.com>
Date:   Tue Feb 4 18:08:11 2025 -0800

    idpf: call set_real_num_queues in idpf_open

    On initial driver load, alloc_etherdev_mqs is called with whatever max
    queue values are provided by the control plane. However, if the driver
    is loaded on a system where num_online_cpus() returns less than the max
    queues, the netdev will think there are more queues than are actually
    available. Only num_online_cpus() will be allocated, but
    skb_get_queue_mapping(skb) could possibly return an index beyond the
    range of allocated queues. Consequently, the packet is silently dropped
    and it appears as if TX is broken.

    Set the real number of queues during open so the netdev knows how many
    queues will be allocated.

    Fixes: 1c325aac10a8 ("idpf: configure resources for TX queues")
    Signed-off-by: Joshua Hay <joshua.a.hay@intel.com>
    Reviewed-by: Madhu Chittim <madhu.chittim@intel.com>
    Tested-by: Samuel Salin <Samuel.salin@intel.com>
    Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
2025-02-14 10:49:49 +01:00
..
3com
8390
actions
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon
amd net: xgbe: Convert tasklet API to new bottom half workqueue mechanism 2024-12-16 20:34:34 +01:00
apm
apple
aquantia
arc
atheros
broadcom tg3: Disable tg3 PCIe AER on system reboot 2025-02-03 19:59:15 -05:00
brocade
cadence net: macb: Remove setting of RX software timestamp 2024-11-05 11:39:24 +01:00
calxeda
cavium net: thunderx: Remove setting of RX software timestamp 2024-11-05 11:39:24 +01:00
chelsio cxgb4: Remove setting of RX software timestamp 2024-11-05 11:39:24 +01:00
cirrus
cisco enic: Remove setting of RX software timestamp 2024-11-05 11:39:24 +01:00
cortina
davicom
dec
dlink
emulex
ezchip
faraday
freescale net: fec: Remove setting of RX software timestamp 2024-11-05 11:39:23 +01:00
fujitsu
google gve: trigger RX NAPI instead of TX NAPI in gve_xsk_wakeup 2025-01-08 23:59:34 +00:00
hisilicon mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER 2024-12-09 12:24:17 -05:00
huawei
i825xx
ibm mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER 2024-12-09 12:24:17 -05:00
intel idpf: call set_real_num_queues in idpf_open 2025-02-14 10:49:49 +01:00
marvell Merge: octeontx2: update driver to upstream v6.13 2025-02-06 08:14:18 -05:00
mediatek
mellanox Merge: ipv4: backports from upstream 2025-01-31 10:07:48 -05:00
micrel
microchip lan743x: Remove setting of RX software timestamp 2024-11-05 11:39:23 +01:00
microsoft dma-mapping: don't return errors from dma_set_max_seg_size 2024-11-04 08:57:37 -07:00
moxa
mscc
myricom
natsemi
neterion
netronome nfp: use irq_update_affinity_hint() 2025-01-23 14:05:16 +02:00
ni
nvidia
nxp
oki-semi
packetengines
pasemi
pensando drivers: net: ionic: add missed debugfs cleanup to ionic_probe() error path 2024-11-29 22:04:44 +02:00
qlogic net: qede: flower: validate control flags 2024-11-24 02:00:11 +01:00
qualcomm
rdc
realtek r8169: avoid unsolicited interrupts 2024-12-13 17:01:06 +01:00
renesas net: renesas: rswitch: add mdio C22 support 2025-02-05 12:57:47 -05:00
rocker
samsung
seeq
sfc sfc: Don't invoke xdp_do_flush() from netpoll. 2024-11-29 17:03:41 +01:00
sgi
silan
sis
smsc
socionext
stmicro Merge: CNB96: phy update to v6.12 2025-01-10 08:14:39 +00:00
sun
synopsys
tehuti
ti net: netcp: Remove setting of RX software timestamp 2024-11-05 11:39:24 +01:00
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
Kconfig
Makefile
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
korina.c
lantiq_etop.c
lantiq_xrx200.c