]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Support ndo bridge_setlink and getlink
authorHuy Nguyen <huyn@mellanox.com>
Wed, 20 Feb 2019 03:40:34 +0000 (21:40 -0600)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 22 Feb 2019 21:38:25 +0000 (13:38 -0800)
commit77f279bce159d4e914950b51a12774b15c037541
tree5c525be6a1ce7b011db17d1c2948e608f2981874
parent014a8197ff7fe38e9e8d414dbe6063a5f7b54d18
net/mlx5: Support ndo bridge_setlink and getlink

Allow enabling VEPA mode on the HCA's port in legacy devlink mode.

Example:
bridge link set dev ens1f0 hwmode vepa
will turn on VEPA mode on the netdev ens1f0.

Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c