6b6861c171
Following the same approach taken with dev_started field in rte_eth_dev_data structure, this patch adds two new fields in it, rx_queue_state and tx_queue_state arrays, which track which queues have been started and which not. This is important to avoid trying to start/stop twice a queue, which will result in undefined behaviour (which may cause RX/TX disruption). Mind that only the PMDs which have queue_start/stop functions have been changed to update this field, as the functions will check the queue state before switching it. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> |
||
---|---|---|
.. | ||
base | ||
i40e_ethdev_vf.c | ||
i40e_ethdev.c | ||
i40e_ethdev.h | ||
i40e_fdir.c | ||
i40e_logs.h | ||
i40e_pf.c | ||
i40e_pf.h | ||
i40e_rxtx_vec.c | ||
i40e_rxtx.c | ||
i40e_rxtx.h | ||
Makefile | ||
rte_pmd_i40e_version.map |