From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20053.outbound.protection.outlook.com [40.107.2.53]) by dpdk.org (Postfix) with ESMTP id 870002B95 for ; Mon, 8 Apr 2019 08:10:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UbxbO+1YdU8owVntrkmU3LgOrUP5VoacW7WY2/T+joY=; b=qN8lEzCXUvkBacGXRU/kd+XcWa2vbS64VinCjelLOdmV3DM/zn6466GyTuf6nYLNT4Xn4T12vadxeMWK2AB+0I6392qi3WFlst5Ocufj9mIR2StqsZSuZBloQ1rUDm0KII3owPHJtbJLR0aAH8/qrHL0XMNcRKrM4nQHZOudlRw= Received: from AM6PR08MB3782.eurprd08.prod.outlook.com (20.178.89.23) by AM6PR08MB5128.eurprd08.prod.outlook.com (10.255.120.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.16; Mon, 8 Apr 2019 06:10:11 +0000 Received: from AM6PR08MB3782.eurprd08.prod.outlook.com ([fe80::a019:568d:d0c2:59b7]) by AM6PR08MB3782.eurprd08.prod.outlook.com ([fe80::a019:568d:d0c2:59b7%4]) with mapi id 15.20.1771.014; Mon, 8 Apr 2019 06:10:10 +0000 From: "Ruifeng Wang (Arm Technology China)" To: "Shreyansh.jain@nxp.com" , "dev@dpdk.org" CC: nd Thread-Topic: [dpdk-dev] [PATCH] examples/l3fwd: support separate buffer pool per port Thread-Index: AQHUo1eqaIUoRjuicUqwMQcvs709jaYyVziw Date: Mon, 8 Apr 2019 06:10:10 +0000 Message-ID: References: <20190103112932.4415-1-shreyansh.jain@nxp.com> In-Reply-To: <20190103112932.4415-1-shreyansh.jain@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0beee340-c6d2-45f7-ff33-08d6bbe8db8c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM6PR08MB5128; x-ms-traffictypediagnostic: AM6PR08MB5128: x-ms-exchange-purlcount: 1 x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0001227049 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(376002)(136003)(39850400004)(346002)(13464003)(189003)(199004)(97736004)(186003)(74316002)(33656002)(7696005)(81156014)(76176011)(14454004)(14444005)(256004)(102836004)(2501003)(8936002)(3846002)(81166006)(53936002)(26005)(6436002)(2906002)(55236004)(4326008)(53546011)(105586002)(106356001)(99286004)(6506007)(305945005)(7736002)(71200400001)(71190400001)(6116002)(68736007)(316002)(446003)(6246003)(6306002)(5660300002)(229853002)(86362001)(11346002)(9686003)(476003)(486006)(110136005)(72206003)(25786009)(66066001)(52536014)(966005)(55016002)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB5128; H:AM6PR08MB3782.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: zrwUlmGcXkQKvS3PBek3DMhuXRFHsMrT/vNbR9o7SSMLTt+64Upsg8uKo4L4+OxSGkVmoK04ICyddxLhdY/s+7GpC3zu/kfCANfAp2TwAxa1K2UPJI/DsaDZnHIud97ODU9J7JbP6uYAkRHRlU9q1RednUexSBXQj84uMB/dDFYJyXRJCE1W1WhCI9pJK6Veu9WOWCD9j+LFFmesCCvLPyOpmdMAZsUYlJ1zJ/8PdNzs7vvTR1MF02u3qxhwU8ukc1Es79x538cmUUTuPruLtb8u39wyH4uIDe6vrbrLm+tdQv5bvuRUbTbFpUhP4Hf1i4nN2L3sIbS+7MUZsd0G7XaLH3rSmojnlyBfXXKUqXKqBDN+9SWViV758V3gvtvIKpn3txRj4u9t5umEFX/Zo0SDTpxpjSOl3OCRIJRdbjY= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0beee340-c6d2-45f7-ff33-08d6bbe8db8c X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2019 06:10:10.9070 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5128 Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd: support separate buffer pool per port 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, 08 Apr 2019 06:10:12 -0000 SGkgU2hyZXlhbnNoLA0KDQpJIHRyaWVkIHRoaXMgcGF0Y2ggb24gTWFjY2hpYXRvQmluICsgODI1 OTkgTklDLg0KQ29tcGFyZWQgd2l0aCBnbG9iYWwtcG9vbCBtb2RlLCBwZXItcG9ydC1wb29sIG1v ZGUgc2hvd2VkIHNsaWdodGx5IGxvd2VyIHBlcmZvcm1hbmNlIGluIHNpbmdsZSBjb3JlIHRlc3Qu DQpJbiBkdWFsIGNvcmUgdGVzdCwgYm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00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 20926A0096 for ; Mon, 8 Apr 2019 08:10:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CE4392BCE; Mon, 8 Apr 2019 08:10:14 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20053.outbound.protection.outlook.com [40.107.2.53]) by dpdk.org (Postfix) with ESMTP id 870002B95 for ; Mon, 8 Apr 2019 08:10:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UbxbO+1YdU8owVntrkmU3LgOrUP5VoacW7WY2/T+joY=; b=qN8lEzCXUvkBacGXRU/kd+XcWa2vbS64VinCjelLOdmV3DM/zn6466GyTuf6nYLNT4Xn4T12vadxeMWK2AB+0I6392qi3WFlst5Ocufj9mIR2StqsZSuZBloQ1rUDm0KII3owPHJtbJLR0aAH8/qrHL0XMNcRKrM4nQHZOudlRw= Received: from AM6PR08MB3782.eurprd08.prod.outlook.com (20.178.89.23) by AM6PR08MB5128.eurprd08.prod.outlook.com (10.255.120.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.16; Mon, 8 Apr 2019 06:10:11 +0000 Received: from AM6PR08MB3782.eurprd08.prod.outlook.com ([fe80::a019:568d:d0c2:59b7]) by AM6PR08MB3782.eurprd08.prod.outlook.com ([fe80::a019:568d:d0c2:59b7%4]) with mapi id 15.20.1771.014; Mon, 8 Apr 2019 06:10:10 +0000 From: "Ruifeng Wang (Arm Technology China)" To: "Shreyansh.jain@nxp.com" , "dev@dpdk.org" CC: nd Thread-Topic: [dpdk-dev] [PATCH] examples/l3fwd: support separate buffer pool per port Thread-Index: AQHUo1eqaIUoRjuicUqwMQcvs709jaYyVziw Date: Mon, 8 Apr 2019 06:10:10 +0000 Message-ID: References: <20190103112932.4415-1-shreyansh.jain@nxp.com> In-Reply-To: <20190103112932.4415-1-shreyansh.jain@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Ruifeng.Wang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0beee340-c6d2-45f7-ff33-08d6bbe8db8c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM6PR08MB5128; x-ms-traffictypediagnostic: AM6PR08MB5128: x-ms-exchange-purlcount: 1 x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0001227049 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(376002)(136003)(39850400004)(346002)(13464003)(189003)(199004)(97736004)(186003)(74316002)(33656002)(7696005)(81156014)(76176011)(14454004)(14444005)(256004)(102836004)(2501003)(8936002)(3846002)(81166006)(53936002)(26005)(6436002)(2906002)(55236004)(4326008)(53546011)(105586002)(106356001)(99286004)(6506007)(305945005)(7736002)(71200400001)(71190400001)(6116002)(68736007)(316002)(446003)(6246003)(6306002)(5660300002)(229853002)(86362001)(11346002)(9686003)(476003)(486006)(110136005)(72206003)(25786009)(66066001)(52536014)(966005)(55016002)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB5128; H:AM6PR08MB3782.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: zrwUlmGcXkQKvS3PBek3DMhuXRFHsMrT/vNbR9o7SSMLTt+64Upsg8uKo4L4+OxSGkVmoK04ICyddxLhdY/s+7GpC3zu/kfCANfAp2TwAxa1K2UPJI/DsaDZnHIud97ODU9J7JbP6uYAkRHRlU9q1RednUexSBXQj84uMB/dDFYJyXRJCE1W1WhCI9pJK6Veu9WOWCD9j+LFFmesCCvLPyOpmdMAZsUYlJ1zJ/8PdNzs7vvTR1MF02u3qxhwU8ukc1Es79x538cmUUTuPruLtb8u39wyH4uIDe6vrbrLm+tdQv5bvuRUbTbFpUhP4Hf1i4nN2L3sIbS+7MUZsd0G7XaLH3rSmojnlyBfXXKUqXKqBDN+9SWViV758V3gvtvIKpn3txRj4u9t5umEFX/Zo0SDTpxpjSOl3OCRIJRdbjY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0beee340-c6d2-45f7-ff33-08d6bbe8db8c X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2019 06:10:10.9070 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5128 Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd: support separate buffer pool per port 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190408061010.gV3vZLN-SUUVz93k_sOsMmepUIS577IckuY4gTnn-HI@z> SGkgU2hyZXlhbnNoLA0KDQpJIHRyaWVkIHRoaXMgcGF0Y2ggb24g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