From patchwork Wed Nov 18 01:34:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simei Su X-Patchwork-Id: 84282 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC1DDA04E6; Wed, 18 Nov 2020 02:44:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0804CC8B4; Wed, 18 Nov 2020 02:44:14 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 1A110567C for ; Wed, 18 Nov 2020 02:44:10 +0100 (CET) IronPort-SDR: 1pMWAxan3WcDpoSSGTP22Oh/0V7Ia3X42kayqYgocJycftJhfzVPaVMd3e4OoxOZVC/fBQqT0u hmW1Co96Itjw== X-IronPort-AV: E=McAfee;i="6000,8403,9808"; a="232662675" X-IronPort-AV: E=Sophos;i="5.77,486,1596524400"; d="scan'208";a="232662675" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2020 17:44:10 -0800 IronPort-SDR: f1YGHNtuc04WVZ6u7vn3mmVu6kirixQSHAMy1pe7GSwk5l3I9xym926jrqkuHkRUSiSE5cQJWc 0TPz5U4UmvDg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,486,1596524400"; d="scan'208";a="534030796" Received: from unknown (HELO npg-dpdk-cvl-simeisu-118d193.sh.intel.com) ([10.67.119.195]) by fmsmga005.fm.intel.com with ESMTP; 17 Nov 2020 17:44:08 -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: Wed, 18 Nov 2020 09:34:48 +0800 Message-Id: <20201118013449.106762-2-simei.su@intel.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20201118013449.106762-1-simei.su@intel.com> References: <20201116053238.440870-1-simei.su@intel.com> <20201118013449.106762-1-simei.su@intel.com> Subject: [dpdk-dev] [PATCH v2 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 Reviewed-by: Ferruh Yigit --- 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