Skip to contentSkip to conversation

sfc: correct filter_table_remove method for EF10 PFs

PATCH Applied [email protected] 2 participants 2 messages Sep 22, 2022 – Sep 24, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sfc: correct filter_table_remove method for EF10 PFs

From: Andy Moreton <[email protected]>

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")
---
 drivers/net/ethernet/sfc/ef10.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/sfc/ef10.c +1 -1
index ee734b69150f..d1e1aa19a68e 100644
@@ -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,
#1 lore raw
This patch was applied to netdev/net.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <[email protected]>:

Quoted 11 lines · On Thu, 22 Sep 2022 22:12:18 +0100 you wrote:

From: Andy Moreton <[email protected]>

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")

[...]

Here is the summary with links:
- [net] sfc: correct filter_table_remove method for EF10 PFs

    https://git.kernel.org/netdev/net/c/b7ca8d5f56e6

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html