numam-dpdk/drivers/net/bnxt
Kalesh AP 96b0931d51 net/bnxt: fix extended port counter statistics
1. refactor stats allocation code to new routine
2. check for extended statistics support depends on "hwrm_spec_code"
   which is set in bnxt_hwrm_ver_get called later. Hence we were never
   querying extended port stats as flags field was not updated. Fixed
   this by moving the stats allocation after the call to
   bnxt_hwrm_ver_get.
3. we were incorrectly passing the host address used for port
   statistics to PORT_QSTATS_EXT command. Fixed this by passing the
   correct extended stats address.

Fixes: f55e12f334 ("net/bnxt: support extended port counters")
Cc: stable@dpdk.org

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2019-07-23 14:31:35 +02:00
..
bnxt_cpr.c net/bnxt: use configured MTU during load 2019-06-14 00:01:06 +09:00
bnxt_cpr.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_ethdev.c net/bnxt: fix extended port counter statistics 2019-07-23 14:31:35 +02:00
bnxt_filter.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
bnxt_filter.h net/bnxt: support redirecting tunnel packets to VF 2019-06-14 00:01:06 +09:00
bnxt_flow.c net/bnxt: support redirecting tunnel packets to VF 2019-06-14 00:01:06 +09:00
bnxt_hwrm.c net/bnxt: fix extended port counter statistics 2019-07-23 14:31:35 +02:00
bnxt_hwrm.h net/bnxt: use configured MTU during load 2019-06-14 00:01:06 +09:00
bnxt_irq.c net/bnxt: check for null completion ring doorbell 2019-06-14 00:01:06 +09:00
bnxt_irq.h
bnxt_nvm_defs.h
bnxt_ring.c net/bnxt: create ring group array only when needed 2019-07-23 14:31:35 +02:00
bnxt_ring.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxq.c net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxq.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxr.c net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_rxr.h net/bnxt: refactor doorbell handling 2019-06-13 23:54:29 +09:00
bnxt_rxtx_vec_sse.c net/bnxt: refactor doorbell handling 2019-06-13 23:54:29 +09:00
bnxt_stats.c net/bnxt: fix xstats 2019-06-14 00:01:06 +09:00
bnxt_stats.h
bnxt_txq.c net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_txq.h net/bnxt: support thor controller 2019-06-13 23:54:30 +09:00
bnxt_txr.c mbuf: clarify outer offsets for non-tunnel packets 2019-07-01 17:15:01 +02:00
bnxt_txr.h net/bnxt: refactor doorbell handling 2019-06-13 23:54:29 +09:00
bnxt_util.c
bnxt_util.h
bnxt_vnic.c net/bnxt: enable RSS for thor-based controllers 2019-06-13 23:54:30 +09:00
bnxt_vnic.h net/bnxt: enable RSS for thor-based controllers 2019-06-13 23:54:30 +09:00
bnxt.h net/bnxt: fix extended port counter statistics 2019-07-23 14:31:35 +02:00
hsi_struct_def_dpdk.h net/bnxt: update HWRM API to version 1.10.0.74 2019-06-13 23:54:28 +09:00
Makefile net/bnxt: implement SSE vector mode 2019-06-13 23:37:58 +09:00
meson.build net/bnxt: implement SSE vector mode 2019-06-13 23:37:58 +09:00
rte_pmd_bnxt_version.map
rte_pmd_bnxt.c net/bnxt: remove unnecessary cast 2019-06-13 23:54:29 +09:00
rte_pmd_bnxt.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00