numam-dpdk/drivers/net/failsafe
Matan Azrad 6265ab51b8 net/failsafe: stat support enhancement
The previous stats code returned only the current TX sub
device stats.

This enhancement extends it to return the sum of all sub
devices stats with history of removed sub-devices.

Dedicated stats accumulator saves the stat history of all
sub device remove events.

Each failsafe sub device contains the last stats asked by
the user and updates the accumulator in removal time.

I would like to implement ultimate snapshot on removal time.
The stats_get API needs to be changed to return error in the
case it is too late to retrieve statistics.
By this way, failsafe can get stats snapshot in removal interrupt
callback for each PMD which can give stats after removal event.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
2017-10-06 02:49:48 +02:00
..
failsafe_args.c net/failsafe: fix errno set on command execution 2017-10-06 02:49:47 +02:00
failsafe_eal.c net/failsafe: fix failsafe bus uninit return value 2017-10-06 02:49:47 +02:00
failsafe_ether.c net/failsafe: stat support enhancement 2017-10-06 02:49:48 +02:00
failsafe_flow.c net/failsafe: support flow API isolation mode 2017-07-19 16:25:43 +03:00
failsafe_ops.c net/failsafe: stat support enhancement 2017-10-06 02:49:48 +02:00
failsafe_private.h net/failsafe: stat support enhancement 2017-10-06 02:49:48 +02:00
failsafe_rxtx.c net/failsafe: support device removal 2017-07-19 16:25:43 +03:00
failsafe.c net/failsafe: support link status change event 2017-07-19 16:25:43 +03:00
Makefile net/failsafe: fix build on FreeBSD 10 with GCC 4.8 2017-07-20 18:30:20 +03:00
rte_pmd_failsafe_version.map net/failsafe: add fail-safe PMD 2017-07-19 16:25:42 +03:00