diff options
author | Larysa Zaremba <larysa.zaremba@intel.com> | 2022-09-19 15:43:46 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-21 17:33:29 -0700 |
commit | 114f398d48c571bb628187a7b2dd42695156781f (patch) | |
tree | 1a8e0c58c49ca294f97ec5c7e00ca06786a742f7 /drivers/net/ethernet/intel/ice/ice_switch.h | |
parent | f64780e3ccecf00477bb8f0a021f78205b27a610 (diff) | |
download | linux-stable-114f398d48c571bb628187a7b2dd42695156781f.tar.gz linux-stable-114f398d48c571bb628187a7b2dd42695156781f.tar.bz2 linux-stable-114f398d48c571bb628187a7b2dd42695156781f.zip |
ice: Fix ice_xdp_xmit() when XDP TX queue number is not sufficient
The original patch added the static branch to handle the situation,
when assigning an XDP TX queue to every CPU is not possible,
so they have to be shared.
However, in the XDP transmit handler ice_xdp_xmit(), an error was
returned in such cases even before static condition was checked,
thus making queue sharing still impossible.
Fixes: 22bf877e528f ("ice: introduce XDP_TX fallback path")
Signed-off-by: Larysa Zaremba <larysa.zaremba@intel.com>
Reviewed-by: Alexander Lobakin <alexandr.lobakin@intel.com>
Link: https://lore.kernel.org/r/20220919134346.25030-1-larysa.zaremba@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_switch.h')
0 files changed, 0 insertions, 0 deletions