numam-dpdk/drivers/net/i40e
Pablo de Lara 6b6861c171 ethdev: check queue state before starting or stopping
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>
2015-11-04 17:52:14 +01:00
..
base i40e/base: add outer UDP checksum for X722 2015-10-02 01:35:23 +02:00
i40e_ethdev_vf.c ethdev: check queue state before starting or stopping 2015-11-04 17:52:14 +01:00
i40e_ethdev.c i40e: fix interrupt disabling when stopping 2015-11-04 16:28:26 +01:00
i40e_ethdev.h i40evf: support Rx interrupt 2015-11-04 15:27:42 +01:00
i40e_fdir.c i40e: extend flow director to support VF 2015-11-04 13:40:57 +01:00
i40e_logs.h drivers: allow pruning log during build 2015-07-30 20:16:04 +02:00
i40e_pf.c i40evf: support Rx interrupt 2015-11-04 15:27:42 +01:00
i40e_pf.h i40e: support port hotplug 2015-07-19 21:22:23 +02:00
i40e_rxtx_vec.c i40e: allow vector Rx and Tx usage 2015-10-30 17:00:37 +01:00
i40e_rxtx.c ethdev: check queue state before starting or stopping 2015-11-04 17:52:14 +01:00
i40e_rxtx.h i40e: fix alignment of HW descriptors number 2015-11-02 00:07:36 +01:00
Makefile i40e: support X722 and its A0 hardware 2015-11-03 11:11:19 +01:00
rte_pmd_i40e_version.map i40e: move to drivers/net/ 2015-05-22 16:06:22 +02:00