From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7076FA0032; Wed, 14 Sep 2022 12:34:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3EE8B4021D; Wed, 14 Sep 2022 12:34:38 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id AB01140156 for ; Wed, 14 Sep 2022 12:34:36 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28E2XbKM006953; Wed, 14 Sep 2022 03:34:04 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2106.outbound.protection.outlook.com [104.47.58.106]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3jk6991gmm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Sep 2022 03:34:04 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ym4uu0Pl5bzYBxTK8eaIEIw46YoAJ+mwim7sc9zeVq53aml6aqEXmZr5ZMYf1DY+h3TtFsfAugi7Edxd4EipzOnFPfilMnU9jyaTG5abkOU7Y0tDowJN56FzkBQLjffbZbqQlIsDoVORkXF+KGSe9LZ0b0mdPzpgH+Rj166X4O8lDKtjcE2+BPzKxfBchLzbrktNhXDkwHgjpADXLPPYup1SxH9VOjvsosu1hCZBqfwoZ0hyOiAsLtvqcHtCrLXOSjme1e5xKFm+y8CmB5+p0TAaT0YCZt3T2S6Tc2Y2UrJQtfo8m6G6bSPrTO4J/PZQgyZFw0bK380R7hgVT5yuYQ== 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=PgnI9Jd75NaPUy3p3jCTrqx63ud0KBZSYD0H7eHlj/I=; b=oWXDmjG7Kum3iLWrxp42ZFv+WPUGv1Vhn86s9H5aHfMMfGdXlfTOoxd8fQJ2SFdD6oTfOYfwfe8G2fsN7NUN4/N7OyTWJgf4awGABRUtLtQnieqVpR5wLuQiRyXQhOseyj8JbARwdBdld371Vj3TB8pyUl0Xo8ZZIujg0XWJQj/5+47W0xdNoLe8NWVg5sCInUxKDtXoXB/Z+/lLQsKMYJmJAMZjwWYtBfDZL0Tli0jUuglmqP8UxuO1DfSCuqFa2wu7lTKv+7NtIuMMJrjd9z6NudHBoGA8wTrf3ylHxsCoGvkf33xZFn6gpShUvLyuIg+so4VBW4XxgDXgbr/opw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PgnI9Jd75NaPUy3p3jCTrqx63ud0KBZSYD0H7eHlj/I=; b=p74htzWvsuXmbkVozH7sTsqaFmD3E0X7ZRamhyPKM9QrRl+7+BaCL7Z/jVFzqZMTUNSAujqUweQIDoGBtu3duJXy/J2l//lDsDP0FeLzY6Q3kCvatjV2qxEDtF27LLZEK94lwHHNKSED2avbnYC54F1qPj0TZ8heq6Hyp3ko4Ro= Received: from CO6PR18MB3844.namprd18.prod.outlook.com (2603:10b6:5:340::7) by BY3PR18MB4561.namprd18.prod.outlook.com (2603:10b6:a03:3b4::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.23; Wed, 14 Sep 2022 10:34:01 +0000 Received: from CO6PR18MB3844.namprd18.prod.outlook.com ([fe80::5305:eb97:3d3c:56a1]) by CO6PR18MB3844.namprd18.prod.outlook.com ([fe80::5305:eb97:3d3c:56a1%5]) with mapi id 15.20.5612.022; Wed, 14 Sep 2022 10:34:00 +0000 From: Rahul Bhansali To: Thomas Monjalon , "dev@dpdk.org" CC: Bruce Richardson , "ferruh.yigit@xilinx.com" , "ajit.khaparde@broadcom.com" , "aboyer@pensando.io" , "andrew.rybchenko@oktetlabs.ru" , "beilei.xing@intel.com" , "chas3@att.com" , "chenbo.xia@intel.com" , "ciara.loftus@intel.com" , Devendra Singh Rawat , "ed.czeck@atomicrules.com" , "evgenys@amazon.com" , "grive@u256.net" , "g.singh@nxp.com" , "zhouguoyang@huawei.com" , "haiyue.wang@intel.com" , Harman Kalra , "heinrich.kuhn@corigine.com" , "hemant.agrawal@nxp.com" , "hyonkim@cisco.com" , "igorch@amazon.com" , Igor Russkikh , "jgrajcia@cisco.com" , "jasvinder.singh@intel.com" , "jianwang@trustnetic.com" , "jiawenwu@trustnetic.com" , "jingjing.wu@intel.com" , "johndale@cisco.com" , "john.miller@atomicrules.com" , "linville@tuxdriver.com" , "keith.wiles@intel.com" , Kiran Kumar Kokkilagadda , "oulijun@huawei.com" , Liron Himi , "longli@microsoft.com" , "mw@semihalf.com" , "spinler@cesnet.cz" , "matan@nvidia.com" , "matt.peters@windriver.com" , "maxime.coquelin@redhat.com" , "mk@semihalf.com" , "humin29@huawei.com" , Pradeep Kumar Nalla , Nithin Kumar Dabilpuram , "qiming.yang@intel.com" , "qi.z.zhang@intel.com" , Radha Chintakuntla , "rahul.lakkireddy@chelsio.com" , Rasesh Mody , "rosen.xu@intel.com" , "sachin.saxena@oss.nxp.com" , Satha Koteswara Rao Kottidi , Shahed Shaikh , "shaibran@amazon.com" , "shepard.siegel@atomicrules.com" , "asomalap@amd.com" , "somnath.kotur@broadcom.com" , "sthemmin@microsoft.com" , "steven.webster@windriver.com" , Sunil Kumar Kori , "mtetsuyah@gmail.com" , Veerasenareddy Burru , "viacheslavo@nvidia.com" , "xiao.w.wang@intel.com" , "cloud.wangxiaoyun@huawei.com" , "yisen.zhuang@huawei.com" , "yongwang@vmware.com" , "xuanziyang2@huawei.com" Subject: RE: [EXT] Re: [PATCH] examples/l2fwd: add check of Rx packets count Thread-Topic: [EXT] Re: [PATCH] examples/l2fwd: add check of Rx packets count Thread-Index: AQHYcBfCzbB6aVeY2kKNofhpx15SBK1iYp2AgCVvH+CAV5cc4A== Date: Wed, 14 Sep 2022 10:34:00 +0000 Message-ID: References: <20220525091327.4006824-1-rbhansali@marvell.com> <3527350.8uLHfb51uz@thomas> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB3844:EE_|BY3PR18MB4561:EE_ x-ms-office365-filtering-correlation-id: e2c3ab7e-1a28-4e9e-fb04-08da963ca32a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: A2CET8XInZpzQ2s9tnrw/M3Ud3QbqqtUR9ennGGhqscoir3Qgieeu87VHWfRkIE6aEjpDkcB0D3Ubf2xsAUJyJIcjPgGK9nx//dLMY46Tp46lbqNFd1o5auQARmtrhTTcgDNvnnj4PQTa2Uou1e4mHWd315j0TVGCFTv6xSBQgkApTB7oz/PMn40XCN90lRPOFAktNAwtr7iJ85BRM+dKRXLtuD9oK72Io+WAdSnkxgrC27sNiLx6W/S74wMzSjSwQR2EAiLhgaJ43iRvRVLOWMBuigcvvGSkvoMXT26b3wB9BQ//5UPxAloMsNOiIgJkNb21SLJ8MXKwTH8YkXtBg78IHurBNdjXHZFYhxMkyyGZ8JywV8xdhPmlP/b2Bues2MJTTcHVK2c7w8TqxX76tiVmKxurZiwKy793mXOOELzvQHbxNXTwejGihUG1hZmuay5MN49iXH/GVGoYy8j97cOmhuepBLE1SVxv+g8n3Qrfnq7Nv7tZUqoAnqNplI+Z7i8vf1HOfYvMB8m25cnntpVxMzh/rm/1aZuwUX6Qy9KF7aowvNwyJOcuD9CG2MO55QcsnFBR7FjECNUT4FsnPQo5FXr05NPhQXpMRwYiuwf6ADv1Huf/8yGSREDy5YN7s9HvDDhwcCzm63YcxOSBRz/a1k9KkMpKtlcLxTdPBtJkNQOplz8yPDodP02w4v5eGK21pR3iRlo6uSqaJ04CZ5cVkbV4zBnqXDGNnB0P/sqE0yJqPysRkcZ07+mJpbUasYgHszpoDXQhIT5aHjjzg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB3844.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(39860400002)(366004)(396003)(376002)(346002)(451199015)(54906003)(45080400002)(33656002)(86362001)(8936002)(52536014)(110136005)(76116006)(66946007)(66476007)(66446008)(64756008)(8676002)(316002)(4326008)(66556008)(122000001)(38100700002)(83380400001)(41300700001)(53546011)(6506007)(7696005)(5660300002)(71200400001)(478600001)(186003)(26005)(9686003)(38070700005)(55016003)(2906002)(7366002)(7416002)(7406005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ZqbSXja7bUOFsRH/RcFJ7AkRtmRzXKJQ7QzChLYSCwsS7dSRXmvbBUZNGfq8?= =?us-ascii?Q?ziyj07xEmhpgfBkRQYcKmTumBp3Gh6NHDrVYiKf5O5EXfy44KCL5BbZAR8u2?= =?us-ascii?Q?a4QD/CSPbQ2FsiFWoF65cUl0ZTNZLwYtuAy3mxFHxTNo1quLrA5sWclzqmsz?= =?us-ascii?Q?X0K9dnjogdx+DnUeHgGWfhMbqKhMX3eULVGfg7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Z3++GgpCUHB1pKtuLwn/tZlMxluR7i1q/6k3biiuEq5p1e8gZgFdXBGJ3y?= =?us-ascii?Q?07GNHrDs494on5F7wWbEdg/2igUooC2TiCisF8OWeLMP50xUmltIJbrxZzzI?= =?us-ascii?Q?tg2k+iwnLM6nKoG3PFEk/QvPsV8qiDpPeI5K54p+2UTkbpveTpPSUu/HZSoY?= =?us-ascii?Q?tGsDq/0h+SMYXMWB9yR3WUgeXL5PyKf4Fz65gSspaq61x/jZnWgG4IIZbvpD?= =?us-ascii?Q?IuElHqD73fbUy4Q/7KpI5nKir+pxBN/nn1m0NY+jTIxzsQOAOe+R9gf7bjJR?= =?us-ascii?Q?d0FeckD8l/wDXtWPradi8fb/LL0oaBcDRtS+oJD6+JY8VUUywP4hc03Etaht?= =?us-ascii?Q?in1lfm+DVZSc0zu0LlD/3DT3qoxeC1oHusK4OkwaVxORw0EJrvGf9ibmVoEd?= =?us-ascii?Q?/pjt9UvrwhI6r/Pk1hD7YvZ/scKPcBahDD4rXXlEgR7RPT5HI7Jcm8a5T6M2?= =?us-ascii?Q?W8A8CHRaMN+n3sHJV4PickJqZihxl0RDdwhaMXP6?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB3844.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e2c3ab7e-1a28-4e9e-fb04-08da963ca32a X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2022 10:34:00.5741 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2CPvCUZSB/A1cle6LreJa2Qb1qWU/ch5EuYOY6oi2fZPW3dFwDzfeJ3nnRT2/sgVnhzCfTphDyYrESSlLdErDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR18MB4561 X-Proofpoint-ORIG-GUID: eZNlxpJemUVisMHgJg-5TZlihyH-zKX8 X-Proofpoint-GUID: eZNlxpJemUVisMHgJg-5TZlihyH-zKX8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-14_03,2022-09-14_03,2022-06-22_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi Thomas, This got ack from Stephen Hemminger also. It is pending from long time, Can= we consider this for RC1 ? Regards, Rahul > -----Original Message----- > From: Rahul Bhansali > Sent: Wednesday, July 20, 2022 10:22 PM > To: Thomas Monjalon ; dev@dpdk.org > Cc: Bruce Richardson ; ferruh.yigit@xilinx.co= m; > ajit.khaparde@broadcom.com; aboyer@pensando.io; > andrew.rybchenko@oktetlabs.ru; beilei.xing@intel.com; chas3@att.com; > chenbo.xia@intel.com; ciara.loftus@intel.com; Devendra Singh Rawat > ; ed.czeck@atomicrules.com; > evgenys@amazon.com; grive@u256.net; g.singh@nxp.com; > zhouguoyang@huawei.com; haiyue.wang@intel.com; Harman Kalra > ; heinrich.kuhn@corigine.com; > hemant.agrawal@nxp.com; hyonkim@cisco.com; igorch@amazon.com; Igor > Russkikh ; jgrajcia@cisco.com; > jasvinder.singh@intel.com; jianwang@trustnetic.com; > jiawenwu@trustnetic.com; jingjing.wu@intel.com; johndale@cisco.com; > john.miller@atomicrules.com; linville@tuxdriver.com; keith.wiles@intel.co= m; > Kiran Kumar Kokkilagadda ; oulijun@huawei.com; > Liron Himi ; longli@microsoft.com; mw@semihalf.com; > spinler@cesnet.cz; matan@nvidia.com; matt.peters@windriver.com; > maxime.coquelin@redhat.com; mk@semihalf.com; humin29@huawei.com; > Pradeep Kumar Nalla ; Nithin Kumar Dabilpuram > ; qiming.yang@intel.com; qi.z.zhang@intel.com; > Radha Chintakuntla ; rahul.lakkireddy@chelsio.com; > Rasesh Mody ; rosen.xu@intel.com; > sachin.saxena@oss.nxp.com; Satha Koteswara Rao Kottidi > ; Shahed Shaikh ; > shaibran@amazon.com; shepard.siegel@atomicrules.com; > asomalap@amd.com; somnath.kotur@broadcom.com; > sthemmin@microsoft.com; steven.webster@windriver.com; Sunil Kumar Kori > ; mtetsuyah@gmail.com; Veerasenareddy Burru > ; viacheslavo@nvidia.com; xiao.w.wang@intel.com; > cloud.wangxiaoyun@huawei.com; yisen.zhuang@huawei.com; > yongwang@vmware.com; xuanziyang2@huawei.com > Subject: RE: [EXT] Re: [PATCH] examples/l2fwd: add check of Rx packets co= unt >=20 > Ping >=20 > > -----Original Message----- > > From: Thomas Monjalon > > Sent: Monday, June 27, 2022 2:42 AM > > To: dev@dpdk.org > > Cc: Bruce Richardson ; > > ferruh.yigit@xilinx.com; ajit.khaparde@broadcom.com; > > aboyer@pensando.io; andrew.rybchenko@oktetlabs.ru; > > beilei.xing@intel.com; chas3@att.com; chenbo.xia@intel.com; > > ciara.loftus@intel.com; Devendra Singh Rawat > > ; ed.czeck@atomicrules.com; > > evgenys@amazon.com; grive@u256.net; g.singh@nxp.com; > > zhouguoyang@huawei.com; haiyue.wang@intel.com; Harman Kalra > > ; heinrich.kuhn@corigine.com; > > hemant.agrawal@nxp.com; hyonkim@cisco.com; igorch@amazon.com; Igor > > Russkikh ; jgrajcia@cisco.com; > > jasvinder.singh@intel.com; jianwang@trustnetic.com; > > jiawenwu@trustnetic.com; jingjing.wu@intel.com; johndale@cisco.com; > > john.miller@atomicrules.com; linville@tuxdriver.com; > > keith.wiles@intel.com; Kiran Kumar Kokkilagadda > > ; oulijun@huawei.com; Liron Himi > > ; longli@microsoft.com; mw@semihalf.com; > > spinler@cesnet.cz; matan@nvidia.com; matt.peters@windriver.com; > > maxime.coquelin@redhat.com; mk@semihalf.com; humin29@huawei.com; > > Pradeep Kumar Nalla ; Nithin Kumar Dabilpuram > > ; qiming.yang@intel.com; > > qi.z.zhang@intel.com; Radha Chintakuntla ; > > rahul.lakkireddy@chelsio.com; Rasesh Mody ; > > rosen.xu@intel.com; sachin.saxena@oss.nxp.com; Satha Koteswara Rao > > Kottidi ; Shahed Shaikh > > ; shaibran@amazon.com; > > shepard.siegel@atomicrules.com; asomalap@amd.com; > > somnath.kotur@broadcom.com; sthemmin@microsoft.com; > > steven.webster@windriver.com; Sunil Kumar Kori ; > > mtetsuyah@gmail.com; Veerasenareddy Burru ; > > viacheslavo@nvidia.com; xiao.w.wang@intel.com; > > cloud.wangxiaoyun@huawei.com; yisen.zhuang@huawei.com; > > yongwang@vmware.com; xuanziyang2@huawei.com; Rahul Bhansali > > > > Subject: [EXT] Re: [PATCH] examples/l2fwd: add check of Rx packets > > count > > > > External Email > > > > ---------------------------------------------------------------------- > > Please could we have some tests on other hardware with this improvement= ? > > > > > > 25/05/2022 11:13, Rahul Bhansali: > > > An additional check is added to avoid extra processing if receive > > > packets are 0. > > > > > > Performance impact: with Marvell OCTEON TX2 platform, observed an > > > improvement by ~14%. > > > > > > Signed-off-by: Rahul Bhansali > > > --- > > > nb_rx =3D rte_eth_rx_burst(portid, 0, > > > pkts_burst, MAX_PKT_BURST); > > > > > > + if (unlikely(nb_rx =3D=3D 0)) > > > + continue; > > > + > > > > > >