From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B6365A0553; Mon, 17 Feb 2020 16:23:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 83F171DA9F; Mon, 17 Feb 2020 16:23:02 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id C0E951DA9E for ; Mon, 17 Feb 2020 16:23:00 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01HF6cKR025936; Mon, 17 Feb 2020 07:22:59 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0818; bh=Zy+RMWxqWZZB9VtjmBPzb8ASkmiob/L0sjWVRGcbHtE=; b=Jle+cRufOgu9o/9oRVIgB2rVr4Ib+ZGCBlmSDfV5TEIkanUVY6QdxiWgtf0cKegLWwhW CDoq9IAYlsnn3S/pqtqwxe/FDD+jMdnqrH/2SLR9uMPRxGxSatcsJ4tQ0npVRtihqyll 0rVU6YIt26Ng852C24/xsLUQo4KUuAbDTG+KoKOeOZ5buCbh0i4jUIksKatAsbHdGKr3 NUGqbO+lCR4mBU47XBqvldhJ8XRamW2C4BTEPtc6vwb3TixF/gOBZ3TpyGQ2UqBTQ8IE QPlr0xFjhK+z7HC4/ISlrVtoE2i7cIfy9Gyyfnu5YHJWOf7TGTYdH5vs+dnDcbKm5ssK HQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2y6evv7s1y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 17 Feb 2020 07:22:59 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 17 Feb 2020 07:22:58 -0800 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 17 Feb 2020 07:22:58 -0800 Received: from ajoseph83.caveonetworks.com (ajoseph83.caveonetworks.com [10.29.45.60]) by maili.marvell.com (Postfix) with ESMTP id 32D6C3F703F; Mon, 17 Feb 2020 07:22:55 -0800 (PST) From: Anoob Joseph To: Akhil Goyal , Ferruh Yigit , Thomas Monjalon CC: Anoob Joseph , Jerin Jacob , Narayana Prasad , Date: Mon, 17 Feb 2020 20:52:43 +0530 Message-ID: <1581952963-18745-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1575960780-1171-1-git-send-email-anoobj@marvell.com> References: <1575960780-1171-1-git-send-email-anoobj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-17_10:2020-02-17, 2020-02-17 signatures=0 Subject: [dpdk-dev] [PATCH v2] doc: add inline protocol in feature list 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" Update feature list to include inline protocol offload. Signed-off-by: Anoob Joseph --- doc/guides/nics/features.rst | 27 ++++++++++++++++++++++++++- doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/octeontx2.ini | 1 + 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index 8394a65..edd21c4 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -421,7 +421,9 @@ Supports adding traffic mirroring rules. Inline crypto ------------- -Supports inline crypto processing (e.g. inline IPsec). See Security library and PMD documentation for more details. +Supports inline crypto processing defined by rte_security library to perform crypto +operations of security protocol while packet is received in NIC. NIC is not aware +of protocol operations. 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``. @@ -431,6 +433,29 @@ Supports inline crypto processing (e.g. inline IPsec). See Security library and ``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``. +* **[provides] rte_security_ops, capabilities_get**: ``action: RTE_SECURITY_ACTION_TYPE_INLINE_CRYPTO`` + + +.. _nic_features_inline_protocol_doc: + +Inline protocol +--------------- + +Supports inline protocol processing defined by rte_security library to perform +protocol processing for the security protocol (e.g. IPsec, MACSEC) while the +packet is received at NIC. The NIC is capable of understanding the security +protocol operations. 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``, ``get_userdata``, + ``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``. +* **[provides] rte_security_ops, capabilities_get**: ``action: RTE_SECURITY_ACTION_TYPE_INLINE_PROTOCOL`` .. _nic_features_crc_offload: diff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/features/default.ini index 91ec619..4d0ad32 100644 --- a/doc/guides/nics/features/default.ini +++ b/doc/guides/nics/features/default.ini @@ -42,6 +42,7 @@ Flow API = Rate limitation = Traffic mirroring = Inline crypto = +Inline protocol = CRC offload = VLAN offload = QinQ offload = diff --git a/doc/guides/nics/features/octeontx2.ini b/doc/guides/nics/features/octeontx2.ini index c2a3f47b..473fe56 100644 --- a/doc/guides/nics/features/octeontx2.ini +++ b/doc/guides/nics/features/octeontx2.ini @@ -27,6 +27,7 @@ RSS hash = Y RSS key update = Y RSS reta update = Y Inner RSS = Y +Inline protocol = Y VLAN filter = Y Flow control = Y Flow API = Y -- 2.7.4