From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 7078D4C91 for ; Mon, 11 Mar 2019 08:28:03 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Mar 2019 00:28:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,467,1544515200"; d="scan'208";a="150512755" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 11 Mar 2019 00:28:01 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 11 Mar 2019 00:28:01 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 11 Mar 2019 00:28:00 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.134]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.144]) with mapi id 14.03.0415.000; Mon, 11 Mar 2019 15:27:58 +0800 From: "Zhang, Qi Z" To: "Lu, Wenzhuo" , "Yang, Qiming" CC: "dev@dpdk.org" , "Stillwell Jr, Paul M" , "Yigit, Ferruh" Thread-Topic: [PATCH v3 38/38] net/ice/base: fix set UDP PTYPEs Thread-Index: AQHU19ic5Z4q76S/U0SKl5HBB9tZmKYGCAcQ Date: Mon, 11 Mar 2019 07:27:57 +0000 Message-ID: <039ED4275CED7440929022BC67E706115334A5BC@SHSMSX103.ccr.corp.intel.com> References: <20190228055650.25237-1-qi.z.zhang@intel.com> <20190311070441.5501-1-qi.z.zhang@intel.com> <20190311070441.5501-39-qi.z.zhang@intel.com> In-Reply-To: <20190311070441.5501-39-qi.z.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTdjNWEzNWItY2FjZC00NDlmLTlhNTktYmJmNTBmMzE1NWJkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUVZuWWRLODdCU2NqcUUzYTEyb2NVMGlBUTlHRUkwOSs4Umg2YmJnajRSQTVLd3dkOTNpVmUyaHh6U2t4K09WOSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 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 v3 38/38] net/ice/base: fix set UDP PTYPEs 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: Mon, 11 Mar 2019 07:28:04 -0000 > -----Original Message----- > From: Zhang, Qi Z > Sent: Monday, March 11, 2019 3:05 PM > To: Lu, Wenzhuo ; Yang, Qiming > > Cc: dev@dpdk.org; Stillwell Jr, Paul M ; Y= igit, > Ferruh ; Zhang, Qi Z > Subject: [PATCH v3 38/38] net/ice/base: fix set UDP PTYPEs >=20 > Set the UDP PTYPEs to inner-last for non-tunneled packats according to da= ta > sheet. >=20 > This also fix the issue that IPv4 TCP RSS does not work if RSS for IPv6 U= DP is also > configured. >=20 > Fixes: aa1cd410fa64 ("net/ice/base: add flow module") >=20 > Vignesh Sridhar Missing "Signed-off-by", will add when applied the patch. > Signed-off-by: Qi Zhang > --- > drivers/net/ice/base/ice_flow.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_f= low.c > index be819e0e9..e3c34ba89 100644 > --- a/drivers/net/ice/base/ice_flow.c > +++ b/drivers/net/ice/base/ice_flow.c > @@ -467,8 +467,8 @@ ice_flow_proc_seg_hdrs(struct ice_flow_prof_params > *params) > ICE_FLOW_PTYPE_MAX); > hdrs &=3D ~ICE_FLOW_SEG_HDR_ICMP; > } else if (hdrs & ICE_FLOW_SEG_HDR_UDP) { > - src =3D !i ? (const ice_bitmap_t *)ice_ptypes_udp_of : > - (const ice_bitmap_t *)ice_ptypes_udp_il; > + src =3D !i ? (const ice_bitmap_t *)ice_ptypes_udp_il : > + (const ice_bitmap_t *)ice_ptypes_udp_of; > ice_and_bitmap(params->ptypes, params->ptypes, src, > ICE_FLOW_PTYPE_MAX); > hdrs &=3D ~ICE_FLOW_SEG_HDR_UDP; > -- > 2.13.6