diff mbox series

ixgbe: add ipsec hw offload note to ixgbe Documentation

Message ID 1540853652-5081-1-git-send-email-shannon.nelson@oracle.com
State Accepted
Delegated to: Jeff Kirsher
Headers show
Series ixgbe: add ipsec hw offload note to ixgbe Documentation | expand

Commit Message

Shannon Nelson Oct. 29, 2018, 10:54 p.m. UTC
Add a short note about using IPsec Hardware Offload with
the ixgbe driver.

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
---
 Documentation/networking/ixgbe.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Bowers, AndrewX Oct. 31, 2018, 9:38 p.m. UTC | #1
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On
> Behalf Of Shannon Nelson
> Sent: Monday, October 29, 2018 3:54 PM
> To: intel-wired-lan@lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] ixgbe: add ipsec hw offload note to ixgbe
> Documentation
> 
> Add a short note about using IPsec Hardware Offload with the ixgbe driver.
> 
> Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
> ---
>  Documentation/networking/ixgbe.rst | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)

Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
diff mbox series

Patch

diff --git a/Documentation/networking/ixgbe.rst b/Documentation/networking/ixgbe.rst
index 725fc69..e5936dc 100644
--- a/Documentation/networking/ixgbe.rst
+++ b/Documentation/networking/ixgbe.rst
@@ -501,6 +501,20 @@  NOTE: This feature can be disabled for a specific Virtual Function (VF)::
 
   ip link set <pf dev> vf <vf id> spoofchk {off|on}
 
+IPsec Offload
+-------------
+The ixgbe driver supports IPsec Hardware Offload.  When creating Security
+Associations with "ip xfrm ..." the 'offload' tag option can be used to
+register the IPsec SA with the driver in order to get higher throughput in
+the secure communications.
+
+The offload is also supported for ixgbe's VFs, but the VF must be set as
+'trusted' and the support must be enabled with::
+
+  ethtool --set-priv-flags eth<x> vf-ipsec on
+  ip link set eth<x> vf <y> trust on
+
+
 
 Known Issues/Troubleshooting
 ============================