'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()'
Hi.
Sorry for late response.
Comments inline.
Best regards, Ilya Maximets.
On 22.04.2017 05:01, Ben Pfaff wrote:
> On Mon, Apr 03, 2017 at 06:04:16PM +0300, Ilya Maximets wrote:
>> 'devargs' for virtual devices contains not only name but
>> also a list of arguments like this:
>>
>> 'net_pca
Ilya Maximets 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
>
On Mon, Apr 03, 2017 at 06:04:16PM +0300, Ilya Maximets wrote:
> '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 ar