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 8D8C0A00C3; Tue, 18 Jan 2022 11:38:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19657410E1; Tue, 18 Jan 2022 11:38:45 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 77CE24068E; Tue, 18 Jan 2022 11:38:43 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20I2U8uL021214; Tue, 18 Jan 2022 02:38:42 -0800 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2169.outbound.protection.outlook.com [104.47.56.169]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3dnmttsbqv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jan 2022 02:38:42 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E07PKVuqAk3GQj3KOy27tM4HjyOGDVMGIAVh5fPnhPr8QDo7AML+T6klx0+fo1SytkR9tcE7NPF7qxJAK2bE9cZoAwSkoYAbRZBxF1GEnpqsJKPafbLxQcztvUO0mk6VnvCJJtDbBiL3HpvnkI+Loyp8EH0/B5jq31t0QxqEn0BkSBcFw/jWGoYi1cyNxqBnP7fJI5pMLV6heaIwpcHeZfHnOcvYdFzUuRLiqA76eR9jZO+WYvJnwQ4o/wQaPBWU2fxytzU6yKJ/2iNvPORP/UAP6AZCiKAqiQ7EKxuYM2EKja/eDLTC4s/2rOBAG2eCOC1MHLbwXHIKKTSApseTfw== 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=DA5GebBVJSkefK7jlMg4hroyzkpX/XfCzK6tzcQp4tI=; b=TVHLDycbpph5Fc3LlXqGe7LBILyBydbCi4lAytarjETO0bjYeFNPd/WNUW0OW3Pyd9AmiF3RNthfJqF0aX9n3lq6TxjLMwJEU+2iOMwBB+2X25nwBQWSNjjIA1nWzTFvzvesa+UVAkLAyeU39NC+qn4zz9f2w2kb0zhlA8C3krDa5CMeDoUylYx0XBs/Z8lcRFyFRXvXdUuz9QQDwUhzRNRkrg0Vh2eOZg2rthVTr1nb3HzHJDp0SNYgmRoOL6e+JnrYHLA0RLNzAn0grgko88OMhhOtbSMFv7X2ESA4N7UlXYf67MDSux2De6iVJfWMEXfCEJ+wALEU0L0/XTmcSw== 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=DA5GebBVJSkefK7jlMg4hroyzkpX/XfCzK6tzcQp4tI=; b=EQ2oJ1XhBcmjQuGUSdCcJBlCvZ+tIVjoNfiDiu6Le4egqNJn9hrKHfNxZfsWxlJzYfjbW141a1zprgH2MSPN12mLBNWIfsEOp39eNyd0Q3xz09+iAZl21lIBI5unk1YKzXbxt2JLYDLn6PTxhPljfpNGIJr6p3GEOrlh7UOBg+s= Received: from CO6PR18MB3860.namprd18.prod.outlook.com (2603:10b6:5:34d::12) by MW5PR18MB5094.namprd18.prod.outlook.com (2603:10b6:303:1aa::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.11; Tue, 18 Jan 2022 10:38:38 +0000 Received: from CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::b0eb:8b76:babb:2401]) by CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::b0eb:8b76:babb:2401%6]) with mapi id 15.20.4888.014; Tue, 18 Jan 2022 10:38:38 +0000 From: Sunil Kumar Kori To: "nipun.gupta@nxp.com" , "dev@dpdk.org" CC: Jerin Jacob Kollanukkaran , "thomas@monjalon.net" , "hemant.agrawal@nxp.com" , "stable@dpdk.org" Subject: RE: [EXT] [PATCH] examples/l3fwd: fix Rx burst size for event mode Thread-Topic: [EXT] [PATCH] examples/l3fwd: fix Rx burst size for event mode Thread-Index: AQHYBqjp44fPlOJ6KEuS3WlfhaBzyaxooapQ Date: Tue, 18 Jan 2022 10:38:38 +0000 Message-ID: References: <20220111050546.13003-1-nipun.gupta@nxp.com> In-Reply-To: <20220111050546.13003-1-nipun.gupta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 922982e8-4e80-4d19-c5db-08d9da6eb03b x-ms-traffictypediagnostic: MW5PR18MB5094:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2201; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pZLtbTBsWB4RShm+g+yQ4+ARx7zhA/rYbqlwt/i/NLcVROfoO7Eg63Bjw7VgKQzMoGuNWjI1ID0RdXJNSHcfciHimCIvI7ia1fZvYjQlqAe9VlTF3lhRoPPgZJqMdKELCTR24Ckbc8zYAxU9XPukYeTAPugWjnr1nAOWd3Zuc6zCMsFHXtg/jlpmuTyFfu8XaTQWj/VsXRmKLibnaPZ3NoxDvSoWsstJKshrwLeNvTbPZKqULHcQ2zr/mzwIJtt0+/l2RGnowntdSqP02MpCacFcx1MBKAq1TYJpFF6Yd3l5UBtwmxm4XKKacdX9x9GRLv8BIWepE+gqW2USuvgYVqRyRIYjlEtjwiQSAXwEfVjLibE4NIu6X7b0tdikZDITKU7UHLQY8aLBmP/yC1bm8opasryK8TIlYdoiNy4MgA2Fv3grvHwKwQyWvg51HxFo8/yhKHDC8WePPROobuaPdLG6IgSsi+xm4B5qQaeZ/bsm0KmaKQjgeUcA/K8WpulMLSgNg6/YLR67nGybZAxkc0ukzxJiaMeDQPARy3YgjOrcc6ipfkXXaW1mSyoaqBDxBqse7SvZw4rPrFdSE/wELQYxpPXRtuIDuhHN5rlB1Rs/QX23K0uTA4JDVY5qCRm915OhJBKudrd5xC5cJ25x1lJmM3EAgeq6fBPTBUSPZub+xNE/RExnhYIW/ArXoMNV2UpzzjCPYAdttGIKkyemcg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB3860.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8676002)(5660300002)(83380400001)(2906002)(66446008)(64756008)(66476007)(66946007)(76116006)(316002)(8936002)(508600001)(38100700002)(6506007)(38070700005)(4326008)(86362001)(110136005)(122000001)(186003)(54906003)(55016003)(7696005)(66556008)(33656002)(9686003)(71200400001)(52536014)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?YgXo1u+AbB89DWqE4AD13C+u9nViD3NPGbCyV9ZzLhZHOyfLNkHCRr6Jt3/b?= =?us-ascii?Q?WJASLeflgHIHWjb7EzA226mQjg9oJQBJGAA0jqMc28cDAzWQfxqvOVQMp4g1?= =?us-ascii?Q?QsPvg+HdZY+88M7hDjZuabim3n+KbVh/wfAwtD6J3iLkKU3eFws5QoFynIX9?= =?us-ascii?Q?o0osYxT2kGIM22aekdm7GLVwc9CKvVvWjrgMls5qAr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Nc0A/GbHsYYKm6BUPdjCDZSQOcD32/u/4q+gGGDdFz62?= =?us-ascii?Q?dnLoJKKz/561TSa9KAaqM1eR9qfs3sh2b0RxqKKyZYMEpPKlKLQ2pICLisUV?= =?us-ascii?Q?iW/G8G8Wr2bkfbK6hxOPgJdY+5yNt+UlGru2qHuiEH3QjFyN+Q6zwsN69QSQ?= =?us-ascii?Q?XN+4WuKENzrK/Yz8AQ4/0X/2pMhezrz6+lkMgxZc4z+o1I1VhwPvCx+6hRlq?= =?us-ascii?Q?Z7RXmYxT4Nuv8ba7dnbvcfm65i4juu97YI/Qo+vcLCgCZh2gq0Xqd6ZwRsUt?= =?us-ascii?Q?e06vbYH0XtHp2FLILbhwqj/hNpxa8djSJ2PMuGv7GXLfCy/UVe/G4Fx4Yxz0?= =?us-ascii?Q?zAqYQt3XIwCWqvTaBZbXsYmH4e4mCZbyck1X3faObt6M0Ky8AeNaix3USsNH?= =?us-ascii?Q?LbfPdkIr568Z0Zt8hGiHlD8O8MrJmJfYD+g+sKK7rIJ4bp8n2pZ4YCl3Q1YR?= =?us-ascii?Q?5x6FXfOWlN1lljQphD6UjgmHRf5GIMDte5WfiRx90hWZwv61K2LKfBaOn/9g?= =?us-ascii?Q?/g=3D=3D?= 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: CO6PR18MB3860.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 922982e8-4e80-4d19-c5db-08d9da6eb03b X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2022 10:38:38.6819 (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: 700IxuuNEV4h3pObOSUK6zgt6WufoA+TTgARVQqS2o0ouvBfWmmvQINvQ3DWhnRm6zW6ypH9D9Qm+N05GZGHIQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR18MB5094 X-Proofpoint-GUID: wjl4hzQGG78l-pWBOtZjFr5i9Kspxi9G X-Proofpoint-ORIG-GUID: wjl4hzQGG78l-pWBOtZjFr5i9Kspxi9G X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-18_02,2022-01-18_01,2021-12-02_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 Regards Sunil Kumar Kori >-----Original Message----- >From: nipun.gupta@nxp.com >Sent: Tuesday, January 11, 2022 10:36 AM >To: dev@dpdk.org >Cc: Jerin Jacob Kollanukkaran ; Sunil Kumar Kori >; thomas@monjalon.net; hemant.agrawal@nxp.com; >stable@dpdk.org; Nipun Gupta >Subject: [EXT] [PATCH] examples/l3fwd: fix Rx burst size for event mode > >External Email > >---------------------------------------------------------------------- >From: Nipun Gupta > >While dequeing the packets from the event device, burst size is provided i= n >the API. This was not getting properly conigured in the application. This = patch >correctly configures the burst size. > >Fixes: aaf58cb85b62 ("examples/l3fwd: add event port and queue setup") >Cc: stable@dpdk.org > >Signed-off-by: Nipun Gupta >--- > examples/l3fwd/l3fwd_event_internal_port.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/examples/l3fwd/l3fwd_event_internal_port.c >b/examples/l3fwd/l3fwd_event_internal_port.c >index 1e8f46bc11..32cf657148 100644 >--- a/examples/l3fwd/l3fwd_event_internal_port.c >+++ b/examples/l3fwd/l3fwd_event_internal_port.c >@@ -118,6 +118,8 @@ l3fwd_event_port_setup_internal_port(void) > event_p_conf.event_port_cfg |=3D > RTE_EVENT_PORT_CFG_DISABLE_IMPL_REL; > >+ evt_rsrc->deq_depth =3D def_p_conf.dequeue_depth; >+ > for (event_p_id =3D 0; event_p_id < evt_rsrc->evp.nb_ports; > event_p_id++) >{ > ret =3D rte_event_port_setup(event_d_id, event_p_id, >-- >2.17.1 Acked-by: Sunil Kumar Kori