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 38982A04BA; Wed, 7 Oct 2020 18:39:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0A71E1B711; Wed, 7 Oct 2020 18:37:46 +0200 (CEST) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id 2F4701B711 for ; Wed, 7 Oct 2020 18:37:42 +0200 (CEST) Received: from HKMAIL104.nvidia.com (Not Verified[10.18.92.9]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Thu, 08 Oct 2020 00:37:41 +0800 Received: from HKMAIL102.nvidia.com (10.18.16.11) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 7 Oct 2020 16:37:34 +0000 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.52) by HKMAIL102.nvidia.com (10.18.16.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 7 Oct 2020 16:37:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MsFlH+b3Umuyoxvo5ozHcqcPZXT9nNkhr0Q/URKL9vdK0NsTK3B9BvI4aemwFI/qkxkatQSOFJSDAS3Lr+g+WJKwigPNd2BDRmdpoy1C1tit2UfqcOeZyXVVMZdUinWSrtxjQfHUtFZ4TH3TWFKAX6sKYCD4iXvGqJE4IqEYgqo8mB6U7bwwHkKIwll7+xR2fxr+bY+q4Z/MUoEaxvSzCeBE+sNUQhiU2vzsaXdxsIKGVhrqsH1BiwBapT5OJgWvVbhoH/HBRmXd5+VOyFp/YvKRDpPbH8iM7/QOLJtxL8zDl/1gF23HjZ2+LvE3m3Y9GGGgtV+CtTM1rhU8IQP1Pw== 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=Crcshn/LLSe2SiLxjtS7jb2Ys3DeAnVe5OkdHRnlIzc=; b=U0/TO0SqRHjiG9Pgfxh+RhfKvMClgLUipcbQfpKRSnZJGTf082QyWjKNmeHMhFuaOZj802kiBByrA7cQTUMxK63i4tz/Xd2oy4Az5DPzWXfNYt6zK0zanBZiYSPrkBpkGKgrcZMag1ULtPNlY5Sp9xiSJ756VkFU94yYxPIaLgptp0S5VQL9AaOsTk5GhTKysbvsz4zqf+TM3AIU4EdGcRpSMNC3pmfkuEJUNBuu+ltnx2Pw0UQiwx768/yTNFUiF+iD/6AxLFbqxktpgD+9nWj3U79tCAlwY/cZDV1RZjhVNp34HT1n4DIxvt0k5LzvPQ0g/Dr5qboqs4qtaeBIGQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from MN2PR12MB4286.namprd12.prod.outlook.com (2603:10b6:208:199::22) by MN2PR12MB4376.namprd12.prod.outlook.com (2603:10b6:208:26c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.32; Wed, 7 Oct 2020 16:37:31 +0000 Received: from MN2PR12MB4286.namprd12.prod.outlook.com ([fe80::61fd:a36e:cf4f:2d3f]) by MN2PR12MB4286.namprd12.prod.outlook.com ([fe80::61fd:a36e:cf4f:2d3f%9]) with mapi id 15.20.3455.023; Wed, 7 Oct 2020 16:37:31 +0000 From: Ori Kam To: Ajit Khaparde , Suanming Mou CC: NBU-Contact-Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , dpdk-dev Thread-Topic: [dpdk-dev] [PATCH v3 2/2] ethdev: make rte_flow API thread safe Thread-Index: AQHWnLSw6j1FfZ+ST0Gk9/bPaVrcuKmMNt0AgAAfytA= Date: Wed, 7 Oct 2020 16:37:31 +0000 Message-ID: References: <1601194817-208834-1-git-send-email-suanmingm@nvidia.com> <1602080249-36533-1-git-send-email-suanmingm@nvidia.com> <1602080249-36533-3-git-send-email-suanmingm@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: broadcom.com; dkim=none (message not signed) header.d=none;broadcom.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [147.236.152.129] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 544c624d-1562-4116-acb4-08d86adf4969 x-ms-traffictypediagnostic: MN2PR12MB4376: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kNA5iQHZ4/CWXaDfzE3aXPxi0dSnG3OEcckrZ3e5ISxGFP6vonF4QgA+69AP4qPKkDUB3sXzvOToHHDSclv2gtGELyrW431fTD/fMP5hBLJKk/vQB5ScSF5vKZijxVCzrLuMTO60aLXIdQGAGXn4Rj4KSCGUduR0WGvY+5iDWBWac4xXTi8OXyv5PY9sH9KvIkrYho33ohci6esLhpSzVO4rJsTe/7MFfNGRaV7Rnxt1jaqQ9kejhOn9NCTctTzHZqpWDDkjuL4bkU0DG+V8+H3jFyJPXZDB+OV+PWh7TK4h1TfMuIRrbhvHZ3GuZ+/cuLW6aok2iA4nizW3D7MyXw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB4286.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39860400002)(136003)(396003)(346002)(376002)(55016002)(186003)(26005)(7696005)(8936002)(83380400001)(5660300002)(478600001)(66556008)(66446008)(2906002)(86362001)(71200400001)(54906003)(76116006)(110136005)(33656002)(4326008)(6636002)(316002)(8676002)(52536014)(6506007)(66946007)(66476007)(53546011)(64756008)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: Unr1e9o2R3n1eJ39NPiWu1HS2nRTC/FA+9aCFGG57ZsLbcKIQ9S1Bn9GwSHF+Ut8yOYWg5k2oO+fSiB60lNETGXld5w01TwlptuK6189SDS9ZTA2AqLTkUStwd5GCwAlGtxYkXW1EseiXC8bC/XLwVMYO7retthkyDjO/bDGg6xXmVZ1SpUYrMKrCWlULgbgaAD7LlS/j8SOaUfW+bkrhyRqnL2k2bIFo28No68/qVJOLKsapHahzBC+jMvggS6fenSnfT/BmN2t4psejMvXjc3sAFGgTgUWu5WXzePcio7mJzK25/JpLKU/c/YboxcQ+V4oqV03z8J9V2boB3wbGXmcO+nprGV8NrEiHRFYf1Y9/zFNCWJrM2aVVKx7CGhbRYR/PEKIeErMCcYcb2OqAEk09FUauxNjyRMt0lQO0IHtoi9RWDvEkplDOpufPhfvE1OYaWYmJ30n+1jD1gr4XJFIov7fW7y6FZbht93swICBa46A+e7IM17aMxgpX+UtQntaA6NehJbMLSugZIstbULSmzxzBQPU7+8U5G01LXqoQSR19PS3Y9Xn6m5wGg3V25ns999o6hAoTgT8qSAsq234ZojwGGNWz+HtqlUDZAL8DYi0/Z0c3M5ORzFieTvmtnyPC65StYP3v9+D1pZ0Fg== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4286.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 544c624d-1562-4116-acb4-08d86adf4969 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2020 16:37:31.2359 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: CTsqUZ8ylVwN78Aea8hHQSbGFOiuYTuW5QglW3GkCT8tq1ksHi8kTWr+D9TgdxWqn0zzhSfNKJKhmnLXyjVLoQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4376 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1602088661; bh=Crcshn/LLSe2SiLxjtS7jb2Ys3DeAnVe5OkdHRnlIzc=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=UM7izPDDqvH1I0MvACuBGRJimCbjKCCA6ZfZheIkkoOEcDNIm7m0B/DVQdbFmfbZ9 JMg2DvV8pUO3kDDvvli3OFUqHhJzhFLj7wPVmTLZIwvIpmn0ErqP73Tu7QQFA9QlP2 MpuhnePwvhqfH7mtMQ4Ka4rtuwmn7O2xRzmhFzS/af3mFsho6PUs1FgZkKLXaT7aT5 9g9qFMVGmxZtZZjpyIo0/7njptt62BgEP/dUaV5jeX+DPa7IxmvtjuQYaDY0XBfUoj W4+GgL6/3bkvSTxppuWz8dlyBNTUYoyI/RIkAlUpguMAE619SkZnTFQEAcD1gcRKmc AvPQx/gsd8NLw== Subject: Re: [dpdk-dev] [PATCH v3 2/2] ethdev: make rte_flow API thread safe 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" SGkgU3Vhbm1pbmcsDQoNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBk ZXYgPGRldi1ib3VuY2VzQGRwZGsub3JnPiBPbiBCZWhhbGYgT2YgQWppdCBLaGFwYXJkZQ0KPiBT ZW50OiBXZWRuZXNkYXksIE9jdG9iZXIgNywgMjAyMCA1OjQzIFBNDQo+IFN1YmplY3Q6IFJlOiBb ZHBkay1kZXZdIFtQQVRDSCB2MyAyLzJdIGV0aGRldjogbWFrZSBydGVfZmxvdyBBUEkgdGhyZWFk IHNhZmUNCj4gDQo+IE9uIFdlZCwgT2N0IDcsIDIwMjAgYXQgNzoxOCBBTSBTdWFubWluZyBNb3Ug PHN1YW5taW5nbUBudmlkaWEuY29tPg0KPiB3cm90ZToNCj4gPg0KPiA+IEN1cnJlbnRseSwgdGhl IHJ0ZV9mbG93IGZ1bmN0aW9ucyBhcmUgbm90IGRlZmluZWQgYXMgdGhyZWFkIHNhZmUuDQo+ID4g RFBESyBhcHBsaWNhdGlvbnMgZWl0aGVyIGNhbGwgdGhlIGZ1bmN0aW9ucyBpbiBzaW5nbGUgdGhy ZWFkIG9yIGFkZA0KPiA+IGxvY2tzIGFyb3VuZCB0aGUgZnVuY3Rpb25zIGZvciB0a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