Red Hat Bugzilla – Bug 1583670
Backport NFP PMD's "net/nfp: fix lock file usage"
Last modified: 2018-07-09 12:44:39 EDT
Please backport the following DPDK commit: http://dpdk.org/browse/dpdk/commit/?id=5f6ed2f4e0cb79580c0bedba2bd764a39923d7ec commit 5f6ed2f4e0cb79580c0bedba2bd764a39923d7ec Author: Alejandro Lucero <alejandro.lucero@netronome.com> Date: Wed May 23 13:28:56 2018 +0100 net/nfp: fix lock file usage 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 <alejandro.lucero@netronome.com>
Hi Tim, I am using OVS 2.9.0-47. But, as a non-root user, still got "A CPP handle can not be obtained" ERR. So, need your advice here as how to verify the fix. Thanks! Jean
Hi, there is another bug for root usage (bz#1568301) and so you need to run OVS as root (just comment the OVS_USER_ID in /etc/sysconfig/openvswitch as usual) in order to verify this bug
(In reply to Timothy Redaelli from comment #6) > Hi, > there is another bug for root usage (bz#1568301) and so you need to run OVS > as root (just comment the OVS_USER_ID in /etc/sysconfig/openvswitch as > usual) in order to verify this bug Commenting out the OVS_USER_ID in /etc/sysconfig/openvswitch is the workaround, and we've been testing that for a while. So, what's the fix for ? Please clarify. Thanks! Jean
The bug fix has been verified with many netperf test runs over OVS-dpdk/{vxlan,geneve}/nfp tunnel.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1962