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 70A4AA0C43; Thu, 21 Oct 2021 05:26:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B9D440150; Thu, 21 Oct 2021 05:26:14 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 553A840142 for ; Thu, 21 Oct 2021 05:26:12 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10143"; a="226393449" X-IronPort-AV: E=Sophos;i="5.87,168,1631602800"; d="scan'208";a="226393449" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2021 20:26:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,168,1631602800"; d="scan'208";a="632032481" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga001.fm.intel.com with ESMTP; 20 Oct 2021 20:26:11 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 20 Oct 2021 20:26:11 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 20 Oct 2021 20:26:10 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 20 Oct 2021 20:26:10 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.106) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 20 Oct 2021 20:26:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b7+xPPP4DetoFwk6ZkeCNou45uMNDmUL5nX8e7icpojtpTpvsPWwRua6+sUchOrzmstlVznmqNu29rHML/VyNGfpDY2NxvQxzbjjEv7L6nDBwpiSBzBpSUB1/rHrXLAhQ/Q9hNxElypbO0S97UzDZvEPRFNCM8GwTrwAyg4OMrunJnRdYsuWgxGWZkb0c1ysntRyLdjuEBt3uDKNsjKJaav/N+Ub8hdsKtIkXrf3WttsrooHSfdMwDWNEhdVqaacYX395q/Tbir0sasJFOCim7uRptWJ+yEsgLU5jT31kX5F7yeqUdawHbVcMUBUqADIiTZHC8Bq7W9ugmVzUaWhPw== 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=QWBGSW9wnd8LHm5XTFbcsQ/E/j0GG7kSlsPqxMlunvc=; b=kJaL1eDgI5JE7kxhm+s4B2MDNjlTir7EiCSgnANU3WVvDpuwGS1Ba09VsbBEDDB7Z4nY1cjd+syaNUUKigZSOsSZ6zqqQyOn1+QHv/EkMgNh7pojqbKsAS0+siW2P5/CbrdWFoJS1XOS4pDhTt7rlQmsjvRlT6dfmKUijjjN1It7x/kPYQzL7TgCv8w9U9znYWMeTe1lSq1Wxd+QBGuG8sDrx+scUFzPskLZg7pyYPCVVM1GI4FWIsyDHw8LDyAv7xavDsXmlJQL+NpuxDIuF/3AD3dYXgHROejt8CN926BMtAauoyp0YJUFSTvNvtkQFASndeQ8DfDzsNEpJ+bBqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QWBGSW9wnd8LHm5XTFbcsQ/E/j0GG7kSlsPqxMlunvc=; b=o+jMsssEU4PrpU8oJFRNte6tK5n2kYWLms/RLz398reymnIJcabFhODvCYBEW/w7hpcODgRj87tfzHLM0UQQSCmPA+O8Z1fyvXo9MyTNwvDK2vU24uZ+zeFXI0qAQ9XXNieAzTEtVl5yQzyrl4FKna9e1N4tKqDDDlXdZcV5Gb0= Received: from DM4PR11MB5534.namprd11.prod.outlook.com (2603:10b6:5:391::22) by DM6PR11MB2762.namprd11.prod.outlook.com (2603:10b6:5:c8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18; Thu, 21 Oct 2021 03:26:06 +0000 Received: from DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::3d9b:76d7:e274:bad3]) by DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::3d9b:76d7:e274:bad3%4]) with mapi id 15.20.4608.018; Thu, 21 Oct 2021 03:26:06 +0000 From: "Li, Xiaoyun" To: Thomas Monjalon , Xueming Li CC: "dev@dpdk.org" , "Zhang, Yuying" , Jerin Jacob , "Yigit, Ferruh" , Andrew Rybchenko , Viacheslav Ovsiienko , Lior Margalit , "Ananyev, Konstantin" , Ajit Khaparde Thread-Topic: [dpdk-dev] [PATCH v11 7/7] app/testpmd: add forwarding engine for shared Rx queue Thread-Index: AQHXxYfq+X7PWfh2kkmHoENe1IoP/KvcQ+MAgACHslA= Date: Thu, 21 Oct 2021 03:26:06 +0000 Message-ID: References: <20210727034204.20649-1-xuemingl@nvidia.com> <20211020075319.2397551-1-xuemingl@nvidia.com> <20211020075319.2397551-8-xuemingl@nvidia.com> <2170345.CEVlqgciO5@thomas> In-Reply-To: <2170345.CEVlqgciO5@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: daa3e4ae-5c4d-4133-b024-08d9944284c4 x-ms-traffictypediagnostic: DM6PR11MB2762: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9rO4FANsvF9aVnDTotpvpoFwfi59yd4FVo8w5XhOtTnMBqEygVXQoAm7og7+KwIOWrXHcis9yNJBKt989KPTaLSDGSDF7zC1lJ9OdCoYtH1AGEZ8VoGCa2Uq8o0BZ55cjSRQdFZ4nCQswNE9sm8givmv9gPdJGG1CQ3429Y23dp3dk6Zzl0bQq5pdPgu6+M5uIFZ7jdt83YWW6RK3iMtxb+g7ni94Ov52+Sp9kB6jVdFuUM3AFMjq5hzbwGa2t8h18wzsTTFm1WcHl8F2Cci74/5MXeYPmKQdIoe6vXBHfmUm0bCofbbeCVHiLc33Ab6+JFW93nd55gjIk73vOCl8UBqAdO+fopnwmPIu8HcbJ/9prHhPavgryV4BVoQuyP4c44VL5of8gVeB+iUfXxI9L6lF5lloAFsHZIpvxcQBNafnrcSGd8BqQQJKNNC0Iq4BhWkmOAfoEwWy/ciXpIJW0hXwxFcQsw1j4o4WazUV73swNsRYsKSTWZz2xrMgN/uszwfxzvwpj00wyR2Rx30NOOuExPffViQ5Xkwug0f9mkwNT/Yy4uDRhNZRGtz8PgufsY4b0fB68G6u7mVrSvu1CjWUKaRdJzceZ1wU84D3YFGjYORoCh/RUpRAujzivpfU4Gxlyn1cpuq3Jtd9P2pg2R4YiLCxPHRCiiBLTGymP983Mtf4aj0vpFWhde6w55crdbwwiv/97ttqLSXsgrb2g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5534.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(53546011)(9686003)(122000001)(110136005)(66946007)(38100700002)(6506007)(71200400001)(2906002)(8936002)(52536014)(76116006)(54906003)(66476007)(33656002)(86362001)(26005)(5660300002)(186003)(66556008)(64756008)(66446008)(83380400001)(4326008)(8676002)(7696005)(316002)(38070700005)(508600001)(82960400001)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Mm33k97MbcZMO+qNCbKmw0oSWOlL8mMGjvPJaghQEr7JC0+NZ/t4pTh7tBDW?= =?us-ascii?Q?CYfQOLwtlE8qqGKumKV3E+m2SQRd/QHIMy4zrqXHhmoew5FGwkwhFt3wDNB6?= =?us-ascii?Q?UdsRrEbn9LQRO6aWKe6sBgWyBty3SjW4yMCrw8OYdzeQwNZPT34bQbwS/Gxh?= =?us-ascii?Q?O9PpEMxTuDvzI8ujbvh/N9vJrtT3aIparTW5GqY6DIy6N4ZK/ejMOl82V7S5?= =?us-ascii?Q?fyqflZTs1IPLnAPogLVEAyCLznMtNTf7xW1qlWvtU9TZSYdKdEcB+gPVgF6V?= =?us-ascii?Q?KNT3AvVB4q4H0cMLYQhtSawQXwjlpW8umXGVGd3lsyRhybSuJ2NJEid5MkHg?= =?us-ascii?Q?m18579O+W0/ohSX8WMmv3TB/A7JUUoB98gr0JUKk2U6E1CZhcUSjGotnNFS2?= =?us-ascii?Q?QKOBlxuJrf35+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Ztb0E?= =?us-ascii?Q?ndY=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5534.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: daa3e4ae-5c4d-4133-b024-08d9944284c4 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2021 03:26:06.4337 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xiaoyun.li@intel.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2762 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v11 7/7] app/testpmd: add forwarding engine for shared Rx queue 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 Sender: "dev" > -----Original Message----- > From: Thomas Monjalon > Sent: Thursday, October 21, 2021 03:20 > To: Xueming Li > Cc: dev@dpdk.org; Zhang, Yuying ; Jerin Jacob > ; Yigit, Ferruh ; Andrew > Rybchenko ; Viacheslav Ovsiienko > ; Lior Margalit ; Ananyev, > Konstantin ; Ajit Khaparde > ; Li, Xiaoyun > Subject: Re: [dpdk-dev] [PATCH v11 7/7] app/testpmd: add forwarding engin= e > for shared Rx queue >=20 > 20/10/2021 09:53, Xueming Li: > > To support shared Rx queue, this patch introduces dedicate forwarding > > engine. The engine groups received packets by mbuf->port into > > sub-group, updates stream statistics and simply frees packets. >=20 > Given this engine is mentioned in previous commits, shouldn't it be place= d earlier > in the series? >=20 > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +#include > > +#include > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include >=20 > Please do not include useless files. +1