summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/siena/rx_common.h
diff options
context:
space:
mode:
authorEdward Cree <ecree.xilinx@gmail.com>2024-09-04 19:11:56 +0100
committerJakub Kicinski <kuba@kernel.org>2024-09-06 18:22:17 -0700
commit32b81e4f0e5d8a50c2bd34e9d61dd52b5d82856f (patch)
tree263e3d8c544d58d57ce1e30e16703e73a5867be5 /drivers/net/ethernet/sfc/siena/rx_common.h
parent5953711258c7a50393706ab42bc6562f569f762b (diff)
sfc: siena: rip out rss-context dead code
Siena hardware does not support custom RSS contexts, but when the driver was forked from sfc.ko, some of the plumbing for them was copied across from the common code. Actually trying to use them would lead to EOPNOTSUPP as the relevant efx_nic_type methods were not populated. Remove this dead code from the Siena driver. Signed-off-by: Edward Cree <ecree.xilinx@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20240904181156.1993666-1-edward.cree@amd.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/sfc/siena/rx_common.h')
-rw-r--r--drivers/net/ethernet/sfc/siena/rx_common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/sfc/siena/rx_common.h b/drivers/net/ethernet/sfc/siena/rx_common.h
index 6b37f83ecb30..f90a8320d396 100644
--- a/drivers/net/ethernet/sfc/siena/rx_common.h
+++ b/drivers/net/ethernet/sfc/siena/rx_common.h
@@ -78,10 +78,6 @@ efx_siena_rx_packet_gro(struct efx_channel *channel,
struct efx_rx_buffer *rx_buf,
unsigned int n_frags, u8 *eh, __wsum csum);
-struct efx_rss_context *efx_siena_alloc_rss_context_entry(struct efx_nic *efx);
-struct efx_rss_context *efx_siena_find_rss_context_entry(struct efx_nic *efx,
- u32 id);
-void efx_siena_free_rss_context_entry(struct efx_rss_context *ctx);
void efx_siena_set_default_rx_indir_table(struct efx_nic *efx,
struct efx_rss_context *ctx);