]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: E-Switch, Make vport number u16
authorParav Pandit <parav@nvidia.com>
Tue, 2 Mar 2021 19:27:47 +0000 (21:27 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 14 Apr 2021 18:02:32 +0000 (11:02 -0700)
commit6308a5f06be08f3ea1f1a895a9ef54c7b65c4c35
tree097acf44920b77798ce3d5f0baf9be7ad4d7c7b8
parent7d5ae47891929235c4a269b91996ab951cbf3c20
net/mlx5: E-Switch, Make vport number u16

Vport number is 16-bit field in hardware. Make it u16.

Move location of vport in the structure so that it reduces a hole
in the structure.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
include/linux/mlx5/eswitch.h