diff options
author | Antoine Tenart <antoine.tenart@free-electrons.com> | 2017-08-30 10:29:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-30 15:17:46 -0700 |
commit | f55744adeee8598a05f0714b8fe9d131865ef060 (patch) | |
tree | 95f42ed27f11c85c1ad4033914ad10238f37b277 /drivers/net/ethernet/marvell/skge.h | |
parent | 968b211c620b567a4d2183beb0516cbd2c73560a (diff) |
net: mvpp2: improve the link management function
When the link status changes, the phylib calls the link_event function
in the mvpp2 driver. Before this patch only the egress/ingress transmit
was enabled/disabled. This patch adds more functionality to the link
status management code by enabling/disabling the port per-cpu
interrupts, and the port itself. The queues are now stopped as well, and
the netif carrier helpers are called.
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/skge.h')
0 files changed, 0 insertions, 0 deletions