]> www.infradead.org Git - users/hch/misc.git/commit
octeontx2-pf: Reconfigure RSS table after enabling AF_XDP zerocopy on rx queue
authorSuman Ghosh <sumang@marvell.com>
Thu, 13 Feb 2025 05:31:39 +0000 (11:01 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 18 Feb 2025 10:36:27 +0000 (11:36 +0100)
commit25b07c1a869457fb1fcbbb744123d4ab05666709
tree47998725253feb29de97e4328e18290e1e5f22ac
parentefabce29015189cb5cd8066cf29eb1d754de6c3c
octeontx2-pf: Reconfigure RSS table after enabling AF_XDP zerocopy on rx queue

RSS table needs to be reconfigured once a rx queue is enabled or
disabled for AF_XDP zerocopy support. After enabling UMEM on a rx queue,
that queue should not be part of RSS queue selection algorithm.
Similarly the queue should be considered again after UMEM is disabled.

Signed-off-by: Suman Ghosh <sumang@marvell.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c