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 A0B10A04B1; Mon, 16 Nov 2020 06:42:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 201D1C8C6; Mon, 16 Nov 2020 06:41:52 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2D1462BF1 for ; Mon, 16 Nov 2020 06:41:49 +0100 (CET) IronPort-SDR: bhh3iik1jkiSLaROeVayHQ/GwVeeoiBbyHT0AEej2tVlKlOqyYcqpGES5GKNZvdDWkDzhGAtfc nvvcIfoYSFtg== X-IronPort-AV: E=McAfee;i="6000,8403,9806"; a="170805950" X-IronPort-AV: E=Sophos;i="5.77,481,1596524400"; d="scan'208";a="170805950" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2020 21:41:46 -0800 IronPort-SDR: XcF1ZP6pwZP7DiJdLjjlfC+nYOOO8dMmyjdxyl9BHP+0kKDFgf5vW2X7EMRrCI98kELaqdgEzb zQk1Ry/WwkZg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,481,1596524400"; d="scan'208";a="475415581" Received: from unknown (HELO npg-dpdk-cvl-simeisu-118d193.sh.intel.com) ([10.67.119.195]) by orsmga004.jf.intel.com with ESMTP; 15 Nov 2020 21:41:44 -0800 From: Simei Su To: ferruh.yigit@intel.com, qi.z.zhang@intel.com Cc: dev@dpdk.org, junfeng.guo@intel.com, yahui.cao@intel.com, xiao.zhang@intel.com, Simei Su Date: Mon, 16 Nov 2020 13:32:37 +0800 Message-Id: <20201116053238.440870-2-simei.su@intel.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20201116053238.440870-1-simei.su@intel.com> References: <20201116053238.440870-1-simei.su@intel.com> Subject: [dpdk-dev] [PATCH v1 1/2] ethdev: add eCPRI RSS offload types 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" This patch defines new RSS offload types for eCPRI. For eCPRI with Message Type 0, the hash field is physical channel ID. Signed-off-by: Simei Su --- lib/librte_ethdev/rte_ethdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 69fc973..f5f8919 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -525,6 +525,7 @@ struct rte_eth_rss_conf { #define ETH_RSS_L2TPV3 (1ULL << 29) #define ETH_RSS_PFCP (1ULL << 30) #define ETH_RSS_PPPOE (1ULL << 31) +#define ETH_RSS_ECPRI (1ULL << 32) /* * We use the following macros to combine with above ETH_RSS_* for -- 2.9.5