]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Same max num channels for both nic and uplink profiles
authorSaeed Mahameed <saeedm@nvidia.com>
Mon, 23 Mar 2020 06:22:20 +0000 (23:22 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 16 Mar 2021 23:48:37 +0000 (16:48 -0700)
commit45958e2fe5d57405e763b0d840780f3cb1c3933b
tree7bdfee5525aa84af6bf0438493a65291e304402b
parent76dd5a0024addaed98077411942e816ba5a9d2c2
net/mlx5e: Same max num channels for both nic and uplink profiles

In downstream patches NIC netdev can change profile dynamically from
NIC mode to uplink mode and vise-versa. It is required that both profiles
must advertise the same max amount of tx/rx queues.

Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c