From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C576CA2F63 for ; Thu, 3 Oct 2019 19:46:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E06E61C132; Thu, 3 Oct 2019 19:46:09 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80075.outbound.protection.outlook.com [40.107.8.75]) by dpdk.org (Postfix) with ESMTP id 8CE671C12A for ; Thu, 3 Oct 2019 19:46:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NYmPyXnFkJzQHU+6gfB8cO3QyJdOYVWSp7F62r7+nkmATd8gH9wAXi0c+eJgnvrevN32Q2G+LV4lgm/2Px7ryqKFGPjCoYB69PhhTT+V6Lzmj6fwsri5zY0YTTkNtGrRMwI0uPnRgzLIf0Ea6Uh2FVWqJTU6ZJGyGJyTpNdlkr/IsPU+702n5TSgFALnH/CJT8/fNB8GvQwGFDS6TLyQsIXaSYakumR/6U/X7aAEI7XTFz+NlqEM/hpChLSHqWqU7EWvutexNsmD7zA9Gtj/9kcDLeuvFG48zjB+579TV4ize/fASk5mmxPWKJmYJR/Z3qxSJbFDslQ2z9CMOnWeBw== 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-SenderADCheck; bh=dpPpHvwkj00xNwWNW0RC1R//p+5eQXkZbSQKvwGvOD8=; b=aRQNFlfm/ck8JJ5xPfic/ZH8pEeG8OcfqhQxGE0Xc58TaytKNwyIwulj1LDQnYZjMtKhyUcmPI4/XzVipTGM2nBtWOo4vqxAb4Bd9lpxujVGgvY9E7P6mUjaMQ+8LD+0617Vn5D97mlAb8Kh+pXn97V4xdMAp9/SG8P+PUozGnlcl47vGhHKNKEWpb1qhYme6MFolJnLyjY+BrO9cQ/Knags5c/ItdYc2tUj3PiucW17myaoe7VK9yVhkXI/x8GHCYTe5YoRi4XTFxm3hQ1wRh9Sjw37rcYtnDVs8sYwCrBqExdJ+MNddIxlw2C2Y3yLteYveVe+awrL9zphSAS8gw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dpPpHvwkj00xNwWNW0RC1R//p+5eQXkZbSQKvwGvOD8=; b=DKyPDkAjsyfV9lOsNYZxl5c8KHZfaecsYeok1vDsm36CoM+OIYEjxALcAniB9tSSH0t9jVJobk43diu6i6qNhYPdrD6TLadJhHxGm7hH9gptsXvAnPIhSQ2ef0FYx829qjA4cAN2ifpKDBdx5LK346G3bFw6LWf6ofuljFfm/ms= Received: from AM4PR05MB3425.eurprd05.prod.outlook.com (10.171.190.15) by AM4PR05MB3345.eurprd05.prod.outlook.com (10.171.189.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.17; Thu, 3 Oct 2019 17:46:06 +0000 Received: from AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::7964:7996:4c67:ade0]) by AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::7964:7996:4c67:ade0%3]) with mapi id 15.20.2305.017; Thu, 3 Oct 2019 17:46:06 +0000 From: Ori Kam To: Andrew Rybchenko , Thomas Monjalon , Ferruh Yigit CC: "dev@dpdk.org" , "jingjing.wu@intel.com" , "stephen@networkplumber.org" Thread-Topic: [dpdk-dev] [PATCH 01/13] ethdev: support setup function for hairpin queue Thread-Index: AQHVdI9BkWYJ+mlzFEWqs6ph9WFTv6dBLuFAgAFl4YCABLQDIIABqlcAgAAuGgA= Date: Thu, 3 Oct 2019 17:46:06 +0000 Message-ID: References: <1569479349-36962-1-git-send-email-orika@mellanox.com> <1569479349-36962-2-git-send-email-orika@mellanox.com> <4c7da322-ea96-9649-b6cc-aad3a21df57a@solarflare.com> <87d7bb44-0537-3927-3276-e15743654268@solarflare.com> <02eda62f-f332-dbb4-240c-87c10b941ad0@solarflare.com> In-Reply-To: <02eda62f-f332-dbb4-240c-87c10b941ad0@solarflare.com> Accept-Language: en-US Content-Language: en-US X-Mentions: thomas@monjalon.net,ferruh.yigit@intel.com X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=orika@mellanox.com; x-originating-ip: [185.175.35.255] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a3277f7e-3b1b-4d38-1146-08d74829917c x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: AM4PR05MB3345: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 01792087B6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(346002)(39860400002)(396003)(366004)(13464003)(199004)(189003)(66446008)(66556008)(64756008)(66946007)(446003)(6246003)(4326008)(6116002)(66476007)(66066001)(71190400001)(3846002)(5660300002)(25786009)(6436002)(71200400001)(9686003)(229853002)(256004)(14444005)(2906002)(7736002)(54906003)(305945005)(76116006)(33656002)(110136005)(86362001)(316002)(74316002)(55016002)(99286004)(53546011)(6506007)(14454004)(8936002)(76176011)(478600001)(186003)(26005)(476003)(102836004)(486006)(81166006)(81156014)(11346002)(8676002)(7696005)(52536014); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3345; H:AM4PR05MB3425.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bLIGOekH7M2bl8+tohTTc9JoSapxhz+9lE4t8PjUPzgq4xFidtDrjROQYBHqVW+t3ZcJTpDuZNkR5Xyl5M62oxPNcfEVHkqmHornRppeq+Ijx+Hu+BrgYQqQaiAvlq7ZcuWjrTQyxFg8ot5pyem7dF05La982rpepxU9wZhMi9VLB1FPtrrpdb8qZYsXEGyD0x6w4MCuCXQ+SJjNvwAWe6+XVFes2hUizfmi4dGPI8E9QWb4+zPBoo7H48xuZJ5yJHfJb2bZASC2CvFdx2cFJkm2OoFQaKJ5H8WWxhcqLQrfuh/IZQ7X/015OK21CTL4Il7nRScy6r3nUdNbYvgK4AHIZTDNuTi44BfnkAor7tg2aYIWVI+Mmq+WV2UumHXWpxkW/y46/0qn5gpaYFGS791owN9OYt1MLYg360g7yqk= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: a3277f7e-3b1b-4d38-1146-08d74829917c X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Oct 2019 17:46:06.4462 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: bPbGaPt1/KEmqpaxGguNgqK9u8Dh1VKByhxS3Xw8dsS9t1lyDKTGUSn5TI3TtLtkKPNcBXKWLswLCqJxmmts9w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3345 Subject: Re: [dpdk-dev] [PATCH 01/13] ethdev: support setup function for hairpin queue 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" SGkgQW5kcmV3LA0KDQpAVGhvbWFzIE1vbmphbG9uLCBARmVycnVoIFlpZ2l0DQoNClBsZWFzZSBj b21tZW50IGlmIHlvdSBoYXZlIGFueSBpc3N1ZXMgd2l0aCBteSBhbnN3ZXIuDQoNClRoYW5rcywN Ck9yaQ0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEFuZHJldyBSeWJj aGVua28gPGFyeWJjaGVua29Ac29sYXJmbGFyZS5jb20+DQo+IFNlbnQ6IFRodXJzZGF5LCBPY3Rv YmVyIDMsIDIwMTkgNDoyNiBQTQ0KPiBUbzogT3JpIEthbSA8b3Jpa2FAbWVsbGFub3guY29tPjsg VGhvbWFzIE1vbmphbG9uDQo+IDx0aG9tYXNAbW9uamFsb24ubmV0PjsgRmVycnVoIFlpZ2l0IDxm ZXJydWgueWlnaXRAaW50ZWwuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnOyBqaW5namluZy53dUBp bnRlbC5jb207IHN0ZXBoZW5AbmV0d29ya3BsdW1iZXIub3JnDQo+IFN1YmplY3Q6IFJlOiBbZHBk ay1kZXZdIFtQQVRDSCAwMS8xM10gZXRoZGV2OiBzdXBwb3J0IHNldHVwIGZ1bmN0aW9uIGZvcg0K PiBoYWlycGluIHF1ZXVlDQo+IA0KPiBIaSBPcmksDQo+IA0KPiBAVGhvbWFzLCBARmVycnVoLCBw bGVhc2UsIHNlZSBxdWVzdGlvbiBiZWxvdy4NCj4gDQo+IE9uIDEwLzIvMTkgMzoxOSBQTSwgT3Jp IEthbSB3cm90ZToNCj4gPiBIaSBBbmRyZXcsDQo+ID4NCj4gPiBTb3JyeSBpdCB0b29rIG1lIHNv bWUgdGltZSB0byByZXNwb25kZWQsIChJJ20gb24gdmFjYXRpb24g8J+YiikNCj4gPiBJIHRoaW5r IHdlIGFyZSBpbiBtb3N0IGNhc2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