bnxt_en: add code to query TC flower offload stats
authorSathya Perla <sathya.perla@broadcom.com>
Mon, 28 Aug 2017 17:40:35 +0000 (13:40 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 23:57:10 +0000 (16:57 -0700)
commitd7bc73053024eecb239a5b8644a05c7745fd87a1
tree8b5f164149ead826784c587f08604dc30463cef0
parentdb1d36a27324d51e62944f702a4d2d50548896ee
bnxt_en: add code to query TC flower offload stats

This patch adds code to implement TC_CLSFLOWER_STATS TC-cmd and the
required FW code to query the stats from the HW.

Signed-off-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c