net/bnxt: fix PCI per function stats
authorLance Richardson <lance.richardson@broadcom.com>
Mon, 21 Sep 2020 17:45:49 +0000 (13:45 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:09 +0000 (19:19 +0200)
commit739e5982f92f31057a1b41983f41912edaee266a
treec79b1f147f89b26367e1316dc2cb347e3ecdbf1d
parent3e5fa98176fea3435481213c3677eaccab5cd84d
net/bnxt: fix PCI per function stats

Fix to use correct value offset for PCI function stats.

Fixes: 5f9374de2a3a ("net/bnxt: add PCI function stats to extended stats")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_stats.c