[dpdk-users] issue with multiple open & close of pcap dev
balakrishna.garapati at linaro.org
Thu Oct 12 17:35:29 CEST 2017
when closing & creating the new "net_pcap" device in the same instance
fails on v17.05 because the device shows nb_rx_queues & nb_tx_queues = 0
from rte_eth_dev_info_get(). When the application configures the pcap dev
first time, it works fine (rx & tx queues = 1) and then closes the device.
When trying to configure a new pcap device with different configuration,
The device has zero rx & tx queues because it seems to be saving the
settings from rte_eth_dev_close(). This behavior is observed from v17.05
with the commit: "net/virtio: fix crash when closing twice" (id:
0e78cfddc0851a0a12da0257758fe011ec507495). Wondering if it's a bug or an
expected behavior ?.
More information about the users