Commit 9386eeee authored by Stephen Hemminger's avatar Stephen Hemminger

[NET]: Document ->stop() method netdevice semantics.

parent ad87baec
...@@ -82,3 +82,13 @@ Probing guidelines: ...@@ -82,3 +82,13 @@ Probing guidelines:
1) Any hardware layer address you obtain for your device should 1) Any hardware layer address you obtain for your device should
be verified. For example, for ethernet check it with be verified. For example, for ethernet check it with
linux/etherdevice.h:is_valid_ether_addr() linux/etherdevice.h:is_valid_ether_addr()
Close/stop guidelines:
1) After the dev->stop routine has been called, the hardware must
not receive or transmit any data. All in flight packets must
be aborted. If necessary, poll or wait for completion of
any reset commands.
2) The dev->stop routine will be called by unregister_netdevice
if device is still UP.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment