File tree Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Original file line number Diff line number Diff line change 44Softnet Driver Issues
55=====================
66
7+ Probing guidelines
8+ ==================
9+
10+ Address validation
11+ ------------------
12+
13+ Any hardware layer address you obtain for your device should
14+ be verified. For example, for ethernet check it with
15+ linux/etherdevice.h:is_valid_ether_addr()
16+
17+ Close/stop guidelines
18+ =====================
19+
20+ Quiescence
21+ ----------
22+
23+ After the ndo_stop routine has been called, the hardware must
24+ not receive or transmit any data. All in flight packets must
25+ be aborted. If necessary, poll or wait for completion of
26+ any reset commands.
27+
28+ Auto-close
29+ ----------
30+
31+ The ndo_stop routine will be called by unregister_netdevice
32+ if device is still UP.
33+
734Transmit path guidelines
835========================
936
@@ -89,30 +116,3 @@ to be freed up.
89116If you return NETDEV_TX_BUSY from the ndo_start_xmit method, you
90117must not keep any reference to that SKB and you must not attempt
91118to free it up.
92-
93- Probing guidelines
94- ==================
95-
96- Address validation
97- ------------------
98-
99- Any hardware layer address you obtain for your device should
100- be verified. For example, for ethernet check it with
101- linux/etherdevice.h:is_valid_ether_addr()
102-
103- Close/stop guidelines
104- =====================
105-
106- Quiescence
107- ----------
108-
109- After the ndo_stop routine has been called, the hardware must
110- not receive or transmit any data. All in flight packets must
111- be aborted. If necessary, poll or wait for completion of
112- any reset commands.
113-
114- Auto-close
115- ----------
116-
117- The ndo_stop routine will be called by unregister_netdevice
118- if device is still UP.
You can’t perform that action at this time.
0 commit comments