Re: [ovs-dev] [PATCH v4 1/3] netdev-dpdk: Fix double attaching of virtual devices.

2017-05-31 Thread Ben Pfaff
s-dev- > > boun...@openvswitch.org] On Behalf Of Ilya Maximets > > Sent: Friday, May 19, 2017 2:38 PM > > To: d...@openvswitch.org; Daniele Di Proietto ; > > Darrell Ball > > Cc: Ilya Maximets ; Heetae Ahn > > > > Subject: [ovs-dev] [PATCH v4 1/3] netd

Re: [ovs-dev] [PATCH v4 1/3] netdev-dpdk: Fix double attaching of virtual devices.

2017-05-26 Thread O Mahony, Billy
Proietto ; > Darrell Ball > Cc: Ilya Maximets ; Heetae Ahn > > Subject: [ovs-dev] [PATCH v4 1/3] netdev-dpdk: Fix double attaching of > virtual devices. > > 'devargs' for virtual devices contains not only name but also a list of > arguments like this: >

[ovs-dev] [PATCH v4 1/3] netdev-dpdk: Fix double attaching of virtual devices.

2017-05-19 Thread Ilya Maximets
'devargs' for virtual devices contains not only name but also a list of arguments like this: 'net_pcap0,rx_pcap=file_rx.pcap,tx_pcap=file_tx.pcap' or 'eth_af_packet0,iface=eth0' We must cut off the arguments from this string before calling 'rte_eth_dev_get_port_by_name()'