[dpdk-dev] [PATCH v2 1/2] net/pcap: multiple queues fix

Ferruh Yigit ferruh.yigit at intel.com
Wed Jun 20 20:22:19 CEST 2018


On 6/19/2018 3:37 PM, ido goshen wrote:
> Fixes: 4c173302c307 ("pcap: add new driver")
> Cc: stable at dpdk.org
> 
> Change open_rx/tx_pcap/iface functions to open only a single pcap/dumper
> and not loop num_of_queue times
> The num_of_queue loop is already acheived by the caller rte_kvargs_process
> 
> Fixes:
> 1. Opens N requested pcaps/dumpers instead of N^2
> 2. Leak of pcap/dumper's which are being overwritten by
>    the sequential calls to open_rx/tx_pcap/iface functions
> 3. Use the filename/iface args per queue and not just the last one
>    that overwrites the previous names
> 
> Signed-off-by: ido goshen <ido at cgstowernetworks.com>

For series,
Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>


More information about the dev mailing list