]> 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)
commit79426abe8a1c42894300bcb5820fe84d422ede12
tree2b1d757bb24bdfc4d5de9da0cc8faeadb91d8686
parenta8b48ae7ee7f9f5b33476b54f443e751f52ae26d
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