[PATCH net-next 0/3] net: dsa: sync dsa_mall_policer_tc_entry with FLOW_ACTION_POLICE

David Yang posted 3 patches 1 week, 5 days ago
There is a newer version of this series
drivers/net/dsa/ocelot/felix.c |  4 ++++
include/net/dsa.h              | 25 +++++++++++++++++++++++++
net/dsa/dsa.c                  | 33 +++++++++++++++++++++++++++++++++
net/dsa/user.c                 |  7 +++++--
4 files changed, 67 insertions(+), 2 deletions(-)
[PATCH net-next 0/3] net: dsa: sync dsa_mall_policer_tc_entry with FLOW_ACTION_POLICE
Posted by David Yang 1 week, 5 days ago
Fix tc command which should not succeed:

  tc filter add dev lan1 ingress matchall skip_sw action police \
    pkts_rate 80000 pkts_burst 100 mtu 1000 conform-exceed ok

David Yang (3):
  net: dsa: sync dsa_mall_policer_tc_entry with FLOW_ACTION_POLICE
  net: dsa: add dsa_mall_policer_tc_entry_type() helper
  net: dsa: ocelot: check policer entry

 drivers/net/dsa/ocelot/felix.c |  4 ++++
 include/net/dsa.h              | 25 +++++++++++++++++++++++++
 net/dsa/dsa.c                  | 33 +++++++++++++++++++++++++++++++++
 net/dsa/user.c                 |  7 +++++--
 4 files changed, 67 insertions(+), 2 deletions(-)

-- 
2.51.0