From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id A91EE23B for ; Wed, 23 May 2018 18:50:13 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id m129-v6so11000163wmb.3 for ; Wed, 23 May 2018 09:50:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3dE2AnNU/8vmaVn4tEdaQgRMYS9JtKJZywiRXimeQ8E=; b=NihX4mpafSOxmElPEVfszb4XOXdR3WeXoSqGLpycNggMpSB1uedI2BdiO+W+/aJ2ay 6F22xlmvqxSoxDkCspUJfKz/PwEKDsOv5Blk0/U2of/KkCiaROTkxBJdpiiP4mdx5Y42 GeS1/CHCXczI4kIVLzzjNoCCJ/iyldMbPZjFW+AJvfCpOdYl215VVzlG1+snAmjKMQq7 r2Y5GxUCnzaIqMz4agJNZ4ctzjrLHwfXoqC7nB8lCfLquCYVyQz/C/JyXhycB/5rdkPI 4QGqe/MSKzUD3+MNp1E+BZBobkWtruWtt/aH+/IQgP9EskNEGnDF0GwXFcMXXT+Rlojs xl/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3dE2AnNU/8vmaVn4tEdaQgRMYS9JtKJZywiRXimeQ8E=; b=k29u1bMNEA/jWcolH/uvvtwQpNZMYUAC1SkeGtVpGRLmQyLq6GkmlIE2D0vwo46qYC S3Njp0HDZgNVPBNuUu0F3RKesS8SPnAqvd9co0lZmfRJ1YFQh7n+ZRH4uykz+vm9UYAi bYK3vQx0TneHPeTajkGW0XfXexwhATobWU3qko3m8HXmjKyNNRfs/eNz8IsTxj6MIBvS ZYwGZ0vZfVJaX2D1QfOT+6r2VwHAWh9F8H1Gqi2TfA7Eml7lwdpxFgp43bL5+ExA1/A1 hZsBWsqB+d6FICqkzLa32HDz4dYcWqfCTXpv+DxtQOp6j5EY4cGICpQqSP2CsiBl5AVL iHVA== X-Gm-Message-State: ALKqPwdhSQOuJf504On6gunBDshOxRyXgK4fa2KJmRplr3biqaODTADe 7bzB5AulY/Una2lQYA0LfsxwhFIHBN5dgd1vFII1iA== X-Google-Smtp-Source: AB8JxZroJkSWkbFF60yNKGN4FKjjHbaUThG365JMlhe1mVJHyckA/6gVyneRqkLoGi9v1KzxJc633N4SfjjXGcCX0To= X-Received: by 2002:aa7:d512:: with SMTP id y18-v6mr8000820edq.299.1527094213420; Wed, 23 May 2018 09:50:13 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a50:d49b:0:0:0:0:0 with HTTP; Wed, 23 May 2018 09:50:12 -0700 (PDT) In-Reply-To: References: <1527078536-1443-1-git-send-email-alejandro.lucero@netronome.com> From: Alejandro Lucero Date: Wed, 23 May 2018 17:50:12 +0100 Message-ID: To: Ferruh Yigit Cc: dev Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] net/nfp: fix lock file usage 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: , X-List-Received-Date: Wed, 23 May 2018 16:50:13 -0000 On Wed, May 23, 2018 at 4:57 PM, Ferruh Yigit wrote: > On 5/23/2018 1:28 PM, Alejandro Lucero wrote: > > DPDK apps can be executed as non-root users but current NFP lock > > file for avoiding concurrent accesses to CPP interface is precluding > > this option or requires to modify system file permissions. > > > > When the NFP device is bound to VFIO, this driver does not allow this > > concurrent access, so the lock file is not required at all. > > > > OVS-DPDK as executed in RedHat distributions is the main NFP user > > needing this fix. > > > > Fixes: c7e9729da6b5 ("net/nfp: support CPP") > > > > Signed-off-by: Alejandro Lucero > > Hi Alejandro, > > As far as I understand this is to fix a common use case for nfp, but it > looks > like there is already a workaround and only for non-root users. > > There is a patch submitted to stable versions because this lock was also with the old NSPU interface, but as far as I know, there is no patch yet for the current upstream tip. > What is the priority of the patch, only critical but fixes allowed at this > point, can we push this one to next release? > This is critical for us because RedHat wants to support OVS with our card, and when OVS-DPDK is used, this problem is precluding non-root users to execute OVS-DPDK. > > Thanks, > ferruh > > >