]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b630b087a5706fe606da012c6c6053c5e8e7d94
tree2b1d757bb24bdfc4d5de9da0cc8faeadb91d8686
parent7b2f7a13a66f4674e427aa92e8102af18bc6f3d5
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