cxgb4: fetch stats for offloaded tc flower flows
authorKumar Sanghvi <kumaras@chelsio.com>
Thu, 21 Sep 2017 18:11:16 +0000 (23:41 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Sep 2017 04:28:01 +0000 (21:28 -0700)
commite0f911c81e93fc23fe1a4fb0318ff1c3b1c9027f
tree59cd27c78076a3cd145c1a50af23b0fa9449af82
parentcf2885a70fc71d5f6b434b86eedfc18ad66ba6f6
cxgb4: fetch stats for offloaded tc flower flows

Add support to retrieve stats from hardware for offloaded tc flower
flows.  Also, poll for the stats of offloaded flows via timer callback.

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h