From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 96B871B632 for ; Fri, 26 Jan 2018 10:51:36 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jan 2018 01:51:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,415,1511856000"; d="scan'208";a="198977547" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 26 Jan 2018 01:51:34 -0800 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 26 Jan 2018 01:51:34 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 26 Jan 2018 01:51:33 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.145]) by shsmsx102.ccr.corp.intel.com ([169.254.2.124]) with mapi id 14.03.0319.002; Fri, 26 Jan 2018 17:51:32 +0800 From: "Zhang, Helin" To: "Zhao1, Wei" , "Zhang, Qi Z" , "Xing, Beilei" CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/i40e: fix bug in RSS flow action parser Thread-Index: AQHTlZrnbvNDdKlzqk+8kEtE1kPiBaOEC4KQgAHfqtA= Date: Fri, 26 Jan 2018 09:51:31 +0000 Message-ID: References: <20180125051033.40453-1-qi.z.zhang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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] net/i40e: fix bug in RSS flow action parser 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: , X-List-Received-Date: Fri, 26 Jan 2018 09:51:37 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Zhao1, Wei > Sent: Thursday, January 25, 2018 1:16 PM > To: Zhang, Qi Z; Xing, Beilei > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix bug in RSS flow action pars= er >=20 >=20 > > -----Original Message----- > > From: Zhang, Qi Z > > Sent: Thursday, January 25, 2018 1:11 PM > > To: Xing, Beilei > > Cc: dev@dpdk.org; Zhao1, Wei ; Zhang, Qi Z > > > > Subject: [PATCH] net/i40e: fix bug in RSS flow action parser > > > > Parameter action_flag is not used correctly in i40e_flow_parse_rss_acti= on. > > Also change it from point type to value type since it is not an output > > parameter. > > > > Fixes: ecad87d22383e ("net/i40e: move RSS to flow API") > > > > Signed-off-by: Qi Zhang > > --- > > drivers/net/i40e/i40e_flow.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/net/i40e/i40e_flow.c > > b/drivers/net/i40e/i40e_flow.c index a74fa08ab..74708f168 100644 > > --- a/drivers/net/i40e/i40e_flow.c > > +++ b/drivers/net/i40e/i40e_flow.c > > @@ -4188,7 +4188,7 @@ static int > > i40e_flow_parse_rss_action(struct rte_eth_dev *dev, > > const struct rte_flow_action *actions, > > struct rte_flow_error *error, > > - uint8_t *action_flag, > > + uint8_t action_flag, > > struct i40e_queue_regions *conf_info, > > union i40e_filter_t *filter) > > { > > @@ -4378,7 +4378,7 @@ i40e_parse_rss_filter(struct rte_eth_dev *dev, > > return ret; > > > > ret =3D i40e_flow_parse_rss_action(dev, actions, error, > > - &action_flag, &info, filter); > > + action_flag, &info, filter); > > if (ret) > > return ret; > > > > -- > > 2.13.6 >=20 > Acked-by Wei Zhao Applied to dpdk-next-net-intel, thanks! /Helin