]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5e: Support VF vport link state control for SRIOV switchdev mode
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 22 Nov 2016 21:09:56 +0000 (23:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Nov 2016 21:01:14 +0000 (16:01 -0500)
commit20a1ea6747836e841feb1941892b9baa1dbcd0fb
tree12b76498e487d056a7f407b33e1b91ed95fd3f1a
parent370bad0f9a5261da0ef0bc76705f5b0b8af148ab
net/mlx5e: Support VF vport link state control for SRIOV switchdev mode

Reflect the administative link changes done on the VF representor to the
VF e-switch vport. This means that doing ip link set down/up commands on
the VF rep will modify the e-switch vport state which in turn will make
proper VF drivers to set their carrier accordingly.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c