No description
Find a file
Íñigo Huguet b2d60329a0 sfc: fix wrong tx channel offset with efx_separate_tx_channels
[ Upstream commit c308dfd1b4 ]

tx_channel_offset is calculated in efx_allocate_msix_channels, but it is
also calculated again in efx_set_channels because it was originally done
there, and when efx_allocate_msix_channels was introduced it was
forgotten to be removed from efx_set_channels.

Moreover, the old calculation is wrong when using
efx_separate_tx_channels because now we can have XDP channels after the
TX channels, so n_channels - n_tx_channels doesn't point to the first TX
channel.

Remove the old calculation from efx_set_channels, and add the
initialization of this variable if MSI or legacy interrupts are used,
next to the initialization of the rest of the related variables, where
it was missing.

Fixes: 3990a8fffb ("sfc: allocate channels for XDP tx queues")
Reported-by: Tianhao Zhao <tizhao@redhat.com>
Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:44:56 +02:00
arch riscv: read-only pages should not be writable 2022-06-14 18:44:56 +02:00
block block: use bio_queue_enter instead of blk_queue_enter in bio_poll 2022-06-14 18:44:56 +02:00
certs Kbuild updates for v5.18 2022-03-31 11:59:03 -07:00
crypto crypto: cryptd - Protect per-CPU resource by disabling BH. 2022-06-09 10:30:30 +02:00
Documentation dt-bindings: remoteproc: mediatek: Make l1tcm reg exclusive to mt819x 2022-06-14 18:44:50 +02:00
drivers sfc: fix wrong tx channel offset with efx_separate_tx_channels 2022-06-14 18:44:56 +02:00
fs jffs2: fix memory leak in jffs2_do_fill_super 2022-06-14 18:44:55 +02:00
include tcp: add accessors to read/set tp->snd_cwnd 2022-06-14 18:44:56 +02:00
init Kconfig: Add option for asm goto w/ tied outputs to workaround clang-13 bug 2022-06-09 10:30:49 +02:00
ipc ipc/mqueue: use get_tree_nodev() in mqueue_get_tree() 2022-06-09 10:30:30 +02:00
kernel bpf: Fix probe read error in ___bpf_prog_run() 2022-06-14 18:44:55 +02:00
lib lib/string_helpers: fix not adding strarray to device's resource list 2022-06-09 10:30:49 +02:00
LICENSES
mm mm/memremap: fix missing call to untrack_pfn() in pagemap_range() 2022-06-09 10:30:52 +02:00
net tcp: add accessors to read/set tp->snd_cwnd 2022-06-14 18:44:56 +02:00
samples samples/landlock: Format with clang-format 2022-06-09 10:30:46 +02:00
scripts modpost: fix removing numeric suffixes 2022-06-14 18:44:54 +02:00
security ima: remove the IMA_TEMPLATE Kconfig option 2022-06-09 10:30:49 +02:00
sound ASoC: fsl_sai: Fix FSL_SAI_xDR/xFR definition 2022-06-14 18:44:53 +02:00
tools selftests/bpf: fix stacktrace_build_id with missing kprobe/urandom_read 2022-06-14 18:44:55 +02:00
usr Kbuild updates for v5.18 2022-03-31 11:59:03 -07:00
virt KVM: Free new dirty bitmap if creating a new memslot fails 2022-05-20 13:02:05 -04:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap hotfixes for 5.18-rc7 2022-05-13 10:22:37 -07:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Merge branch 'arm/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc 2022-05-18 14:07:43 -10:00
Makefile Linux 5.18.3 2022-06-09 10:30:57 +02: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 Restructured Text 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.