numam-dpdk/drivers/net/igc
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/igc/base: update copyright 2020-05-18 20:35:57 +02:00
igc_ethdev.c ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
igc_ethdev.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_filter.c net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_filter.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_flow.c net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_flow.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
igc_logs.c log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
igc_logs.h net/igc: support Rx and Tx 2020-04-21 13:57:07 +02:00
igc_txrx.c net/igc: remove useless log 2020-05-11 22:27:39 +02:00
igc_txrx.h net/igc: support flow API 2020-04-21 13:57:08 +02:00
meson.build net/igc: support flow API 2020-04-21 13:57:08 +02:00
rte_pmd_igc_version.map version: reference next ABI 21 for recent additions 2020-05-05 00:25:34 +02:00