From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 119C8A04FF; Tue, 22 Mar 2022 05:00:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DBBA5427ED; Tue, 22 Mar 2022 05:00:02 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 6B01A410E5 for ; Tue, 22 Mar 2022 05:00:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647921601; x=1679457601; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=cNjMclkrjHKY3WTguTC35dRokoF8AaBPZVKtEcvvCLE=; b=mHJDDuaY55kUnUIxtqkG1ePQam7bcS1PdyBwrHAgXz8RJy7mgE5CR7Qw PCO7V8h68YXhw1n5yiLieAR1ZyjhWF4DYWSk0iIdnzpxyl4/5vKAl1u0k zhQ1b3bulM1UvVivdNCqnR7ivJXMT5FZosj4f7AWVPx9r/RPxzlTtt5T0 n93JZpi65VZWohjrvgt4SDyKbjzOXtCC13Me8T/BChfQgUVUFMJ1ecjhC 40KIeA6l4YykLKRD+ffLw3kvHr+LEeLHQb7DLJQiC4jZsKALYSjJ694Ji PkQtUzNOkjzMYNp6mZUViv8/wpLwQ9VHwLBSZDnxEaCEk7ElR3qYe6kdm g==; X-IronPort-AV: E=McAfee;i="6200,9189,10293"; a="245189510" X-IronPort-AV: E=Sophos;i="5.90,200,1643702400"; d="scan'208";a="245189510" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2022 21:00:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,200,1643702400"; d="scan'208";a="543511959" Received: from npg-dpdk-xuan-cbdma.sh.intel.com ([10.67.110.228]) by orsmga007.jf.intel.com with ESMTP; 21 Mar 2022 20:59:57 -0700 From: xuan.ding@intel.com To: thomas@monjalon.net, ferruh.yigit@intel.com, andrew.rybchenko@oktetlabs.ru Cc: dev@dpdk.org, stephen@networkplumber.org, mb@smartsharesystems.com, viacheslavo@nvidia.com, qi.z.zhang@intel.com, ping.yu@intel.com, wenxuanx.wu@intel.com, Xuan Ding Subject: [RFC,v2 0/3] ethdev: introduce protocol type based header split Date: Tue, 22 Mar 2022 03:56:26 +0000 Message-Id: <20220322035629.18756-1-xuan.ding@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220303060136.36427-1-xuan.ding@intel.com> References: <20220303060136.36427-1-xuan.ding@intel.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Xuan Ding Header split consists of splitting a received packet into two separate regions based on the packet content. It is useful in some scenarios, such as GPU acceleration. The spliting will help to enable true zero copy and hence improve the performance significantly. This patchset extends the current buffer split to support protocol based header split. When Rx queue is configured with header split feature, packets received will be directly splited into two different mempools. Xuan Ding (3): ethdev: introduce protocol type based header split app/testpmd: add header split configuration net/ice: support header split in Rx data path app/test-pmd/cmdline.c | 117 ++++++++++++++ app/test-pmd/testpmd.c | 6 +- app/test-pmd/testpmd.h | 2 + drivers/net/ice/ice_ethdev.c | 10 +- drivers/net/ice/ice_rxtx.c | 220 ++++++++++++++++++++++---- drivers/net/ice/ice_rxtx.h | 16 ++ drivers/net/ice/ice_rxtx_vec_common.h | 3 + lib/ethdev/rte_ethdev.c | 24 +-- lib/ethdev/rte_ethdev.h | 43 ++++- 9 files changed, 397 insertions(+), 44 deletions(-) -- 2.17.1