Ilya Maximets <i.maxim...@samsung.com> writes:

> '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.lof...@intel.com>
> Fixes: 69876ed78611 ("netdev-dpdk: Add support for virtual DPDK PMDs (vdevs)")
> Signed-off-by: Ilya Maximets <i.maxim...@samsung.com>
> ---

Acked-by: Aaron Conole <acon...@redhat.com>
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to