]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f07c3a01eef84b15c040ec046d07795f3056e36
treec8e6ab827d6c662b94348e5b30aad7a87c2ba404
parent85404da4c53d78e3f8f4d85060dcbf3484d1e8cc
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