Home
last modified time | relevance | path

Searched hist:c0cd1ba4f8bd8b5fef43bc51a2983673b8f086ff (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/
H A Dncsi.hdiff c0cd1ba4f8bd8b5fef43bc51a2983673b8f086ff Mon Oct 03 19:25:53 CDT 2016 Gavin Shan <gwshan@linux.vnet.ibm.com> net/ncsi: Introduce ncsi_stop_dev()

This introduces ncsi_stop_dev(), as counterpart to ncsi_start_dev(),
to stop the NCSI device so that it can be reenabled in future. This
API should be called when the network device driver is going to
shutdown the device. There are 3 things done in the function: Stop
the channel monitoring; Reset channels to inactive state; Report
NCSI link down.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/net/ncsi/
H A Dncsi-manage.cdiff c0cd1ba4f8bd8b5fef43bc51a2983673b8f086ff Mon Oct 03 19:25:53 CDT 2016 Gavin Shan <gwshan@linux.vnet.ibm.com> net/ncsi: Introduce ncsi_stop_dev()

This introduces ncsi_stop_dev(), as counterpart to ncsi_start_dev(),
to stop the NCSI device so that it can be reenabled in future. This
API should be called when the network device driver is going to
shutdown the device. There are 3 things done in the function: Stop
the channel monitoring; Reset channels to inactive state; Report
NCSI link down.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>