Re: [dpdk-dev] [PATCH v4 3/3] ethdev: check if queue setupped when getting queue info

2020-08-25 Thread Ferruh Yigit
On 8/24/2020 12:01 PM, Wei Hu (Xavier) wrote: > From: "Wei Hu (Xavier)" > > This patch adds checking whether the related Tx or Rx queue has been > setuped in the rte_eth_rx_queue_info_get and rte_eth_tx_queue_info_get > API function to avoid illegal address access. > > Signed-off-by: Wei Hu (Xav

[dpdk-dev] [PATCH v4 3/3] ethdev: check if queue setupped when getting queue info

2020-08-24 Thread Wei Hu (Xavier)
From: "Wei Hu (Xavier)" This patch adds checking whether the related Tx or Rx queue has been setuped in the rte_eth_rx_queue_info_get and rte_eth_tx_queue_info_get API function to avoid illegal address access. Signed-off-by: Wei Hu (Xavier) --- lib/librte_ethdev/rte_ethdev.c | 16 +