]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
flow_offload: check for basic action hw stats type
authorJiri Pirko <jiri@mellanox.com>
Sat, 7 Mar 2020 11:40:13 +0000 (12:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 04:07:48 +0000 (21:07 -0700)
commit319a1d19471ec49b8a91a7f6a3fe2c4535e5c279
tree79e4bd8825d56c9ff7662c60e7d129972e866621
parent1ee473306a28ae685e4a368f3cb212ce1fc1b0fe
flow_offload: check for basic action hw stats type

Introduce flow_action_basic_hw_stats_types_check() helper and use it
in drivers. That sanitizes the drivers which do not have support
for action HW stats types.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mscc/ocelot_flower.c
drivers/net/ethernet/netronome/nfp/flower/action.c
drivers/net/ethernet/qlogic/qede/qede_filter.c
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c
include/net/flow_offload.h
net/dsa/slave.c