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 504A1A0540; Thu, 16 Jul 2020 05:33:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 86F941BE95; Thu, 16 Jul 2020 05:33:43 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 0221D2C30 for ; Thu, 16 Jul 2020 05:33:41 +0200 (CEST) IronPort-SDR: OSnhxlHlMnMBG9SbQtpd2o92PTQbyDzQpR93zC69RsIXO021vK2AuU8S1rM367LYVVEcH0S82x L7OMT3044NBQ== X-IronPort-AV: E=McAfee;i="6000,8403,9683"; a="128880852" X-IronPort-AV: E=Sophos;i="5.75,357,1589266800"; d="scan'208";a="128880852" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2020 20:33:41 -0700 IronPort-SDR: /xg6gXDkiqY6bsPbRl84R3vR/pDHJvc6VEcDGc+uDAiIldByWoQFyD07MPzl85iRfKsDeQhxIZ iSb9tLVWdQJQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,357,1589266800"; d="scan'208";a="460321582" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 15 Jul 2020 20:33:40 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jul 2020 20:33:40 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jul 2020 20:33:40 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.22]) by shsmsx102.ccr.corp.intel.com ([169.254.2.43]) with mapi id 14.03.0439.000; Thu, 16 Jul 2020 11:33:16 +0800 From: "Zhang, Qi Z" To: "Su, Simei" CC: "dev@dpdk.org" , "Guo, Jia" , "Guo, Junfeng" , "Xu, Ting" Thread-Topic: [PATCH v5] net/ice: fix invalid RSS type Thread-Index: AQHWWyEB/J3Q8GsYPEyGYnlQXp5f76kJjUPw Date: Thu, 16 Jul 2020 03:33:16 +0000 Message-ID: <039ED4275CED7440929022BC67E706115485DBAA@SHSMSX103.ccr.corp.intel.com> References: <1594808751-138882-1-git-send-email-simei.su@intel.com> <1594869894-419486-1-git-send-email-simei.su@intel.com> In-Reply-To: <1594869894-419486-1-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 v5] net/ice: fix invalid RSS type 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 16, 2020 11:25 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Guo, Jia ; Guo, Junfeng > ; Xu, Ting ; Su, Simei > > Subject: [PATCH v5] net/ice: fix invalid RSS type >=20 > When a RSS rule with only SRC/DST_ONLY or IPV6 prefix RSS type, it should > return failure. Besides, when a RSS rule with symmetric hash function, th= e RSS > type shouldn't carry with SRC/DST_ONLY. > This patch adds invalid RSS type check for the two cases. >=20 > Fixes: 0b952714e9c1 ("net/ice: refactor PF hash flow") >=20 > Signed-off-by: Simei Su Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi