No description
Find a file
Joshua Hay 52c11d31b5 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: 1c325aac10 ("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>
2025-02-11 09:13:11 -08:00
arch sh updates for v6.14 2025-02-02 10:40:27 -08:00
block
certs
crypto
Documentation linux-can-fixes-for-6.14-20250208 2025-02-10 19:24:06 -08:00
drivers idpf: call set_real_num_queues in idpf_open 2025-02-11 09:13:11 -08:00
fs for-6.14-rc1-tag 2025-02-05 08:13:07 -08:00
include vrf: use RCU protection in l3mdev_l3_out() 2025-02-10 18:09:09 -08:00
init
io_uring
ipc
kernel Fixes for kthreads 2025-02-04 11:01:48 -08:00
lib
LICENSES
mm assorted stuff for this merge window 2025-02-01 15:07:56 -08:00
net Here are some batman-adv bugfixes: 2025-02-11 10:39:46 +01:00
rust
samples
scripts
security
sound
tools Current release - regressions: 2025-02-06 09:14:54 -08:00
usr
virt
.clang-format
.clippy.toml
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap wireless fixes for v6.14-rc3 2025-02-10 18:13:07 -08:00
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS wireless fixes for v6.14-rc3 2025-02-10 18:13:07 -08:00
Makefile Linux 6.14-rc1 2025-02-02 15:39:26 -08:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.