Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-23 Thread 王嵘
h.orei...@hpe.com> 写道: How was ovs installed? I don’t recall ever seeing ovs-vswitchd running as a non-root user. From:王嵘 [mailto:rong.w...@easystack.cn] Sent: 23 November 2017 13:09 To: O'Reilly, Darragh <darragh.orei...@hpe.com> Cc:ovs-discuss@openvswitch.org Subject: Re:RE: [ov

Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-23 Thread O'Reilly, Darragh
penvswitch.org> [mailto:ovs-discuss-boun...@openvswitch.org<mailto:ovs-discuss-boun...@openvswitch.org>] On Behalf Of ?? Sent: 23 November 2017 08:20 To: 王嵘 <rong.w...@easystack.cn<mailto:rong.w...@easystack.cn>> Cc: ovs-discuss@openvswitch.org<mailto:ovs-discuss@openvswi

Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-23 Thread 王嵘
November 2017 08:20 To:王嵘 <rong.w...@easystack.cn> Cc:ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0 And I add a log in the code, found thath the current uid is not 0(root), if there is some other config I missed ? /* save fd if in primary pr

Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-23 Thread O'Reilly, Darragh
2017 08:20 To: 王嵘 <rong.w...@easystack.cn> Cc: ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0 And I add a log in the code, found thath the current uid is not 0(root), if there is some other config I missed ? /* save fd if in primary process */ dev

Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-22 Thread 王嵘
hi, That's because I'm using the Broadcom Nic for performing-test and found the uio problem("Cannot open /dev/uio0: Permission denied"). and I now RECHECKED the problem in my own VM environment。 Pity that, the uio Permission denied problem still alway exists.(the ovs2.7 is ok). and the

Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-15 Thread Shivaram Mysore
Glad to hear that you solved the problem. What you have are Intel NIC - 82540em. The driver igb_uio should work for this - which is what you have. I am confused as to why you said that you were using Broadcom Nextreme card Anyways, it is good to hear that you were able to rectify the issue.

Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-15 Thread 王嵘
hi, I solved the NIC bind problem. I checked the log found that netdev_dpdk|ERR|Interface dpdk-eth2(rxq:1 txq:3) configure error: Invalid argument so, I changed the rxq of the NIC to 3 by "options:n_rxq=3", and it works. ^^ I tested the ovs2.8-dpdk in another VM of Centos7, but the

Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-14 Thread Shivaram Mysore
What is the output of the following commands: lshw -c network -businfo lspci | egrep -i --color 'network|ethernet' lsmod | grep uio /sbin/dpdk-devbind --status On Mon, Nov 13, 2017 at 9:29 PM, 王嵘 wrote: > I just want to use ovs-2.8 for userspace connection-track,

Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-13 Thread 王嵘
I just want to use ovs-2.8 for userspace connection-track, and I choose the latest LST DPDK 1705. But, you mean theres is something like broadcom-uio.ko when using broadcom NIC? I just have changed the config/common_base: CONFIG_RTE_LIBRTE_BNX2X_PMD=y CONFIG_RTE_LIBRTE_BNX2X_DEBUG=y

Re: [ovs-discuss] ovs-2.8 Cannot open /dev/uio0

2017-11-13 Thread Shivaram Mysore
Is there a specific reason as to why you would want to use this version of DPDK? I have never had to check permission. Also, igb is mainly for Intel NICs. You are using a Broadcom NIC - http://dpdk.org/doc/guides/nics/bnxt.html for driver info. I think what you have is a misconfiguration. You