net/bnxt: expose some missing counters in port stats
authorSomnath Kotur <somnath.kotur@broadcom.com>
Thu, 24 Oct 2019 07:44:25 +0000 (13:14 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:23:22 +0000 (19:23 +0200)
commitbd94753fc79c5a37e249ca440d081fdb7d5dc9fa
tree5ea16b26124669867ad7c5f342ba7fb3c634ef5d
parent24de0b605cfa341d23308b7e660a66f1b9c1643b
net/bnxt: expose some missing counters in port stats

Rx/Tx Port statistics record PFC enabled frames for each priority.
Modify the Rx/Tx port stats array to report these as well.

Fixes: bfb9c2260be2 ("net/bnxt: support xstats get/reset")
Cc: stable@dpdk.org
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_stats.c