net_sched: remove list_head from tc_action
authorCong Wang <xiyou.wangcong@gmail.com>
Sun, 19 Aug 2018 19:22:09 +0000 (12:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Aug 2018 19:45:44 +0000 (12:45 -0700)
commit244cd96adb5f5ab39551081fb1f9009a54bb12ee
treed3c9fee9d752278765efd4aef56a82ff900747de
parent7d485c451fc82f8ae431cdb379521bc6d0641064
net_sched: remove list_head from tc_action

After commit 90b73b77d08e, list_head is no longer needed.
Now we just need to convert the list iteration to array
iteration for drivers.

Fixes: 90b73b77d08e ("net: sched: change action API to use array of pointers to actions")
Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
14 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_u32.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_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/act_api.h
include/net/pkt_cls.h
net/dsa/slave.c
net/sched/act_api.c