From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 7BA841C876 for ; Fri, 11 May 2018 19:14:06 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 May 2018 10:14:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,389,1520924400"; d="scan'208";a="198600463" Received: from awal-z170x.ir.intel.com ([163.33.210.59]) by orsmga004.jf.intel.com with ESMTP; 11 May 2018 10:14:05 -0700 From: Mohammad Abdul Awal To: dev@dpdk.org, bernard.iremonger@intel.com, adrien.mazarguil@6wind.com Date: Fri, 11 May 2018 18:14:01 +0100 Message-Id: <1526058841-31650-3-git-send-email-mohammad.abdul.awal@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526058841-31650-1-git-send-email-mohammad.abdul.awal@intel.com> References: <1526058841-31650-1-git-send-email-mohammad.abdul.awal@intel.com> Subject: [dpdk-dev] [PATCH v2 2/2] doc/guides: updated testpmd app user guide for vxlan/nvgre encap/decap 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: , X-List-Received-Date: Fri, 11 May 2018 17:14:07 -0000 Updated the testpmd user guide documentation with how to used new action types RTE_FLOW_ACTION_VXLAN_ENCAP, RTE_FLOW_ACTION_VXLAN_DECAP, RTE_FLOW_ACTION_NVGRE_ENCAP, RTE_FLOW_ACTION_NVGRE_DECAP capabilities. Signed-off-by: Mohammad Abdul Awal --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 50 +++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 542c217..6ee3ff3 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -3559,6 +3559,56 @@ This section lists supported actions and their attributes, if any. - ``ethertype``: Ethertype. +- ``vxlan_encap``: encapsulate the inner flow with pattern of headers + according to RFC7348. + + - ``eth_dst {MAC-48}``: outer ether destination. + + - ``eth_src {MAC-48}``: outer ether source. + + - ``eth_type {unsigned}``: outer ether type. + + - ``vlan_tci {unsigned}``: outer vlan tci. + + - ``ipv4_dst {ipv4 address}``: outer ipv4 destination. + + - ``ipv4_src {ipv4 address}``: outer ipv4 source. + + - ``ipv4_proto {unsigned}``: outer ipv4 proto. + + - ``udp_dst {unsigned}``: outer udp destination. + + - ``udp_src {unsigned}``: outer udp source. + + - ``vxlan_vni {unsigned}``: outer vxlan vni. + + - ``end``: outer vxlan header pattern end. + +- ``vxlan_decap``: decapsulate the vxlan tunnel flow according to RFC7348. + +- ``nvgre_encap``: encapsulate the inner flow with pattern of headers + according to RFC7637. + + - ``eth_dst {MAC-48}``: outer ether destination. + + - ``eth_src {MAC-48}``: outer ether source. + + - ``eth_type {unsigned}``: outer ether type. + + - ``vlan_tci {unsigned}``: outer vlan tci. + + - ``ipv4_dst {ipv4 address}``: outer ipv4 destination. + + - ``ipv4_src {ipv4 address}``: outer ipv4 source. + + - ``ipv4_proto {unsigned}``: outer ipv4 proto. + + - ``nvgre_vsni {unsigned}``: outer nvgre vsni. + + - ``end``: outer nvgre header pattern end. + +- ``nvgre_decap``: decapsulate the nvgre tunnel flow according to RFC7637. + Destroying flow rules ~~~~~~~~~~~~~~~~~~~~~ -- 2.7.4