[RFC 2.6.10 22/22] Add some documentation for the IPSEC crypto offload

David Dillow
2004-12-30T09:09:53Z

# 2004/12/30 01:06:37-05:00 dave@thedillows.org
# Add some documentation for the IPSEC crypto offload.
#
# Signed-off-by: David Dillow <dave@thedillows.org>
#
# Documentation/networking/netdevices.txt
# 2004/12/30 01:06:19-05:00 dave@thedillows.org +16 -0
# Add some documentation for the IPSEC crypto offload.
#
# Signed-off-by: David Dillow <dave@thedillows.org>
#
diff -Nru a/Documentation/networking/netdevices.txt b/Documentation/networking/netdevices.txt
--- a/Documentation/networking/netdevices.txt 2004-12-30 01:07:40 -05:00
+++ b/Documentation/networking/netdevices.txt 2004-12-30 01:07:40 -05:00
@@ -73,3 +73,19 @@
dev_close code and comments in net/core/dev.c for more info.
Context: softirq

+dev->xfrm_state_add:
+ Synchronization: None, but can be called inside dev_base_lock rwlock
+ Context: nominally process, but don't sleep inside an rwlock
+ Notes: Only called for inbound xfrm_state(s). Can be invoked during
+ xfrm_accel_add() call.
+
+dev->xfrm_state_del:
+ Synchronization: None, but can be called inside dev->xmit_lock spinlock.
+ Context: BHs disabled/softirq
+ Notes: Called for all offloaded xfrm_state(s). Can be invoked during
+ xfrm_accel_flush() call.
+
+dev->xfrm_bundle_add:
+ Synchronization: None
+ Context: softirq/process
+ Notes: Called for newly created outbound xfrm bundles.