From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 3296B6D45 for ; Mon, 5 Mar 2018 15:52:12 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from xuemingl@mellanox.com) with ESMTPS (AES256-SHA encrypted); 5 Mar 2018 16:52:36 +0200 Received: from dev-r630-06.mtbc.labs.mlnx (dev-r630-06.mtbc.labs.mlnx [10.12.205.180]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w25Eq8Jh022729; Mon, 5 Mar 2018 16:52:08 +0200 Received: from dev-r630-06.mtbc.labs.mlnx (localhost [127.0.0.1]) by dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7) with ESMTP id w25Eq6eH071929; Mon, 5 Mar 2018 22:52:06 +0800 Received: (from xuemingl@localhost) by dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7/Submit) id w25Epv0g071928; Mon, 5 Mar 2018 22:51:57 +0800 From: Xueming Li To: Wenzhuo Lu , Jingjing Wu , Thomas Monjalon , Yongseok Koh , Olivier MATZ , Shahaf Shuler Cc: Xueming Li , Ferruh Yigit , dev@dpdk.org Date: Mon, 5 Mar 2018 22:51:14 +0800 Message-Id: <20180305145121.71866-1-xuemingl@mellanox.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20180109141110.146250-2-xuemingl@mellanox.com> References: <20180109141110.146250-2-xuemingl@mellanox.com> Subject: [dpdk-dev] [PATCH v3 0/7] support generic tunnel Tx checksum and TSO 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: Mon, 05 Mar 2018 14:52:12 -0000 - Add VXLAN-GPE and GRE extention support to testpmd csum forwarding enginee - Split DEV_TX_OFFLOAD_GENERIC_TNL_CKSUM_TSO into DEV_TX_OFFLOAD_GENERIC_TNL_CKSUM and DEV_TX_OFFLOAD_GENERIC_TNL_TSO - Add PKT_TX_TUNNEL_UNKNOWN and PKT_TX_OUTER_UDP http://www.dpdk.org/dev/patchwork/patch/34655/ This patchset add new HW TX capability of generic tunnel checksum and TSO offloads, HW supporting generic tunnel offloading could handle new tunnel type offloading w/o upgrading HW. This is achieved by informing HW offsets and types of headers, HW would do calculation and TSO segments based on packet inner and outer headers offset regardless of tunnel type. Xueming Li (7): ethdev: introduce Tx generic tunnel L3/L4 offload app/testpmd: testpmd support Tx generic tunnel offloads app/testpmd: add more GRE extension to csum engine app/testpmd: introduce VXLAN GPE to csum forwarding engine net/mlx5: separate TSO function in Tx data path net/mlx5: support generic tunnel offloading net/mlx5: allow max 192B TSO inline header length app/test-pmd/cmdline.c | 9 +- app/test-pmd/config.c | 18 +++ app/test-pmd/csumonly.c | 117 +++++++++++++++++-- app/test-pmd/parameters.c | 12 +- app/test-pmd/testpmd.h | 2 + doc/guides/nics/mlx5.rst | 8 ++ doc/guides/testpmd_app_ug/run_app.rst | 5 + drivers/net/mlx5/Makefile | 5 + drivers/net/mlx5/mlx5.c | 28 ++++- drivers/net/mlx5/mlx5.h | 1 + drivers/net/mlx5/mlx5_defs.h | 2 +- drivers/net/mlx5/mlx5_ethdev.c | 4 +- drivers/net/mlx5/mlx5_prm.h | 24 ++++ drivers/net/mlx5/mlx5_rxtx.c | 208 ++++++++++++++++++++++++---------- drivers/net/mlx5/mlx5_rxtx.h | 98 ++++++++++++---- drivers/net/mlx5/mlx5_rxtx_vec.c | 9 +- drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 2 +- drivers/net/mlx5/mlx5_txq.c | 12 +- lib/librte_ether/rte_ethdev.h | 24 ++++ lib/librte_mbuf/rte_mbuf.c | 5 + lib/librte_mbuf/rte_mbuf.h | 18 ++- 22 files changed, 500 insertions(+), 113 deletions(-) -- 2.13.3