]> asedeno.scripts.mit.edu Git - linux.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)
commit4b89251de024fb85329e4cbd8fbea551ae6c665c
tree5c525be6a1ce7b011db17d1c2948e608f2981874
parent8da202b2491301648c5d0830a8d280a7a35bd4eb
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