net/qede/base: fix for adapter specific stats
authorRasesh Mody <rasesh.mody@cavium.com>
Mon, 24 Jul 2017 10:19:04 +0000 (03:19 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commit9c1aa3e1c2bec490a1deff9513acc9cdaf06f725
treed2cd1c637b88f6914a2f2ad07914f0a65f15cf48
parenta68a9adf32cedd19e017d959b8c413ae7d605251
net/qede/base: fix for adapter specific stats

Handle different MAC statistic fields between two chip variants by
reading the MAC counters from the adapter suitable statistics bins.

Fixes: ec94dbc57362 ("qede: add base driver")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/bcm_osal.c
drivers/net/qede/base/ecore_dev_api.h
drivers/net/qede/base/ecore_l2.c
drivers/net/qede/base/mcp_public.h
drivers/net/qede/qede_ethdev.c