From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <stable-bounces@dpdk.org> Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9B8A643FAA for <public@inbox.dpdk.org>; Tue, 7 May 2024 03:56:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9FF8942E3F; Tue, 7 May 2024 03:56:37 +0200 (CEST) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2117.outbound.protection.outlook.com [40.107.100.117]) by mails.dpdk.org (Postfix) with ESMTP id 72C2F4027B for <stable@dpdk.org>; Tue, 7 May 2024 03:56:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kP09alNuJfW36q+BOJpONFYCTJQHfhNddyvtkHeHL2SrY/NXQJWasM/aZAHbck52FYFgZ9Tdjl05Anyet9zPRkj72J3rmLf0sowsg4h7fN+nbkY7MnPg1wdpQCN+ZDjYgXMqKNrnJOqT7ZRj8jKLTouVj1weC99gXQGZPg1TDt/oczlQM8exPwh6NQZnfvLcqAa6fK6JsnMnFqyE4cdm5R0nYEee25jpMm1b/1QdgqMHvmhMJsxrEonCONb6dm06lExBE8jysrrpsp7U6TImtCetwl8+7ywa2FlnJA5p3gYV/aHnycKBzux6/QBEdKVM0Vk7CRCj0NKzJBB3ySmSQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IAgZ9CehRosISZxFVtkcTQg6fHIlti2687YpbF8ojR8=; b=GYN5Tad8BWPo6tKkf/W3k6Lp3sSV7AD2+VeY3XzoWjyb5Lp+Y+i5XiunF1ftbDXUHcgWIVlqvLc77qQx/EEBxaaWZ1k6Y5jqv8J7eiFBMTeZ8AYEYS5hkBX3akCS4TT8mfOxZDloW4muNKeGdcHls8EytcN5HEK0HBkEytLDZ/pj2SBkXIrso8FmuN/6rLy6/v6AqLApKYJQyIiq1SfCYXMe/zY06T/zzT4ud9QxJ7eCYdcG/4tAmcRi1fagwhoJJXyGQ4pPfh9v8nAY9Pnn8szP/Z+iWeoKg7A0aVTGgCLhl3/O7DUTLBlNZ1lCpfh9qRKt/I7JSvhLwAeejNYUZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IAgZ9CehRosISZxFVtkcTQg6fHIlti2687YpbF8ojR8=; b=okM4QEPBTkLb4PN1Zn6Xn2hMgRVBkDdfBaivlca8a2f3GGjRykNDtP36QlLQPbU9RPYzq/7a/Zif8eOoMGuPTxFniq/GJ87PC3x16mDhB0285rQ9WdDZDkuXiJKEW5EzY4+h+ylvyK+BQtMkK0pv5ewA5dgkaEyfO1Kn+d4oaHk= Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by DS7PR13MB4592.namprd13.prod.outlook.com (2603:10b6:5:38d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.42; Tue, 7 May 2024 01:56:32 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ec12:7411:559a:850e]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ec12:7411:559a:850e%5]) with mapi id 15.20.7544.041; Tue, 7 May 2024 01:56:31 +0000 From: Chaoyong He <chaoyong.he@corigine.com> To: Xueming Li <xuemingl@nvidia.com>, "stable@dpdk.org" <stable@dpdk.org> CC: oss-drivers <oss-drivers@corigine.com>, Long Wu <Long.Wu@nephogine.com>, Nole Zhang <peng.zhang@corigine.com> Subject: RE: [PATCH 23.11] net/nfp: fix port ID meta data use in Rx Thread-Topic: [PATCH 23.11] net/nfp: fix port ID meta data use in Rx Thread-Index: AQHajt5GwTxMi64t+UGyuxvQU1Tac7GBrXiAgAAI0ICACW7FcA== Date: Tue, 7 May 2024 01:56:31 +0000 Message-ID: <SJ0PR13MB5545F8C1FCD33ECF3F2436AA9EE42@SJ0PR13MB5545.namprd13.prod.outlook.com> References: <20240415024008.1000358-1-chaoyong.he@corigine.com> <DM4PR12MB537395786162D749420341D0A1192@DM4PR12MB5373.namprd12.prod.outlook.com> <DM4PR12MB5373FB7EA5F558A2B89D221CA1192@DM4PR12MB5373.namprd12.prod.outlook.com> In-Reply-To: <DM4PR12MB5373FB7EA5F558A2B89D221CA1192@DM4PR12MB5373.namprd12.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR13MB5545:EE_|DS7PR13MB4592:EE_ x-ms-office365-filtering-correlation-id: d28e9cf3-ad00-4077-9638-08dc6e38eae5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230031|366007|1800799015|376005|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?Xkn0x3VTYS5a0eqcpq8CHjS+Dsxsl5rlLeMKMACdJOn4XQzeRk9RLUQbH0xj?= =?us-ascii?Q?8J2JFWoEZ7cJ78Dtid4D5/DwGvvgd/pgWYLwZJvaxnLgUfhz1qJjDpRfLihW?= =?us-ascii?Q?Q/ToZgGtWyqmNxNneyW6Yocp5TyJ+1321tmqudLW57cwF8YINwd+3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O1Zum3Hpz09eDKjBhJVjkz1TotUtGzqs491Jy8evNxz?= =?us-ascii?Q?RnC832wcH38NH6OX/XtExzwFoU88BBdd0nBhFW8mJeTCTSnpE9lK7DLD99sq?= =?us-ascii?Q?wj5FeikJ8boqoq2WOaQ4hwLPiO1NLr41Xvip0A1j8aZCDsEUtC+VIYjUyGEB?= =?us-ascii?Q?p2HUJmPxC5x34QH+UnwEof8wnYZm03dpB8uE/GvOc0awvPEkpjOfm1eHA/mW?= =?us-ascii?Q?MaBAW6U7EusaUxQxpUCYs5RQYaNVxRvvWigL8AU5CcJlgLkstdArwIXOob/z?= =?us-ascii?Q?XfGpulmT/jEMldlilUdaVg4itlQCNBBojz/xgCG5qLuzsQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(1800799015)(376005)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/TKCB150+Eazkdc6NJZJSr/iTjXrpVH0G3qEOw96K4H/wPBaQJvHyIuRjPgW?= =?us-ascii?Q?nV6/97yDbbhlfhsoNpAEf9K9UcdIPV0C0PpjSsUN1pMSmUC1HaI1eVqgYgrx?= =?us-ascii?Q?Xgh2nhAVZQPbMxnxOf2W2AP5/xkprb/ROae+aoA+dOK6iqTLwDuIJ9+Xko3E?= =?us-ascii?Q?Fez+bUakZLnJsv0jIJS+CuYcaa2s8BseVnJhGYOiQbNJaabcazLLkrIY3zNZ?= =?us-ascii?Q?tbzM0+KW39Cbqie9Gn3OXEWbim4uIOS2Akbt8GY7VB2dot1k4occR0DRaskF?= =?us-ascii?Q?VBiTK9mw/CaqbKOtAKOxspOigkH4geHFkhXmfHHtP5EJgIdkukG+IkoJ4hP1?= =?us-ascii?Q?Ms3o1x2tCgMq+F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=?us-ascii?Q?aJdnBls5rWZh1OqWX2ktJL8WaJvn6vYaEbog85KLCN+02KxAtEvk9oB7vRuT?= =?us-ascii?Q?0ZiJDZyjFjizuvVm+b3pX2d78VxLSqJJMHrNCDISfCvWT9nz4bWTAPEHL8Sq?= =?us-ascii?Q?DPP0CvGNwZDnW2/JwXOiy94hOZR/LaVVGzVXulNJ5oHt0hKKErep/aq79ya3?= =?us-ascii?Q?wM2ig+/6Jfl/dO+wT6qdTflgLCXOrFztzIXbWie9OYktJYEPpIDlUEby4ypi?= =?us-ascii?Q?YdytTbQ9mh+DKHB8moZjL1qIJXhDWNTs4LN07WXyUo7VU3bWAq4GHFctHoog?= =?us-ascii?Q?C4FDS2mELgQQQxhCtXZk1dZ1z1Fp5g+7MyEs3QGJ?= Content-Type: multipart/alternative; boundary="_000_SJ0PR13MB5545F8C1FCD33ECF3F2436AA9EE42SJ0PR13MB5545namp_" MIME-Version: 1.0 X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d28e9cf3-ad00-4077-9638-08dc6e38eae5 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 May 2024 01:56:31.7363 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Lw727Tb4sBXzY85osynM4EoPxgTVDWpFwuzC0giN1/ao+cUHkb3uyhlCzX/miI+HFs81H3HFXIKBrD9C5YXd2+4theebpPQqH5ivwYKixCk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR13MB4592 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches <stable.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/stable>, <mailto:stable-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/stable/> List-Post: <mailto:stable@dpdk.org> List-Help: <mailto:stable-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/stable>, <mailto:stable-request@dpdk.org?subject=subscribe> Errors-To: stable-bounces@dpdk.org --_000_SJ0PR13MB5545F8C1FCD33ECF3F2436AA9EE42SJ0PR13MB5545namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Xueming, After checking the logic carefully, we found this patch need not backport, = because this bug is imported by another patch series which is not exist in = DPDK 23.11 release version. Really sorry about this. From: Xueming Li <xuemingl@nvidia.com> Sent: Wednesday, May 1, 2024 9:51 AM To: Chaoyong He <chaoyong.he@corigine.com>; stable@dpdk.org Cc: oss-drivers <oss-drivers@corigine.com>; Long Wu <Long.Wu@nephogine.com>= ; Nole Zhang <peng.zhang@corigine.com> Subject: Re: [PATCH 23.11] net/nfp: fix port ID meta data use in Rx Some people who received this message don't often get email from xuemingl@n= vidia.com<mailto:xuemingl@nvidia.com>. Learn why this is important<https://= aka.ms/LearnAboutSenderIdentification> I got following compilation error: ../../auto/swgwork/xuemingl/workspace/dpdk/drivers/net/nfp/nfp_rxtx.c:763= :14: error: no member named 'flags' in 'struct nfp_meta_parsed' Could you please address ASAP? make sure it tested. Thanks, ________________________________ From: Xueming Li <xuemingl@nvidia.com<mailto:xuemingl@nvidia.com>> Sent: Wednesday, May 1, 2024 9:19 AM To: Chaoyong He <chaoyong.he@corigine.com<mailto:chaoyong.he@corigine.com>>= ; stable@dpdk.org<mailto:stable@dpdk.org> <stable@dpdk.org<mailto:stable@dp= dk.org>> Cc: oss-drivers@corigine.com<mailto:oss-drivers@corigine.com> <oss-drivers@= corigine.com<mailto:oss-drivers@corigine.com>>; Long Wu <long.wu@corigine.c= om<mailto:long.wu@corigine.com>>; Peng Zhang <peng.zhang@corigine.com<mailt= o:peng.zhang@corigine.com>> Subject: Re: [PATCH 23.11] net/nfp: fix port ID meta data use in Rx Hi Chaoyong, Thanks for your help, patch added into release queue. ________________________________ From: Chaoyong He <chaoyong.he@corigine.com<mailto:chaoyong.he@corigine.com= >> Sent: Monday, April 15, 2024 10:40 AM To: stable@dpdk.org<mailto:stable@dpdk.org> <stable@dpdk.org<mailto:stable@= dpdk.org>> Cc: oss-drivers@corigine.com<mailto:oss-drivers@corigine.com> <oss-drivers@= corigine.com<mailto:oss-drivers@corigine.com>>; Long Wu <long.wu@corigine.c= om<mailto:long.wu@corigine.com>>; Chaoyong He <chaoyong.he@corigine.com<mai= lto:chaoyong.he@corigine.com>>; Peng Zhang <peng.zhang@corigine.com<mailto:= peng.zhang@corigine.com>> Subject: [PATCH 23.11] net/nfp: fix port ID meta data use in Rx From: Long Wu <long.wu@corigine.com<mailto:long.wu@corigine.com>> [ upstream commit ddc84b53f38281ff2c15f7feb7e3a0b556dd92b2 ] Meta data parsing should be controlled by meta data flag. So use flag to determine if receive function can use 'port_id' meta data. Fixes: 580ea0b09a7c ("net/nfp: fix Rx descriptor") Signed-off-by: Long Wu <long.wu@corigine.com<mailto:long.wu@corigine.com>> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com<mailto:chaoyong.he@corig= ine.com>> Reviewed-by: Peng Zhang <peng.zhang@corigine.com<mailto:peng.zhang@corigine= .com>> --- drivers/net/nfp/nfp_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/nfp/nfp_rxtx.c b/drivers/net/nfp/nfp_rxtx.c index 8ca651ba55..5033d659d3 100644 --- a/drivers/net/nfp/nfp_rxtx.c +++ b/drivers/net/nfp/nfp_rxtx.c @@ -760,7 +760,7 @@ nfp_net_recv_pkts(void *rx_queue, if (unlikely(rxq->rd_p =3D=3D rxq->rx_count)) /* Wrapping = */ rxq->rd_p =3D 0; - if (meta.port_id =3D=3D 0) { + if (((meta.flags >> NFP_NET_META_PORTID) & 0x1) =3D=3D 0) { rx_pkts[avail++] =3D mb; } else if (nfp_flower_pf_dispatch_pkts(hw, mb, meta.port_i= d)) { avail_multiplexed++; -- 2.27.0 --_000_SJ0PR13MB5545F8C1FCD33ECF3F2436AA9EE42SJ0PR13MB5545namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <!--[if !mso]><style>v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style><![endif]--><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:DengXian; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Aptos;} @font-face {font-family:"Segoe UI"; panose-1:2 11 5 2 4 2 4 2 2 3;} @font-face {font-family:DengXian; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; font-size:12.0pt; font-family:"Aptos",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} span.EmailStyle20 {mso-style-type:personal-reply; font-family:"Aptos",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt; mso-ligatures:none;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea= k-word"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">Hi Xueming,<o:p></o= :p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt"><o:p> </o:p></= span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">After checking the = logic carefully, we found this patch need not backport, because this bug is= imported by another patch series which is not exist in DPDK 23.11 release = version.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt"><o:p> </o:p></= span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">Really sorry about = this.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt"><o:p> </o:p></= span></p> <div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in = 4.0pt"> <div> <div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in = 0in 0in"> <p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:"= ;Calibri",sans-serif">From:</span></b><span style=3D"font-size:11.0pt;= font-family:"Calibri",sans-serif"> Xueming Li <xuemingl@nvidia= .com> <br> <b>Sent:</b> Wednesday, May 1, 2024 9:51 AM<br> <b>To:</b> Chaoyong He <chaoyong.he@corigine.com>; stable@dpdk.org<br= > <b>Cc:</b> oss-drivers <oss-drivers@corigine.com>; Long Wu <Long.W= u@nephogine.com>; Nole Zhang <peng.zhang@corigine.com><br> <b>Subject:</b> Re: [PATCH 23.11] net/nfp: fix port ID meta data use in Rx<= o:p></o:p></span></p> </div> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding= =3D"0" align=3D"left" width=3D"100%" style=3D"width:100.0%"> <tbody> <tr> <td style=3D"background:#A6A6A6;padding:5.25pt 1.5pt 5.25pt 1.5pt"></td> <td width=3D"100%" style=3D"width:100.0%;background:#EAEAEA;padding:5.25pt = 3.75pt 5.25pt 11.25pt"> <div> <p class=3D"MsoNormal" style=3D"mso-element:frame;mso-element-frame-hspace:= 2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-el= ement-anchor-horizontal:column;mso-height-rule:exactly"> <span style=3D"font-size:9.0pt;font-family:"Segoe UI",sans-serif;= color:#212121">Some people who received this message don't often get email = from <a href=3D"mailto:xuemingl@nvidia.com">xuemingl@nvidia.com</a>. <a href=3D"= https://aka.ms/LearnAboutSenderIdentification"> Learn why this is important</a><o:p></o:p></span></p> </div> </td> <td width=3D"75" style=3D"width:56.25pt;background:#EAEAEA;padding:5.25pt 3= .75pt 5.25pt 3.75pt;align:left"> </td> </tr> </tbody> </table> <div> <div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span style=3D"color:= black">I got following compilation error:<o:p></o:p></span></p> </div> <div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span style=3D"color:= black"> ../../auto/swgwork/xuemingl/workspace/dpdk/drivers/net/nfp/nf= p_rxtx.c:763:14: error: no member named 'flags' in 'struct nfp_meta_parsed'= <o:p></o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"color:black">Could you please address= ASAP? make sure it tested.<o:p></o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"color:black"><o:p> </o:p></span>= </p> </div> <div> <p class=3D"MsoNormal"><span style=3D"color:black">Thanks,<o:p></o:p></span= ></p> </div> <div class=3D"MsoNormal" align=3D"center" style=3D"text-align:center"> <hr size=3D"2" width=3D"98%" align=3D"center"> </div> <div id=3D"divRplyFwdMsg"> <p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:"= ;Calibri",sans-serif;color:black">From:</span></b><span style=3D"font-= size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Xuemin= g Li <<a href=3D"mailto:xuemingl@nvidia.com">xuemingl@nvidia.com</a>>= <br> <b>Sent:</b> Wednesday, May 1, 2024 9:19 AM<br> <b>To:</b> Chaoyong He <<a href=3D"mailto:chaoyong.he@corigine.com">chao= yong.he@corigine.com</a>>; <a href=3D"mailto:stable@dpdk.org">stable@dpdk.org</a> <<a href=3D"mailt= o:stable@dpdk.org">stable@dpdk.org</a>><br> <b>Cc:</b> <a href=3D"mailto:oss-drivers@corigine.com">oss-drivers@corigine= .com</a> <<a href=3D"mailto:oss-drivers@corigine.com">oss-drivers@corigi= ne.com</a>>; Long Wu <<a href=3D"mailto:long.wu@corigine.com">long.wu= @corigine.com</a>>; Peng Zhang <<a href=3D"mailto:peng.zhang@corigine= .com">peng.zhang@corigine.com</a>><br> <b>Subject:</b> Re: [PATCH 23.11] net/nfp: fix port ID meta data use in Rx<= /span> <o:p></o:p></p> <div> <p class=3D"MsoNormal"> <o:p></o:p></p> </div> </div> <div> <div> <p class=3D"MsoNormal"><span style=3D"color:black">Hi Chaoyong,<o:p></o:p><= /span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"color:black"><o:p> </o:p></span>= </p> </div> <div> <p class=3D"MsoNormal"><span style=3D"color:black">Thanks for your help, pa= tch added into release queue.<o:p></o:p></span></p> </div> <div class=3D"MsoNormal" align=3D"center" style=3D"text-align:center"> <hr size=3D"2" width=3D"98%" align=3D"center"> </div> <div id=3D"x_divRplyFwdMsg"> <p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:"= ;Calibri",sans-serif;color:black">From:</span></b><span style=3D"font-= size:11.0pt;font-family:"Calibri",sans-serif;color:black"> Chaoyo= ng He <<a href=3D"mailto:chaoyong.he@corigine.com">chaoyong.he@corigine.= com</a>><br> <b>Sent:</b> Monday, April 15, 2024 10:40 AM<br> <b>To:</b> <a href=3D"mailto:stable@dpdk.org">stable@dpdk.org</a> <<a hr= ef=3D"mailto:stable@dpdk.org">stable@dpdk.org</a>><br> <b>Cc:</b> <a href=3D"mailto:oss-drivers@corigine.com">oss-drivers@corigine= .com</a> <<a href=3D"mailto:oss-drivers@corigine.com">oss-drivers@corigi= ne.com</a>>; Long Wu <<a href=3D"mailto:long.wu@corigine.com">long.wu= @corigine.com</a>>; Chaoyong He <<a href=3D"mailto:chaoyong.he@corigi= ne.com">chaoyong.he@corigine.com</a>>; Peng Zhang <<a href=3D"mailto:peng.zhang@corigine.com">peng.zhang@corig= ine.com</a>><br> <b>Subject:</b> [PATCH 23.11] net/nfp: fix port ID meta data use in Rx</spa= n> <o:p> </o:p></p> <div> <p class=3D"MsoNormal"> <o:p></o:p></p> </div> </div> <div> <div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span style=3D"font-s= ize:11.0pt">From: Long Wu <<a href=3D"mailto:long.wu@corigine.com">long.= wu@corigine.com</a>><br> <br> [ upstream commit ddc84b53f38281ff2c15f7feb7e3a0b556dd92b2 ]<br> <br> Meta data parsing should be controlled by meta data flag. So use<br> flag to determine if receive function can use 'port_id' meta data.<br> <br> Fixes: 580ea0b09a7c ("net/nfp: fix Rx descriptor")<br> <br> Signed-off-by: Long Wu <<a href=3D"mailto:long.wu@corigine.com">long.wu@= corigine.com</a>><br> Reviewed-by: Chaoyong He <<a href=3D"mailto:chaoyong.he@corigine.com">ch= aoyong.he@corigine.com</a>><br> Reviewed-by: Peng Zhang <<a href=3D"mailto:peng.zhang@corigine.com">peng= .zhang@corigine.com</a>><br> ---<br> drivers/net/nfp/nfp_rxtx.c | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br> <br> diff --git a/drivers/net/nfp/nfp_rxtx.c b/drivers/net/nfp/nfp_rxtx.c<br> index 8ca651ba55..5033d659d3 100644<br> --- a/drivers/net/nfp/nfp_rxtx.c<br> +++ b/drivers/net/nfp/nfp_rxtx.c<br> @@ -760,7 +760,7 @@ nfp_net_recv_pkts(void *rx_queue,<br> &nb= sp; if (unlikely(rxq->rd_p =3D=3D rxq->rx_count)) /= * Wrapping */<br> &nb= sp; rxq-&= gt;rd_p =3D 0;<br> <br> - &n= bsp; if (meta.port_id =3D=3D 0) {<br> + &n= bsp; if (((meta.flags >> NFP_NET_META_PORTID) & 0x1) =3D=3D= 0) {<br> &nb= sp; rx_pk= ts[avail++] =3D mb;<br> &nb= sp; } else if (nfp_flower_pf_dispatch_pkts(hw, mb, meta.p= ort_id)) {<br> &nb= sp; avail= _multiplexed++;<br> -- <br> 2.27.0<o:p></o:p></span></p> </div> </div> </div> </div> </div> </div> </body> </html> --_000_SJ0PR13MB5545F8C1FCD33ECF3F2436AA9EE42SJ0PR13MB5545namp_--