diff options
author | Kumar Sanghvi | 2017-09-21 20:11:16 +0200 |
---|---|---|
committer | David S. Miller | 2017-09-23 06:28:01 +0200 |
commit | e0f911c81e93fc23fe1a4fb0318ff1c3b1c9027f (patch) | |
tree | 59cd27c78076a3cd145c1a50af23b0fa9449af82 /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |
parent | cxgb4: add support to offload action vlan (diff) | |
download | kernel-qcow2-linux-e0f911c81e93fc23fe1a4fb0318ff1c3b1c9027f.tar.gz kernel-qcow2-linux-e0f911c81e93fc23fe1a4fb0318ff1c3b1c9027f.tar.xz kernel-qcow2-linux-e0f911c81e93fc23fe1a4fb0318ff1c3b1c9027f.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h index d05721b06178..0db3ab6ad094 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h @@ -908,6 +908,7 @@ struct adapter { /* TC flower offload */ DECLARE_HASHTABLE(flower_anymatch_tbl, 9); + struct timer_list flower_stats_timer; }; /* Support for "sched-class" command to allow a TX Scheduling Class to be |