]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: query cfa flow stats periodically to compute 'lastused' attribute
authorSathya Perla <sathya.perla@broadcom.com>
Thu, 26 Oct 2017 15:51:31 +0000 (11:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 15:02:45 +0000 (00:02 +0900)
commit4d8d97adb656355b38348aba2f1c1d06d7c8bed0
treecefba34b1f898f8c5e224ad87044b16160c5bad5
parentd88044778be2720eca29d20775f2c2e5af883ffe
bnxt_en: query cfa flow stats periodically to compute 'lastused' attribute

This patch implements periodic querying of cfa flow stats
in batches to compute the 'lastused' attribute of TC flow stats.

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.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.h