net/mlx5e: Send PAOS command on interface up/down
authorEran Ben Elisha <eranbe@mellanox.com>
Sun, 5 Feb 2017 15:57:40 +0000 (17:57 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 20 Aug 2017 09:57:19 +0000 (12:57 +0300)
commit63bfd399de55e09369e5ab344d1fb7f86ed73bab
tree2b1d757bb24bdfc4d5de9da0cc8faeadb91d8686
parentd6e1e46f69fbe956e877cdd00dbfb002baddf577
net/mlx5e: Send PAOS command on interface up/down

Upon interface up/down, driver will send PAOS (Ports Administrative and
Operational Status Register) in order to inform the Firmware on the
desired status of the port by the driver.

Since now we might change physical link status on mlx5e_open/close,
logical VF representor should not use mlx5e_open/close ndos as is, and
should call the logical version mlx5e_open/closed_locked.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c