numam-dpdk/drivers/net
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
..
af_packet ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
af_xdp ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
ark ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
atlantic ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
avp ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
axgbe ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
bnx2x ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
bnxt ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
bonding ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
cxgbe ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
dpaa ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
dpaa2 ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
e1000 ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
ena ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
enetc ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
enic ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
failsafe ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
fm10k ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
hinic ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
hns3 ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
i40e ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
iavf ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
ice ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
igc ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
ionic ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
ipn3ke ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
ixgbe ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
kni ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
liquidio ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
memif ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
mlx4 ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
mlx5 ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
mvneta ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
mvpp2 ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
netvsc ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
nfb ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
nfp ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
null ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
octeontx ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
octeontx2 ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
pcap ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
pfe ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
qede ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
ring ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
sfc ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
softnic ethdev: change stop operation callback to return int 2020-10-16 22:26:41 +02:00
szedata2 ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
tap ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
thunderx ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
vdev_netvsc build: remove makefiles 2020-09-08 00:09:50 +02:00
vhost ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
virtio ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
vmxnet3 ethdev: add device flag to bypass auto-filled queue xstats 2020-10-16 23:27:15 +02:00
meson.build bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00