[dpdk-dev] [PATCH v2 1/2] net/cxgbe: add support for xstats API for the VF

2021-09-30 Thread Rahul Lakkireddy
From: Nikhil Vasoya Add support to fetch port and queue stats via xstats API. Also remove queue stats from basic stats because they're now available via xstats API for the VF. Signed-off-by: Nikhil Vasoya Signed-off-by: Rahul Lakkireddy --- v2: - Update Extended Stats feature in cxgbe.ini and

[dpdk-dev] [PATCH v2 1/2] net/cxgbe: add support for xstats API

2021-07-01 Thread Rahul Lakkireddy
Add support to fetch port and queue stats via xstats API. Signed-off-by: Rahul Lakkireddy --- v2: - Perform explicit checks for NULL in conditions. - Use rte_strlcpy() instead of strcpy(). drivers/net/cxgbe/cxgbe_ethdev.c | 303 ++- 1 file changed, 294 insertions(+),