Somnath Kotur 49b8d40b1f net/bnxt: avoid hard coded values when reading counters
Instead of using hardcoded values for the byte/pkt value shifts/masks
to read from the HW counters, use the shift/mask values from the device
template params

Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2020-07-11 06:18:53 +02:00
..
2020-05-28 17:57:07 +02:00
2020-02-05 09:51:19 +01:00
2020-07-11 06:18:52 +02:00
2020-05-28 17:57:07 +02:00
2020-07-11 06:18:52 +02:00
2020-07-11 06:18:52 +02:00
2020-07-11 06:18:52 +02:00
2020-07-11 06:18:52 +02:00
2020-07-11 06:18:52 +02:00
2020-07-11 06:18:52 +02:00
2020-05-28 17:57:07 +02:00
2020-07-11 06:18:52 +02:00
2019-11-08 23:15:04 +01:00
2020-07-11 06:18:52 +02:00
2020-07-11 06:18:52 +02:00