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 DB0B943A12; Tue, 30 Jan 2024 22:30:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5CC7F402CD; Tue, 30 Jan 2024 22:30:08 +0100 (CET) Received: from BN8PR05CU002.outbound.protection.outlook.com (mail-eastus2azon11023019.outbound.protection.outlook.com [52.101.56.19]) by mails.dpdk.org (Postfix) with ESMTP id ADEF1402A8 for ; Tue, 30 Jan 2024 22:30:07 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D89aVRlAfeni4tgovemXb5GN/5Dp7vr+Ud8QoQDzKE5Qkc+DPFmhfMP/TgcQyHQeobv4DMh+iGidwj/1NRcKgg/j8DY/KfSGHRBpCy87zEhDmAg0+Ln7CI9LS1Oxr9xG+dmPRhcwsV41PkUNz3eqOjSJpO0y3g60cacWfF6vi7K9PrG9u7zURp0fgQiHNPKfBlSfohvlOpO2vkU3HHAo38BypVJGr7hsJIa6r0W4SjYROjGy0SYJrHunLjoUHEEOeh1S+WIr2lyc3Q3c2B1DKtg4+MNwV7vDwq1mnv+ZTRuqlpvf2SKqvybDTL+dXGNmYbo70s0qQw9/+kSubOqLSg== 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=wKPH3RD0I/aPS+w4l3AJ2WDJRHRUFUwANMm+lap9iCc=; b=SwbJK95hZtxOtpE2c2Wwjrrd9GD2EmHy3Y0i5+0I7L6IOKb2gZBqQXIJcunLshiBSSdGrKVU9xWWAsK6vN/Rph75uYyIawgE4f2cjI2UqPNFv6kRACegoRwh4thJI52+aR6s9roY9C1FclOa4UsoMw0Cllda+2T4nurJWyJ3IFLIRn9Fb+YSbwAMQp1iOM5aGcLqgrUu7/amkQTdhGy8eXPW64ZRkeBfuttRUdP8S9BR3ZHXDv7jkAczkhatGGGIVc2t07wHcaUJLX8gmli4gOQ/kOAl+d99Pt0iT3MJq6SRvKG47cCm1hQYDFk9cszH3OXwk3OXc2DwwgO52cy/ow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none Received: from PH7PR21MB3263.namprd21.prod.outlook.com (2603:10b6:510:1db::16) by DS7PR21MB3500.namprd21.prod.outlook.com (2603:10b6:8:93::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.2; Tue, 30 Jan 2024 21:30:05 +0000 Received: from PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::38ce:7072:976c:bb15]) by PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::38ce:7072:976c:bb15%3]) with mapi id 15.20.7270.003; Tue, 30 Jan 2024 21:30:05 +0000 From: Long Li To: Ferruh Yigit , Andrew Rybchenko CC: "dev@dpdk.org" Subject: RE: [Patch v2] net/mana: use rte_pktmbuf_alloc_bulk for allocating RX WQEs Thread-Topic: [Patch v2] net/mana: use rte_pktmbuf_alloc_bulk for allocating RX WQEs Thread-Index: AQHaUxl9ccGx8ROH1E+8R8KoEK3RW7DyJW4AgACsz1A= Date: Tue, 30 Jan 2024 21:30:04 +0000 Message-ID: References: <1706150562-23248-1-git-send-email-longli@linuxonhyperv.com> <1706577181-27842-1-git-send-email-longli@linuxonhyperv.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=ee268e5e-1747-48b0-be0d-cb5bd8ca7c09; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2024-01-30T20:38:02Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR21MB3263:EE_|DS7PR21MB3500:EE_ x-ms-office365-filtering-correlation-id: c10ddf0c-340c-43d2-ca18-08dc21da9fee x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ShFnNQQjsgvri7xiD0B1aOCaV8nJ/D8az7fAFY/K5w5uTDpXhvuoI6wsYoHtQh6ZqONS0ggXIAudpJ3NLVSn9Q79ED3uXqqzfUsdvgt5D5D/zqFvT0MM3DdiusgSJyctHPSNlH9WeaafTAkjH6B4FUq2tbspoCpRNBgmXgSVTXCq3y9I0hhYBrNfSwetyKvQSDvvrl4lluiHQ1ruRBhe2YHhIUH6qCz5+Uvd4XZOuqXLjXQQnZoRy9OX3jKBDq1HXTVW4gF6smwgzLkRjjI4nV8X+GW41cg+MSPPmkWTbQNX2RndrmIsJwgUmNUvcBkQWpFDRCg2mz5UInn8J3xD6HN+nT6Fh7IAnAptL4g4pzlP36uKfnFL585DT2NzQmLEA52h4RzR9sJMUDhLrCE5vmo15tvUwIiAEpQZw4Dj3bjikteCSrctYdQeXLH/5q23klkxCqSVZjnms0q27dmezAIZRSc6LYhrnHGywfQ2giIaCSswVP8U+lQoTIddEDHamp3rry8Uy6fN6oIL6RFuHnzbGkAz5eH2k9EOqo2kBBt9rnYJOttisKUG6pYYptyg399Ne39ynxJKBU+5Z8busbhqbDwP2pgdOPEijw7rTx7A07a/QCEie1S9IKkkaPEp x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR21MB3263.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(376002)(39860400002)(136003)(346002)(366004)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(41300700001)(55016003)(8990500004)(38070700009)(83380400001)(6506007)(10290500003)(26005)(478600001)(9686003)(82960400001)(7696005)(82950400001)(71200400001)(38100700002)(66476007)(122000001)(316002)(86362001)(66446008)(2906002)(33656002)(64756008)(8676002)(66556008)(5660300002)(8936002)(76116006)(4326008)(110136005)(52536014)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?V2x0eXNYdkswSWFkcTM3dUhuMlBHUk90NjJYdnVVVHBLS09xYVJOMWhhWVQx?= =?utf-8?B?NUpXeVBnN3lOTk5raG0xT2k4Q1M5QnQvdFlVRFdOMTVGYmV3ZC9WaGNpSXNu?= =?utf-8?B?Ly9ZVHcwMVhzR08zeEQ3enJrOEdCemlwWU45YkVwcXltSnNiajRQUkltc0xv?= =?utf-8?B?cWtaNUhncjF3Zm5EYUh3d3M1NVh2QzRGYmFJNzF3WE5ibklYalZmTnY0OThJ?= =?utf-8?B?MU1CekNmd2JkanpEdFRJUkRvK04rc3FDbTdpT2kybTVpRW5VSW1GcWxSK1pE?= =?utf-8?B?cmFaS2FkRVVZVVI2d1NTV3lRYmxCSzBmdzA0a21RVWJodktDSm96WUNYL3Rr?= =?utf-8?B?YXBzWVhvTGVJODdaTURSMFIrVU1ld2hQdG55MEN2Zk5kOTB2YTFWQnNJM0pm?= =?utf-8?B?RXNFU3o2bldMdjNHakVPQjVUZmpVcnJRa1dSOEtac1Y0WHhJN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k4zRlhjMzJiTHZYYVh3ZmRWMTJ3MjY4?= =?utf-8?B?V0ZzU0hlVi96NC9zREFJbnNsS1h6TERBMGU1azBhcGJJZlN4OXpLc01OdGp4?= =?utf-8?B?clF6aGtqK3NvY1V4dFRWN3ZJZ2FZVkZraTVVWGs5bno4a0dHOThXR0VnZW5X?= =?utf-8?B?amxHS3RCTWdtdVhxQk42VUJONkozVFJ0M0pscTJmWFBBYTN4TXhaTzBlckZs?= =?utf-8?B?ZXVHeWpIV0ptS2RFQkQ2TU1IMVNBZU1IdDRJaWZCR0g1Y0tMVW8xdVRnUGxK?= =?utf-8?B?ZmYyOWdpOFAzTnIzaGxMd2tsUFFxRytzVURqRHZIQ2pVS0hzc1RXd1FzVC8v?= =?utf-8?B?WFhhVHpRL0ZGZ3ZCK2E0QlJiS2VNNjZ2ckNHckJMYWxYcVF6c0luZWk4ODhj?= =?utf-8?B?cFdjTTJxbmxlU3NheEFVQ2JLK1J6ZHJrK2tVWGZBbFhPZnFpYnltOFROSUNk?= =?utf-8?B?WXBSQ3N2TENqOUVLUW1iYnRHR1ozQ2lNeTJzQlZPajljclVSNGcyM24yZ3c0?= =?utf-8?B?WHVWc1pxSnpjZTdOdWhCMkhGZVZ5c1VwdmhTcDlEd2ptbUJIeHpRcUIzWTgw?= =?utf-8?B?RTVFVTd0Ny94QmxCaUdQRytpN0dld0VEYkVLNGtRUEhjNGxoMlVOUndUa0gv?= =?utf-8?B?N0svOFpVVm9TTnZnemwrby9QT0R0eTBBeS9nb2srNXNaYVY0RDM0eTFCd2pQ?= =?utf-8?B?dGt0L1lvK1FJS3NYTitoUEJIU3RFUmdPQjFBdjh1WENpWTE3NU1tbXJRNmtJ?= =?utf-8?Q?m1KRzggfhYLINlq4f/p8r0VsR?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR21MB3263.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c10ddf0c-340c-43d2-ca18-08dc21da9fee X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2024 21:30:04.9415 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7wSieYFfrboj3Lm09XzUKrTyeOJvF7fkUcI9rsJYLfv2B6csn1YFpkLXqls+2OFOhGVorVA5ZofsKVSSFNjdEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR21MB3500 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 PiBDYW4geW91IHBsZWFzZSBxdWFudGlmeSB0aGUgcGVyZm9ybWFuY2UgaW1wcm92ZW1lbnQgKGFz IHBlcmNlbnRhZ2UpLCB0aGlzDQo+IGNsYXJpZmllcyB0aGUgaW1wYWN0IG9mIHRoZSBtb2RpZmlj YXRpb24uDQoNCkkgZGlkbid0IHNlZSBhbnkgbWVhbmluZ2Z1bCBwZXJmb3JtYW5jZSBpbXByb3Zl bWVudHMgaW4gYmVuY2htYXJrcy4gSG93ZXZlciwgdGhpcyBzaG91bGQgaW1wcm92ZSBDUFUgY3lj bGVzIGFuZCByZWR1Y2UgcG90ZW50aWFsIGxvY2tpbmcgY29uZmxpY3RzIGluIHJlYWwtd29ybGQg YXBwbGljYXRpb25zLiANCg0KVXNpbmcgYmF0Y2ggYWxsb2NhdGlvbiB3YXMgb25lIG9mIHRoZSBy ZXZpZXcgY29tbWVudHMgZHVyaW5nIGluaXRpYWwgZHJpdmVyIHN1Ym1pc3Npb24sIHN1Z2dlc3Rl ZCBieSBTdGVwaGVuIEhlbW1pb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