]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Support updating coalescing configuration without resetting channels
authorRahul Rameshbabu <rrameshbabu@nvidia.com>
Fri, 19 Apr 2024 08:04:44 +0000 (11:04 +0300)
committerJakub Kicinski <kuba@kernel.org>
Mon, 22 Apr 2024 21:22:16 +0000 (14:22 -0700)
commit445a25f6e1a2f6a132b06af6ede4f3c9b5f9af68
tree32a1ff0864dfe420c059a8ff3016251d163aac14
parenta5e89a3f353b931e917b77e7cf6719c8e8d64c54
net/mlx5e: Support updating coalescing configuration without resetting channels

When CQE mode or DIM state is changed, gracefully reconfigure channels to
handle new configuration. Previously, would create new channels that would
reflect the changes rather than update the original channels.

Co-developed-by: Nabil S. Alramli <dev@nalramli.com>
Signed-off-by: Nabil S. Alramli <dev@nalramli.com>
Co-developed-by: Joe Damato <jdamato@fastly.com>
Signed-off-by: Joe Damato <jdamato@fastly.com>
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20240419080445.417574-5-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
12 files changed:
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en/channels.c
drivers/net/ethernet/mellanox/mlx5/core/en/channels.h
drivers/net/ethernet/mellanox/mlx5/core/en/dim.h
drivers/net/ethernet/mellanox/mlx5/core/en/params.c
drivers/net/ethernet/mellanox/mlx5/core/en/params.h
drivers/net/ethernet/mellanox/mlx5/core/en_dim.c
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
include/linux/mlx5/cq.h
include/linux/mlx5/mlx5_ifc.h