netdev
[Top] [All Lists]

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

To: netdev@xxxxxxxxxxx
Subject: [RFC 2.6.10 22/22] Add some documentation for the IPSEC crypto offload
From: David Dillow <dave@xxxxxxxxxxxxxx>
Date: Thu, 30 Dec 2004 03:48:38 -0500
Cc: linux-kernel@xxxxxxxxxxxxxxx, dave@xxxxxxxxxxxxxx
References: <20041230035000.30@xxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/12/30 01:06:37-05:00 dave@xxxxxxxxxxxxxx 
#   Add some documentation for the IPSEC crypto offload.
#   
#   Signed-off-by: David Dillow <dave@xxxxxxxxxxxxxx>
# 
# Documentation/networking/netdevices.txt
#   2004/12/30 01:06:19-05:00 dave@xxxxxxxxxxxxxx +16 -0
#   Add some documentation for the IPSEC crypto offload.
#   
#   Signed-off-by: David Dillow <dave@xxxxxxxxxxxxxx>
# 
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.

<Prev in Thread] Current Thread [Next in Thread>