OSDN Git Service

cxgb4: add support to retrieve stats for hash filters
authorKumar Sanghvi <kumaras@chelsio.com>
Wed, 1 Nov 2017 03:23:03 +0000 (08:53 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 13:06:03 +0000 (22:06 +0900)
commit9d922d4b016d3d7908dd70112aaf46a38313d866
treec8e6ab827d6c662b94348e5b30aad7a87c2ba404
parent3b0b3bee56dd4e5cd1976a046f391a1435d727b2
cxgb4: add support to retrieve stats for hash filters

Add support to retrieve packet-count and byte-count for hash-filters
by retrieving filter-entry appropriately based on whether the
request is for hash-filter or not.

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_filter.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h