numam-dpdk/drivers
Ferruh Yigit f30e69b41f ethdev: add device flag to bypass auto-filled queue xstats
Queue stats are stored in 'struct rte_eth_stats' as array and array size
is defined by 'RTE_ETHDEV_QUEUE_STAT_CNTRS' compile time flag.

As a result of technical board discussion, decided to remove the queue
statistics from 'struct rte_eth_stats' in the long term.

Instead PMDs should represent the queue statistics via xstats, this
gives more flexibility on the number of the queues supported.

Currently queue stats in the xstats are filled by ethdev layer, using
some basic stats, when queue stats removed from basic stats the
responsibility to fill the relevant xstats will be pushed to the PMDs.

During the switch period, temporary 'RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS'
device flag is created. Initially all PMDs using xstats set this flag.
The PMDs implemented queue stats in the xstats should clear the flag.

When all PMDs switch to the xstats for the queue stats, queue stats
related fields from 'struct rte_eth_stats' will be removed, as well as
'RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS' flag.
Later 'RTE_ETHDEV_QUEUE_STAT_CNTRS' compile time flag also can be
removed.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
2020-10-16 23:27:15 +02:00
..
baseband baseband/turbo_sw: detect dependencies automatically 2020-10-14 21:32:11 +02:00
bus bus/pci: clear undefined bits in Windows segment parsing 2020-10-16 14:41:32 +02:00
common common/iavf: support VF with more than 16 queues 2020-10-16 19:48:19 +02:00
compress mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
crypto event/octeontx2: add crypto adapter datapath 2020-10-15 22:27:49 +02:00
event eventdev: express DLB/DLB2 PMD constraints 2020-10-15 23:16:07 +02:00
mempool net/octeontx2: fix jumbo frame crash 2020-10-15 22:54:21 +02:00
net ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
raw raw/dpaa2_qdma: fix reset 2020-10-11 22:02:55 +02:00
regex regex/octeontx2: introduce REE driver 2020-10-14 10:41:21 +02:00
vdpa vdpa/ifc: fix build with recent kernels 2020-10-02 18:38:33 +02:00
meson.build common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00