[ovs-discuss] For help : failed to bind I217-LM to ovs-dpdk

gowrishankar gowrishankar.m at linux.vnet.ibm.com
Tue May 19 16:23:13 UTC 2015


I am facing same problem. It seems it complained no such device. p3p1 is 
dpdk compatible driver now as well.

dpdk_nic_bind.py --status

Network devices using DPDK-compatible driver
============================================
0000:0e:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' 
drv=igb_uio unused=vfio-pci
0000:0e:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' 
drv=igb_uio unused=vfio-pci


ovs-vsctl add-port br0 p3p1 -- set Interface p3p1 type=dpdk

ovs-vsctl: Error detected while setting up 'p3p1'.  See ovs-vswitchd log 
for details.

ovs-vswitchd.log:

2015-05-19T16:05:45.835Z|00231|poll_loop|DBG|wakeup due to [POLLIN] on 
fd 22 (<->/usr/local/var/run/openvswitch/db.sock) at lib/stream-fd.c:155
2015-05-19T16:05:45.836Z|00232|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock: 
received notification, method="update", 
params=[null,{"Interface":{"34f674b5-9d66-4412-b2bb-a87223800c80":{"new":{"name":"p3p1","statistics":["map",[]],"mac":["set",[]],"options":["map",[]],"cfm_flap_count":["set",[]],"ifindex":["set",[]],"cfm_health":["set",[]],"type":"dpdk","bfd_status":["map",[]],"ofport":["set",[]],"admin_state":["set",[]],"error":["set",[]],"link_resets":["set",[]],"mac_in_use":["set",[]],"cfm_fault_status":["set",[]],"lacp_current":["set",[]],"mtu":["set",[]],"lldp":["map",[]],"ofport_request":["set",[]],"status":["map",[]],"other_config":["map",[]],"link_state":["set",[]],"cfm_remote_mpids":["set",[]],"bfd":["map",[]],"cfm_remote_opstate":["set",[]],"cfm_mpid":["set",[]],"cfm_fault":["set",[]],"link_speed":["set",[]],"duplex":["set",[]],"ingress_policing_burst":0,"ingress_policing_rate":0}}},"Port":{"1dd81fa9-9e92-4392-a280-5bc9a9642a4b":{"new":{"statistics":["map",[]],"bond_downdelay":0,"name":"p3p1","fake_bridge":false,"mac":["set",[]],"trunks":["set",[]],"tag":["set",[]],"rstp_status":["map",[]],"bond_updelay":0,"bond_active_slave":["set",[]],"other_config":["map",[]],"status":["map",[]],"qos":["set",[]],"bond_mode":["set",[]],"interfaces":["uuid","34f674b5-9d66-4412-b2bb-a87223800c80"],"bond_fake_iface":false,"rstp_statistics":["map",[]],"vlan_mode":["set",[]],"lacp":["set",[]]}}},"Bridge":{"d64a8e1a-0e69-4cbd-9081-332e5a4e04e6":{"new":{"name":"br0","flood_vlans":["set",[]],"stp_enable":false,"ports":["set",[["uuid","1dd81fa9-9e92-4392-a280-5bc9a9642a4b"],["uuid","37f926ae-5388-481e-a9da-4447904c1bf6"]]],"auto_attach":["set",[]],"rstp_enable":false,"fail_mode":["set",[]],"rstp_status":["map",[]],"flow_tables":["map",[]],"netflow":["set",[]],"datapath_type":"netdev","controller":["set",[]],"status":["map",[]],"ipfix":["set",[]],"other_config":["map",[]],"mirrors":["set",[]],"datapath_id":"00001a8e4ad6bd4c","mcast_snooping_enable":false,"protocols":["set",[]],"sflow":["set",[]],"datapath_version":"<built-in>"},"old":{"ports":["uuid","37f926ae-5388-481e-a9da-4447904c1bf6"]}}},"Open_vSwitch":{"d384f9bb-072c-4505-afc8-f136fb2e860d":{"new":{"manager_options":["set",[]],"bridges":["uuid","d64a8e1a-0e69-4cbd-9081-332e5a4e04e6"],"statistics":["map",[]],"other_config":["map",[]],"cur_cfg":1,"next_cfg":2,"iface_types":["set",["dpdk","dpdkr","geneve","gre","gre64","internal","ipsec_gre","ipsec_gre64","lisp","patch","stt","system","tap","vxlan"]],"ssl":["set",[]],"datapath_types":["set",["netdev","system"]]},"old":{"next_cfg":1}}}}]
2015-05-19T16:05:45.836Z|00233|dpif|DBG|netdev at ovs-netdev: device br0 is 
on port 1
2015-05-19T16:05:45.836Z|00234|bridge|WARN|could not open network device 
p3p1 (No such device)
2015-05-19T16:05:45.836Z|00235|netlink_socket|DBG|nl_sock_transact_multiple__ 
(Success): nl(len:52, type=37(family-defined), flags=1[REQUEST], seq=f, 
pid=4294962906
2015-05-19T16:05:45.836Z|00236|netlink_socket|DBG|nl_sock_recv__ 
(Success): nl(len:72, type=2(error), flags=0, seq=f, pid=4294962906 
error(-2(No such file or directory), in-reply-to(nl(len:52, 
type=37(family-defined), flags=1[REQUEST], seq=f, pid=4294962906))
2015-05-19T16:05:45.836Z|00237|netlink_socket|DBG|received NAK error=0 
(No such file or directory)
2015-05-19T16:05:45.836Z|00238|jsonrpc|DBG|unix:/usr/local/var/run/openvswitch/db.sock: 
send request, method="transact", 
params=["Open_vSwitch",{"lock":"ovs_vswitchd","op":"assert"},{"where":[["_uuid","==",["uuid","34f674b5-9d66-4412-b2bb-a87223800c80"]]],"row":{"ofport":-1,"error":"could 
not open network device p3p1 (No such 
device)"},"op":"update","table":"Interface"},{"where":[["_uuid","==",["uuid","d384f9bb-072c-4505-afc8-f136fb2e860d"]]],"row":{"cur_cfg":2},"op":"update","table":"Open_vSwitch"}], 
id=7


Thanks,
Gowrishankar

On Tuesday 19 May 2015 04:06 PM, Daniele Di Proietto wrote:
>
> On 19/05/2015 10:24, "钢锁0310" <liw at dtdream.com> wrote:
>
>>
>> I setup ovs-dpdk by following INSTALL.DPDK.md
>>
>>
>> [root at 25 tools]# ./dpdk_nic_bind.py --status
>>
>> Network devices using DPDK-compatible driver
>> ============================================
>> 0000:00:19.0 'Ethernet Connection I217-LM' drv=igb_uio unused=vfio-pci
>>
>>
>> crw------- 1 root root 247, 0 May 19 17:07 /dev/uio0                 uio0
>> is ok
>>
>>
>>
>> but
>>
>>
>> [root at 25 tools]# ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0
>> type=dpdk
>> ovs-vsctl: Error detected while setting up 'dpdk0'.  See ovs-vswitchd log
>> for details.
>>
> Could you post the content of the ovs-vswitchd log?
>
>>
>> i had bound 02:01.0 Ethernet controller: Intel Corporation 82545EM
>> Gigabit Ethernet Controller (Copper) (rev 01)
>> to ovs earlier  and  that is ok
>>
>>
>> so i realy want to know what is wrong with binding I217-LM
>> to ovs   it does not to be support?
>>
>>
>>
>> *********************
>> RTFSC
>> *********************
>>
>>
>>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss






More information about the discuss mailing list