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 D5164A0C4D; Fri, 13 Aug 2021 17:36:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BBB474069C; Fri, 13 Aug 2021 17:36:51 +0200 (CEST) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id 6001040140 for ; Fri, 13 Aug 2021 17:36:50 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id j12-20020a17090aeb0c00b00179530520b3so762614pjz.0 for ; Fri, 13 Aug 2021 08:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jTVjNT0SjBH90cdiJvtMK4JcPUP6jjJ7tQa51RSOP/Y=; b=fcfbyT0nsoqWvWn29nDsuKFTZ7g/xl4Co/0Ipzh9jWAZrOjxb64OVi+KF+qIWfLji2 jB2AOw5hte9I6xtDbpuVpz24nR+EXNGKa1BIQjfHm+gXGdlDO7L2x7sViX8mEX0oti/y 8ng4GBE71jBldpuGxh8GFfkYnKzbWXovLFHVcsXQ15lNO79BY3BNXZ5UEjTUx1n9LzfX XcUKj1UHDPDj8Qn4VNL7s1vB47mvU+J+xLhe9K1SvCJJHDZ/RSw5eYUYUGVOg26OXmtA 3TZQucTCuX/wda5PaF4Va1dgNfQj6QjMCvLb9D7PCnC8nZQoA8TtKTO3Y9zp7xlK2VXg tXNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jTVjNT0SjBH90cdiJvtMK4JcPUP6jjJ7tQa51RSOP/Y=; b=G1iVYty1Iwl+hhAMZUW5e9hEEqa3NkTuqNRfMcSM2J5PMLJf7hj6rIUw/YhlqS+b5p wmRqaQb783p1CEomx1W/+sIsFld2o3Tik3c9yvqUHFbJlpmpqMNTKn66+4Udd1dWXkSu Ddq70vFOFO1NNlD8KUr9JL4Mspw4rs/7gdUayzYh+gGSA+W4OZ7sSWhIm+Rru3MmhfX2 Q7PTDZvVaSNSPNv1LV0XQ8SbuGsKtjnygXZhMcspDXfMGj4F4G2VuLhcSLrLcf409CdI Cf/QEs5WYay6J0WHjHrbJ8a3iZOnkzkcoNW599rI5oZZfL01bg52xhRynq6CqkchVqia 2xlA== X-Gm-Message-State: AOAM5302rFLt87htTh8nGCRd8/dYqOjSrxANtQh0msiF0Vm++OOLwtuW rDJOJ9TcH2j9R/HB2zY1nYvSbA== X-Google-Smtp-Source: ABdhPJyiRQs7w/5EcQ9+IIed/p95hAto7p5oKQyb+7SL9uXkGLAOuqaWBXmfL7ytIhzU21A8Lo2r3Q== X-Received: by 2002:a65:4307:: with SMTP id j7mr2755024pgq.387.1628869009715; Fri, 13 Aug 2021 08:36:49 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id b15sm3200548pgj.60.2021.08.13.08.36.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 08:36:49 -0700 (PDT) Date: Fri, 13 Aug 2021 08:36:47 -0700 From: Stephen Hemminger To: Vijay Srivastava Cc: , , , , Vijay Kumar Srivastava Message-ID: <20210813083647.7c1f3836@hermes.local> In-Reply-To: <20210706164418.32615-2-vsrivast@xilinx.com> References: <20210706164418.32615-1-vsrivast@xilinx.com> <20210706164418.32615-2-vsrivast@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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" On Tue, 6 Jul 2021 22:14:09 +0530 Vijay Srivastava wrote: > +static pthread_mutex_t sfc_vdpa_adapter_list_lock = PTHREAD_MUTEX_INITIALIZER; > + Why do you need a pthread_mutex when simple DPDK spin lock will do?