net: sched: cls_api: add skip_sw counter
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>
Mon, 25 Mar 2024 20:47:34 +0000 (20:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2024 09:46:38 +0000 (09:46 +0000)
commitf631ef39d81956a2ee69d25039781ceae1162f62
treef461d763726d324758f75c559e5fb3a13ac0c6dc
parentfd2162a50144baba524974a255e7dbb21e015b0d
net: sched: cls_api: add skip_sw counter

Maintain a count of skip_sw filters.

This counter is protected by the cb_lock, and is updated
at the same time as offloadcnt.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h
net/sched/cls_api.c