Skip to content

Commit 862a86f

Browse files
committed
mlx5: Add support for persistent NAPI config
JIRA: https://issues.redhat.com/browse/RHEL-77816 Upstream Status: net.git commit 2a3372c commit 2a3372c Author: Joe Damato <jdamato@fastly.com> Date: Fri Oct 11 18:45:03 2024 +0000 mlx5: Add support for persistent NAPI config Use netif_napi_add_config to assign persistent per-NAPI config when initializing NAPIs. Signed-off-by: Joe Damato <jdamato@fastly.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Link: https://patch.msgid.link/20241011184527.16393-9-jdamato@fastly.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Davide Caratti <dcaratti@redhat.com>
1 parent 2b02837 commit 862a86f

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2704,7 +2704,7 @@ static int mlx5e_open_channel(struct mlx5e_priv *priv, int ix,
27042704
c->aff_mask = irq_get_effective_affinity_mask(irq);
27052705
c->lag_port = mlx5e_enumerate_lag_port(mdev, ix);
27062706

2707-
netif_napi_add(netdev, &c->napi, mlx5e_napi_poll);
2707+
netif_napi_add_config(netdev, &c->napi, mlx5e_napi_poll, ix);
27082708
netif_napi_set_irq(&c->napi, irq);
27092709

27102710
err = mlx5e_open_queues(c, params, cparam);

0 commit comments

Comments
 (0)