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 A2F3EA0547; Thu, 28 Oct 2021 20:14:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4643A40DDB; Thu, 28 Oct 2021 20:14:01 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2056.outbound.protection.outlook.com [40.107.94.56]) by mails.dpdk.org (Postfix) with ESMTP id 2AFAE4067B for ; Thu, 28 Oct 2021 20:14:00 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=knHAQQZuxxG/+I79Qeh5vkZpg0lkoWG+lrWruMiXbVdwobfir2jWfcO6bV2q6ekJZTVpcfHBGQXw0ErApnQUFTX/1Ds9BEycC/ictdMkVimt0ST/N3TWwfAH+50iKbUtz2JpoRrmaZrpsFDPrmRw1srdz08OUBblfWqhmu4NOxnR7aqrfNYu++NFXtsfhGDUyX/B7JMimy71M2kTR8pg6LcMlhA4KpQ45DIAbyzplThOnEqTtp0yQbEtIF1cllX7UDtV9q8LqjtbmsrDf7c+HC/lncWk7z9fAVOgs7K44mvnAeopL2y4zENPW35KIH3NrCyseG21WNBJfMxA2+goew== 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=LaVCDXLy51hNM3H7ZY1uD8r7w07d4KcdCTySIfwIvb4=; b=llCTwG+G5XCmhELNwnwj+HGKsuyl2JJKFwBCfsiLoM12TZuzjEySAoGK/XNjRKDzCkzOxb9iLyng2IU79iQDV05ENwDRS4usCCuaJMgKzCLLHybb+m/c8i9XqfLjEGtc+bpH/JlAiFGpMXlN/U0+2MTEnfB91p1DZs4KdTUvO2Oaiq5Y4TTMA7fTXy+cEWcW1+nmAprsZ27s43P1SdtRj0qb50wJPHdwQDGQ886gUwGVhSfCYVGCqGrjBrbchDojKtPvR6bca2vbF7y+rsHLJhy57EZOnA+GBt/4wV70bY9/C9JP43delHHtl835W/Cga/yKHnLntP3qIIqyewbh8Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xilinx.com; dmarc=pass action=none header.from=xilinx.com; dkim=pass header.d=xilinx.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LaVCDXLy51hNM3H7ZY1uD8r7w07d4KcdCTySIfwIvb4=; b=FF+3PZtoWswZRo8AIT9wAf0KshyJ7xZJw9eMrD5ZwDs7rddIPxZc5+xixa/bAUsrQXUSu0WkI6RLLjIFYdi95fRexZNHS+cgfx8CkUvqqLUjThfxQn4PLAda4Im0Zlow9xrRj0dZVZd5mHllGHNQoYqa8828A2nmZ0dFRV/dIOY= Received: from SJ0PR02MB7327.namprd02.prod.outlook.com (2603:10b6:a03:29c::20) by BYAPR02MB4341.namprd02.prod.outlook.com (2603:10b6:a03:56::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.20; Thu, 28 Oct 2021 18:13:58 +0000 Received: from SJ0PR02MB7327.namprd02.prod.outlook.com ([fe80::b5f0:5042:370c:f06d]) by SJ0PR02MB7327.namprd02.prod.outlook.com ([fe80::b5f0:5042:370c:f06d%3]) with mapi id 15.20.4649.015; Thu, 28 Oct 2021 18:13:58 +0000 From: Vijay Kumar Srivastava To: Stephen Hemminger CC: "dev@dpdk.org" , "maxime.coquelin@redhat.com" , "chenbo.xia@intel.com" , "andrew.rybchenko@oktetlabs.ru" Thread-Topic: [dpdk-dev] [PATCH 01/10] vdpa/sfc: introduce Xilinx vDPA driver Thread-Index: AQHXcoZjeGgFiDVh+EWp3FRKuaQEYqtxzQCAgHeaa5A= Date: Thu, 28 Oct 2021 18:13:58 +0000 Message-ID: References: <20210706164418.32615-1-vsrivast@xilinx.com> <20210706164418.32615-2-vsrivast@xilinx.com> <20210813083647.7c1f3836@hermes.local> In-Reply-To: <20210813083647.7c1f3836@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=xilinx.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 75019ea6-08df-4413-1106-08d99a3eb5fb x-ms-traffictypediagnostic: BYAPR02MB4341: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Nig38nsVBB64mKkqhKQn9XjjBGvc8FOr9tWG4DXek05zBGXTmbr/3qW+QthQRmaVhhMz25WCCgszYn7/gCb3GYY5vubt12DEm6ZiJ45s05cvAT4T1ayJtVaxd7wijJfnCmHosV/YaGNlkOeMBSxQMo1PObZSqF+ar8R673KuYDGkRNgR1LJDauYQCOJKKuAVdsOjEXbjJimsCofnxFDmanR4pGS0qn+ZSn3CVTnu19ah6enP/DzLT2hbI3+j0PK1gqENPOJIQGnQQ8KBCX3NP2yGVP+y87MxdtjFbAvNTJ3HZZ7fdvoqr/EzXi/ZeS8bAAh659EMQSgkZ0rN4CUHI38/6FQf13fITY184OMZUKRXIM7ibkvD9Z3HHyIsOPXQyofbxcvawgxiV5wnRQtyN0UlXTkWzFtbc7+3m/qkgMD8M505KGPTYTYNY8tN2/ePolPcbTSc4BnafuigwfAzUMV/YhDYa/f8bmgOoTVzo4hqIBU5kjU3wl0CX8mmKZ8Qbvs1ma71UOw7NAFaygfmHyrcqQcyTQ04ZpuBpQTR4Y+igT/Gcyvg0I82R8OajWZmvcLuNOD+lWaWGHAHE3sa8rQKtvTHBS2BLVQgr6wIWldB/O1/KurVohMPobJtd6PaGYKhpmoNf7TNfTJbXpANXs1UDqkjaZoRlW8S/q7V+YHu9+wKVn0mKHffwkGloVPNoIA/7wTWyfUVoHGgRWK5dg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR02MB7327.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(54906003)(66556008)(83380400001)(8936002)(64756008)(4744005)(6916009)(38100700002)(2906002)(55016002)(8676002)(316002)(66946007)(66446008)(52536014)(26005)(86362001)(76116006)(186003)(71200400001)(33656002)(5660300002)(7696005)(508600001)(9686003)(38070700005)(122000001)(6506007)(4326008)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?b5PfehM/qCuj7gNR//nsUzmcQLu8D8yBCI3vEOosYYWPUZ2772n5n+wgsX1r?= =?us-ascii?Q?nG+U8KoqAWHwmJXzlTq3OEX+iBVSiuwcORlt9+QS9zDZcIJNQrHYYrI02LKw?= =?us-ascii?Q?vOtQ1OPhyYQ5K/9sPhQ+felRa9a31MdAJqIzaQAEKfaquWUpImdQjwG74atb?= =?us-ascii?Q?TYi2mL+IHf4YGDg5DM9g3iAJCfv6OBfPNFKwqY8BkNqHA3bJ/a+W3wKj+jS2?= =?us-ascii?Q?iQAZVT4wqVmuhfGxJprTlCzZ+7rnl2qZKnJgR/VtjHsItFF8RyY3RPK7rxom?= =?us-ascii?Q?qNpIg9241gMqAnMeOWvuxNRrCHfNcscf/Ro5JeWFFg0gygFGIapd5mJmmP0+?= =?us-ascii?Q?4F0DjmSlxLtvUs7+vY3JeRCceHt/pvoZmUK9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us-ascii?Q?7vQfpqcI75LRzbXP3WFKOw1UKNwr6moGAaBDzDt9YdOzIGBKGCMQSBy+TuZG?= =?us-ascii?Q?BIf1wxgDZK7WPxp/XwJ0DpHv6T/vwq/d3izLizke44HzCo18LSJft38FwaBK?= =?us-ascii?Q?MIoMv5ZSoHgTGbTfAv72vDHrrSZwHbI5ofhXq+s82lxUgT+PWlK70EXjJWWo?= =?us-ascii?Q?AE/JP9919VKqRi/YSC4mrErHG67HXXiB1budCZibR/4+iviIsS5GeeLf0Q+t?= =?us-ascii?Q?uDddOzyLTD/6UR++W7K//eiyspubVcgP8oLeAuoZZbM7YdAi9ACgyMWs7EjK?= =?us-ascii?Q?ZKzzgSoPIjdbQb6dqzGJhGBLTWzWJBykT/yHUumGyHp/FUUBTXsnVNugYZar?= =?us-ascii?Q?y0M6VY8kBRAV82tWUdPv2Lc=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR02MB7327.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75019ea6-08df-4413-1106-08d99a3eb5fb X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Oct 2021 18:13:58.0201 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7cWswqzbfY/0L+3YaeYl+EJHGzETAd0xDmlzq2zqpF4Ev6oOoqCxIA7kUvqPWw+m0eYDNJ/mrfmClNjruxR8gQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR02MB4341 Subject: Re: [dpdk-dev] [PATCH 01/10] vdpa/sfc: introduce Xilinx vDPA driver 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" Hi Stephen, >-----Original Message----- >From: Stephen Hemminger >Sent: Friday, August 13, 2021 9:07 PM >To: Vijay Kumar Srivastava >Cc: dev@dpdk.org; maxime.coquelin@redhat.com; chenbo.xia@intel.com; >andrew.rybchenko@oktetlabs.ru; Vijay Kumar Srivastava >Subject: Re: [dpdk-dev] [PATCH 01/10] vdpa/sfc: introduce Xilinx vDPA driv= er > >On Tue, 6 Jul 2021 22:14:09 +0530 >Vijay Srivastava wrote: > >> +static pthread_mutex_t sfc_vdpa_adapter_list_lock =3D >PTHREAD_MUTEX_INITIALIZER; >> + > >Why do you need a pthread_mutex when simple DPDK spin lock will do? rte_spinlock_lock is being used in the subsequent patches.=20 Only for the adapter list (sfc_vdpa_adapter_list) pthread_mutex is being u= sed. Regards, Vijay=20