aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/farch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/sfc/farch.c')
-rw-r--r--drivers/net/ethernet/sfc/farch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/sfc/farch.c b/drivers/net/ethernet/sfc/farch.c
index fbd923ddf546..378d6b968c4c 100644
--- a/drivers/net/ethernet/sfc/farch.c
+++ b/drivers/net/ethernet/sfc/farch.c
@@ -2184,8 +2184,8 @@ efx_farch_filter_to_gen_spec(struct efx_filter_spec *gen_spec,
2184} 2184}
2185 2185
2186static void 2186static void
2187efx_farch_filter_init_rx_for_stack(struct efx_nic *efx, 2187efx_farch_filter_init_rx_auto(struct efx_nic *efx,
2188 struct efx_farch_filter_spec *spec) 2188 struct efx_farch_filter_spec *spec)
2189{ 2189{
2190 /* If there's only one channel then disable RSS for non VF 2190 /* If there's only one channel then disable RSS for non VF
2191 * traffic, thereby allowing VFs to use RSS when the PF can't. 2191 * traffic, thereby allowing VFs to use RSS when the PF can't.
@@ -2547,7 +2547,7 @@ static int efx_farch_filter_remove(struct efx_nic *efx,
2547 return -ENOENT; 2547 return -ENOENT;
2548 2548
2549 if (spec->flags & EFX_FILTER_FLAG_RX_OVER_AUTO) { 2549 if (spec->flags & EFX_FILTER_FLAG_RX_OVER_AUTO) {
2550 efx_farch_filter_init_rx_for_stack(efx, spec); 2550 efx_farch_filter_init_rx_auto(efx, spec);
2551 efx_farch_filter_push_rx_config(efx); 2551 efx_farch_filter_push_rx_config(efx);
2552 } else { 2552 } else {
2553 efx_farch_filter_table_clear_entry(efx, table, filter_idx); 2553 efx_farch_filter_table_clear_entry(efx, table, filter_idx);
@@ -2815,7 +2815,7 @@ int efx_farch_filter_table_probe(struct efx_nic *efx)
2815 for (i = 0; i < EFX_FARCH_FILTER_SIZE_RX_DEF; i++) { 2815 for (i = 0; i < EFX_FARCH_FILTER_SIZE_RX_DEF; i++) {
2816 spec = &table->spec[i]; 2816 spec = &table->spec[i];
2817 spec->type = EFX_FARCH_FILTER_UC_DEF + i; 2817 spec->type = EFX_FARCH_FILTER_UC_DEF + i;
2818 efx_farch_filter_init_rx_for_stack(efx, spec); 2818 efx_farch_filter_init_rx_auto(efx, spec);
2819 __set_bit(i, table->used_bitmap); 2819 __set_bit(i, table->used_bitmap);
2820 } 2820 }
2821 } 2821 }