On 1/30/2017 8:57 PM, Wiles, Keith wrote: > >> On Jan 30, 2017, at 2:54 PM, Yigit, Ferruh <ferruh.yi...@intel.com> wrote: >> >> From: Keith Wiles <keith.wi...@intel.com> >> >> Rx and Tx queues share the common tap file descriptor, but save this >> value separately. >> >> Setting up Rx/Tx queue sets up both queues, release_queue close the >> tap file but update file descriptor only for that queue. >> >> This makes other queue's file descriptor invalid. >> >> As a workaround, prevent release_queue callback to be called by default. >> >> This is done by separating Rx/Tx setup functions, so that each only >> setup its own queue, this prevents rte_eth_rx/tx_queue_setup() calling >> release_queue before setup_queue. >> >> Signed-off-by: Keith Wiles <keith.wi...@intel.com> >> Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com>
Applied to dpdk-next-net/master, thanks. (Just a reminder, defect still exists when app call rte_eth_rx/tx_queue_setup() multiple times)