diff options
author | Andy Moreton <andy.moreton@amd.com> | 2022-09-22 22:12:18 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-23 20:57:14 -0700 |
commit | b7ca8d5f56e6c57b671ceb8de1361d2a5a495087 (patch) | |
tree | b96fa95bbd8b7b75f7c15a8c4712c1cbaf588e6d | |
parent | 6bf8e846e4bf336db7e451a6b42ca8c02f99fb0f (diff) | |
download | lwn-b7ca8d5f56e6c57b671ceb8de1361d2a5a495087.tar.gz lwn-b7ca8d5f56e6c57b671ceb8de1361d2a5a495087.zip |
sfc: correct filter_table_remove method for EF10 PFs
A previous patch added a wrapper function to take a lock around
efx_mcdi_filter_table_remove(), but only changed EF10 VFs' method table
to call it. Change it in the PF method table too.
Fixes: 77eb40749d73 ("sfc: move table locking into filter_table_{probe,remove} methods")
Signed-off-by: Andy Moreton <andy.moreton@amd.com>
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Link: https://lore.kernel.org/r/20220922211218.814-1-ecree@xilinx.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | drivers/net/ethernet/sfc/ef10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/ef10.c b/drivers/net/ethernet/sfc/ef10.c index ee734b69150f..d1e1aa19a68e 100644 --- a/drivers/net/ethernet/sfc/ef10.c +++ b/drivers/net/ethernet/sfc/ef10.c @@ -4213,7 +4213,7 @@ const struct efx_nic_type efx_hunt_a0_nic_type = { .ev_test_generate = efx_ef10_ev_test_generate, .filter_table_probe = efx_ef10_filter_table_probe, .filter_table_restore = efx_mcdi_filter_table_restore, - .filter_table_remove = efx_mcdi_filter_table_remove, + .filter_table_remove = efx_ef10_filter_table_remove, .filter_update_rx_scatter = efx_mcdi_update_rx_scatter, .filter_insert = efx_mcdi_filter_insert, .filter_remove_safe = efx_mcdi_filter_remove_safe, |