diff options
author | Alex Maftei (amaftei) <amaftei@solarflare.com> | 2020-01-10 14:28:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-10 20:24:37 +0100 |
commit | 960f16275bdf87d7bef59e5d446d0a2913b5f24a (patch) | |
tree | 638243be05667adfce5308f8ee61e3da75ac6f61 /drivers/net/ethernet/sfc/rx_common.h | |
parent | sfc: move a couple more functions (diff) | |
download | linux-960f16275bdf87d7bef59e5d446d0a2913b5f24a.tar.xz linux-960f16275bdf87d7bef59e5d446d0a2913b5f24a.zip |
sfc: move RSS code
Style fixes included.
Signed-off-by: Alexandru-Mihai Maftei <amaftei@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/rx_common.h')
-rw-r--r-- | drivers/net/ethernet/sfc/rx_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/rx_common.h b/drivers/net/ethernet/sfc/rx_common.h index aa6aeafbc439..4d2e7d38e260 100644 --- a/drivers/net/ethernet/sfc/rx_common.h +++ b/drivers/net/ethernet/sfc/rx_common.h @@ -68,4 +68,10 @@ void efx_fast_push_rx_descriptors(struct efx_rx_queue *rx_queue, bool atomic); void efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, unsigned int n_frags, u8 *eh); + +struct efx_rss_context *efx_alloc_rss_context_entry(struct efx_nic *efx); +struct efx_rss_context *efx_find_rss_context_entry(struct efx_nic *efx, u32 id); +void efx_free_rss_context_entry(struct efx_rss_context *ctx); +void efx_set_default_rx_indir_table(struct efx_nic *efx, + struct efx_rss_context *ctx); #endif |