OSDN Git Service

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)
commitf031dbd530eae5db3ff03510207772df68f5d9e6
tree7bdfee5525aa84af6bf0438493a65291e304402b
parent7a126a43a3dcf0fa6b9f7f2fe3ce82102517afe3
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