numam-dpdk/drivers/net/octeontx
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
..
base net/octeontx: support flow control 2020-04-21 13:57:06 +02:00
meson.build net/octeontx: support VLAN filter offload 2020-04-21 13:57:06 +02:00
octeontx_ethdev_ops.c ethdev: fix VLAN offloads set if no relative capabilities 2020-07-11 06:18:53 +02:00
octeontx_ethdev.c ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
octeontx_ethdev.h net/octeontx: support Rx/Tx checksum offload 2020-04-21 13:57:06 +02:00
octeontx_logs.h net/octeontx: support MTU 2020-04-21 13:57:06 +02:00
octeontx_rxtx.c net/octeontx: support Rx/Tx checksum offload 2020-04-21 13:57:06 +02:00
octeontx_rxtx.h net/octeontx: fix Tx preparation 2020-09-30 19:19:11 +02:00
rte_pmd_octeontx_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00