From patchwork Thu Nov 9 12:29:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Radu Nicolau X-Patchwork-Id: 31297 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 679961B67B; Thu, 9 Nov 2017 13:34:08 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 93BB21B67A for ; Thu, 9 Nov 2017 13:34:06 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP; 09 Nov 2017 04:34:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,369,1505804400"; d="scan'208";a="2966230" Received: from silpixa00383879.ir.intel.com (HELO silpixa00383879.ger.corp.intel.com) ([10.237.223.127]) by orsmga001.jf.intel.com with ESMTP; 09 Nov 2017 04:34:03 -0800 From: Radu Nicolau To: dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@intel.com, wenzhuo.lu@intel.com, konstantin.ananyev@intel.com, pablo.de.lara.guarch@intel.com, Radu Nicolau Date: Thu, 9 Nov 2017 12:29:42 +0000 Message-Id: <1510230582-12272-1-git-send-email-radu.nicolau@intel.com> X-Mailer: git-send-email 2.7.5 In-Reply-To: <1510230182-9550-1-git-send-email-radu.nicolau@intel.com> References: <1510230182-9550-1-git-send-email-radu.nicolau@intel.com> Subject: [dpdk-dev] [PATCH v3] doc: added inline crypto feature X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Radu Nicolau --- v2: removed useless anchor and updated ixgbe doc v3: removed trailing whitespaces and added line break doc/guides/nics/features.rst | 15 +++++++++++++++ doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/ixgbe.ini | 2 ++ doc/guides/nics/features/ixgbe_vec.ini | 2 ++ doc/guides/nics/features/ixgbe_vf.ini | 2 ++ doc/guides/nics/features/ixgbe_vf_vec.ini | 2 ++ doc/guides/nics/ixgbe.rst | 16 ++++++++++++++++ 7 files changed, 40 insertions(+) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index bfeae80..c1c3907 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -900,6 +900,21 @@ Documentation describes performance values. See ``dpdk.org/doc/perf/*``. +Inline crypto +------------- + +Supports inline crypto processing (eg. inline IPsec). See Security library and PMD documentation for more details. + +* **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_SECURITY``, +* **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_SECURITY``. +* **[implements] rte_security_ops**: ``session_create``, ``session_update``, + ``session_stats_get``, ``session_destroy``, ``set_pkt_metadata``, ``capabilities_get``. +* **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``, + ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``. +* **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``, + ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``, ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``. + + .. _nic_features_other: diff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/features/default.ini index dc527dd..9ef6a2a 100644 --- a/doc/guides/nics/features/default.ini +++ b/doc/guides/nics/features/default.ini @@ -77,3 +77,4 @@ Usage doc = Design doc = Perf doc = Mbuf fast free = +Inline crypto = diff --git a/doc/guides/nics/features/ixgbe.ini b/doc/guides/nics/features/ixgbe.ini index 9ff5d8f..900840f 100644 --- a/doc/guides/nics/features/ixgbe.ini +++ b/doc/guides/nics/features/ixgbe.ini @@ -58,3 +58,5 @@ Linux VFIO = Y ARMv8 = Y x86-32 = Y x86-64 = Y +Inline crypto = Y + diff --git a/doc/guides/nics/features/ixgbe_vec.ini b/doc/guides/nics/features/ixgbe_vec.ini index 4d56df4..5e32c08 100644 --- a/doc/guides/nics/features/ixgbe_vec.ini +++ b/doc/guides/nics/features/ixgbe_vec.ini @@ -47,3 +47,5 @@ Linux VFIO = Y ARMv8 = Y x86-32 = Y x86-64 = Y +Inline crypto = Y + diff --git a/doc/guides/nics/features/ixgbe_vf.ini b/doc/guides/nics/features/ixgbe_vf.ini index b63e32c..f217b09 100644 --- a/doc/guides/nics/features/ixgbe_vf.ini +++ b/doc/guides/nics/features/ixgbe_vf.ini @@ -37,3 +37,5 @@ Linux VFIO = Y ARMv8 = Y x86-32 = Y x86-64 = Y +Inline crypto = Y + diff --git a/doc/guides/nics/features/ixgbe_vf_vec.ini b/doc/guides/nics/features/ixgbe_vf_vec.ini index c994857..9549aab 100644 --- a/doc/guides/nics/features/ixgbe_vf_vec.ini +++ b/doc/guides/nics/features/ixgbe_vf_vec.ini @@ -29,3 +29,5 @@ Linux VFIO = Y ARMv8 = Y x86-32 = Y x86-64 = Y +Inline crypto = Y + diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index c687c63..c0f88ba 100644 --- a/doc/guides/nics/ixgbe.rst +++ b/doc/guides/nics/ixgbe.rst @@ -239,6 +239,22 @@ There is no RTE API to add a VF's MAC address from the PF. On ixgbe, the as a workaround. +Inline crypto processing support +--------------------------- + +Inline IPsec processing is supported for ``RTE_SECURITY_ACTION_TYPE_INLINE_CRYPTO`` +mode for ESP packets only: + +- ESP authentication only: AES-128-GMAC (128-bit key) +- ESP encryption and authentication: AES-128-GCM (128-bit key) + +IPsec Security Gateway Sample Application supports inline IPsec processing for +ixgbe PMD. + +For more details see the IPsec Security Gateway Sample Application and Security +library documentation. + + Supported Chipsets and NICs ---------------------------