diff options
| author | 2025-11-24 18:07:35 +0100 | |
|---|---|---|
| committer | 2025-11-25 19:26:27 -0800 | |
| commit | 436fa8e7d1a119ec90f39e7c2ce0f3a146652899 (patch) | |
| tree | cd12b1460d76a777da9e6232cd8051826c5c3e7f /net/ipv4/tcp_timer.c | |
| parent | chtls: Avoid -Wflex-array-member-not-at-end warning (diff) | |
| download | wireguard-linux-436fa8e7d1a119ec90f39e7c2ce0f3a146652899.tar.xz wireguard-linux-436fa8e7d1a119ec90f39e7c2ce0f3a146652899.zip | |
ice: fix broken Rx on VFs
Since the tagged commit, ice stopped respecting Rx buffer length
passed from VFs.
At that point, the buffer length was hardcoded in ice, so VFs still
worked up to some point (until, for example, a VF wanted an MTU
larger than its PF).
The next commit 93f53db9f9dc ("ice: switch to Page Pool"), broke
Rx on VFs completely since ice started accounting per-queue buffer
lengths again, but now VF queues always had their length zeroed, as
ice was already ignoring what iavf was passing to it.
Restore the line that initializes the buffer length on VF queues
basing on the virtchnl messages.
Fixes: 3a4f419f7509 ("ice: drop page splitting and recycling")
Reported-by: Jakub Slepecki <jakub.slepecki@intel.com>
Reviewed-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Jakub Slepecki <jakub.slepecki@intel.com>
Link: https://patch.msgid.link/20251124170735.3077425-1-aleksander.lobakin@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
