[dpdk-dev] [PATCH v4] ethdev: check if queue setup in queue-related APIs

2020-10-12 Thread Wei Hu (Xavier)
From: Chengchang Tang This patch adds checking whether the related Tx or Rx queue has been setup in the queue-related API functions to avoid illegal address access. And validity check of the queue_id is also added in the API functions rte_eth_dev_rx_intr_enable and rte_eth_dev_rx_intr_disable. S

Re: [dpdk-dev] [PATCH v4] ethdev: check if queue setup in queue-related APIs

2020-10-13 Thread Andrew Rybchenko
On 10/13/20 5:41 AM, Wei Hu (Xavier) wrote: > From: Chengchang Tang > > This patch adds checking whether the related Tx or Rx queue has been setup "This patch adds checking" -> "Add checking" > in the queue-related API functions to avoid illegal address access. And > validity check of the queue

Re: [dpdk-dev] [PATCH v4] ethdev: check if queue setup in queue-related APIs

2020-10-13 Thread Kalesh Anakkur Purayil
Hi Xavier, Thanks for taking care of the comments. LGTM. Reviewed-by: Kalesh AP Regards, Kalesh On Tue, Oct 13, 2020 at 8:11 AM Wei Hu (Xavier) wrote: > From: Chengchang Tang > > This patch adds checking whether the related Tx or Rx queue has been setup > in the queue-related API functions