Tell about xmit context.
[cascardo/kernel/slides/.git] / 15net / net
index 0a3d403..4e0b7e7 100644 (file)
--- a/15net/net
+++ b/15net/net
@@ -76,7 +76,8 @@
 # Transmission
 
 * ndo\\_start\\_xmit
-* called with a held lock
+* Called with softirqs disabled or in softirq context
+* Called with a held lock
 
 # Limits on transmission
 
 
 # Transmission timeout
 
+* Transmission may timeout after queue has been stopped
+* Current code already updates last time packet was transmitted
+* Driver should set watchdog\\_timeo and ndo\\_tx\\_timeout
+
 # NAPI
 
 # Changes in net device