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 14C811B00B for ; Tue, 9 Jan 2018 16:00:16 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from xuemingl@mellanox.com) with ESMTPS (AES256-SHA encrypted); 9 Jan 2018 17:00:09 +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 w09F07Pf017506; Tue, 9 Jan 2018 17:00:09 +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 w09EBf01146304; Tue, 9 Jan 2018 22:11:41 +0800 Received: (from xuemingl@localhost) by dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7/Submit) id w09EBWsb146302; Tue, 9 Jan 2018 22:11:32 +0800 From: Xueming Li To: Olivier MATZ , Thomas Monjalon , Jingjing Wu , Yongseok Koh Cc: Xueming Li , Shahaf Shuler , dev@dpdk.org Date: Tue, 9 Jan 2018 22:11:04 +0800 Message-Id: <20180109141110.146250-1-xuemingl@mellanox.com> X-Mailer: git-send-email 2.13.3 Subject: [dpdk-dev] [PATCH 0/6] Support generic tunnel TX csum 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: Tue, 09 Jan 2018 15:00:16 -0000 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 (6): net/mlx5: support tx swp tunnel offloading net/mlx5: allow max 192B WQE TSO inline header length net/mlx5: add SWP PCI parameter for TX common tunnel offloads ethdev: introduce TX common tunnel offloads net/mlx5: support TX common tunnel offloads app/testpmd: testpmd support TX common tunnel offloads app/test-pmd/cmdline.c | 9 ++- app/test-pmd/config.c | 9 +++ drivers/net/mlx5/mlx5.c | 7 ++ drivers/net/mlx5/mlx5.h | 1 + drivers/net/mlx5/mlx5_defs.h | 2 +- drivers/net/mlx5/mlx5_ethdev.c | 3 +- drivers/net/mlx5/mlx5_prm.h | 12 +++ drivers/net/mlx5/mlx5_rxtx.c | 163 ++++++++++++++++++++++++++--------------- drivers/net/mlx5/mlx5_rxtx.h | 94 +++++++++++++++++++----- drivers/net/mlx5/mlx5_txq.c | 4 + lib/librte_ether/rte_ethdev.h | 9 +++ 11 files changed, 234 insertions(+), 79 deletions(-) -- 2.13.3