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 8A90BA0519; Fri, 3 Jul 2020 15:51:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 692081DBB6; Fri, 3 Jul 2020 15:51:06 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 8FA221DABD for ; Fri, 3 Jul 2020 15:51:04 +0200 (CEST) IronPort-SDR: sJLRGF1q8XVziiDydq4mH7dYv2qztFJNhIwbJ6WCQ0tLdvcF9NnaMTWtH3iDCR9QM92WZPvI0H QpyuRO/lEA4A== X-IronPort-AV: E=McAfee;i="6000,8403,9670"; a="232012669" X-IronPort-AV: E=Sophos;i="5.75,308,1589266800"; d="scan'208";a="232012669" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2020 06:51:03 -0700 IronPort-SDR: mU1AFMYW/tg8x6cJfFMgg/kVI5x1judc6oUUn5voQqrxboBgZZoI2WOLCVxXLkhSXQMX2O1f+V bCtXaAqoNWtg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,308,1589266800"; d="scan'208";a="322424675" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga007.jf.intel.com with ESMTP; 03 Jul 2020 06:51:02 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 3 Jul 2020 06:51:02 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 3 Jul 2020 06:51:02 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.89]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0439.000; Fri, 3 Jul 2020 21:50:59 +0800 From: "Zhang, Qi Z" To: "Su, Simei" , "Xing, Beilei" CC: "dev@dpdk.org" , "Guo, Jia" , "Guo, Junfeng" Thread-Topic: [PATCH v2 1/3] ethdev: add new RSS offload types Thread-Index: AQHWUC9k+fFSJYHCB0G3RRlM6VMEnqj14YSA Date: Fri, 3 Jul 2020 13:50:58 +0000 Message-ID: <039ED4275CED7440929022BC67E706115484BA91@SHSMSX103.ccr.corp.intel.com> References: <1591928407-314618-1-git-send-email-simei.su@intel.com> <1593666710-343445-1-git-send-email-simei.su@intel.com> <1593666710-343445-2-git-send-email-simei.su@intel.com> In-Reply-To: <1593666710-343445-2-git-send-email-simei.su@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 1/3] ethdev: add new 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" > -----Original Message----- > From: Su, Simei > Sent: Thursday, July 2, 2020 1:12 PM > To: Zhang, Qi Z ; Xing, Beilei > Cc: dev@dpdk.org; Guo, Jia ; Guo, Junfeng > ; Su, Simei > Subject: [PATCH v2 1/3] ethdev: add new RSS offload types >=20 > This patch defines new RSS offload types for PPPoE. Typically, session id > would be the RSS input set for a PPPoE packet, but as a hint, each driver= may > have different default behaviors. >=20 > Signed-off-by: Simei Su > --- > lib/librte_ethdev/rte_ethdev.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethde= v.h > index a49242b..631b146 100644 > --- a/lib/librte_ethdev/rte_ethdev.h > +++ b/lib/librte_ethdev/rte_ethdev.h > @@ -521,7 +521,7 @@ struct rte_eth_rss_conf { > #define ETH_RSS_AH (1ULL << 28) > #define ETH_RSS_L2TPV3 (1ULL << 29) > #define ETH_RSS_PFCP (1ULL << 30) > - > +#define ETH_RSS_PPPOE (1ULL << 31) >=20 > /* > * We use the following macros to combine with above ETH_RSS_* for > -- > 1.8.3.1 Reviewed-by: Qi Zhang