summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@samsung.com>2017-05-19 16:37:30 +0300
committerBen Pfaff <blp@ovn.org>2017-05-31 16:18:11 -0700
commit03d6399e618e4136c5da0be2b6f18f0b7d75b2bb (patch)
treef45ed942846f766ee5c37fe9eabb9a43ad899df6 /Documentation
parent50f96b10e1c87db9fbe4df297f9b2fea13436bc0 (diff)
downloadopenvswitch-03d6399e618e4136c5da0be2b6f18f0b7d75b2bb.tar.gz
netdev-dpdk: Fix double attaching of virtual devices.
'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()' to avoid double attaching of the same device. CC: Ciara Loftus <ciara.loftus@intel.com> Fixes: 69876ed78611 ("netdev-dpdk: Add support for virtual DPDK PMDs (vdevs)") Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Tested-by: Billy O'Mahony <billy.o.mahony@intel.com> Acked-by: Billy O'Mahony <billy.o.mahony@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions