net/sfc: support counters in tunnel offload jump rules
authorIvan Malov <ivan.malov@oktetlabs.ru>
Wed, 13 Oct 2021 13:15:12 +0000 (16:15 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 13 Oct 2021 19:30:13 +0000 (21:30 +0200)
commit9df2d8f5cc9653d6413cb2240c067ea455ab7c3c
tree5ce6790510225922c9f285674ecb971ba9e80bc0
parent8cd7725169aa51517c7358afde89bfae1ee08348
net/sfc: support counters in tunnel offload jump rules

Such a counter will only report the number of hits, which is actually
a sum of two contributions (the JUMP rule's own counter + indirect
increments issued by counters of the associated GROUP rules.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
drivers/net/sfc/sfc_flow.c
drivers/net/sfc/sfc_flow_tunnel.c
drivers/net/sfc/sfc_flow_tunnel.h
drivers/net/sfc/sfc_mae.c
drivers/net/sfc/sfc_mae.h
drivers/net/sfc/sfc_mae_counter.c
drivers/net/sfc/sfc_mae_counter.h