summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mscc/ocelot_flower.c
diff options
context:
space:
mode:
authorXiaoliang Yang <xiaoliang.yang_1@nxp.com>2021-11-18 18:12:03 +0800
committerDavid S. Miller <davem@davemloft.net>2021-11-18 12:07:24 +0000
commit76c13ede7120e55b5a31580d2231e30b26246212 (patch)
tree96521f5bb457933c4a2e533ffe2513a0d26711a3 /drivers/net/ethernet/mscc/ocelot_flower.c
parent77043c37096d4753b9f40e51445f31eb9dc40295 (diff)
downloadlinux-76c13ede7120e55b5a31580d2231e30b26246212.tar.bz2
net: dsa: felix: use vcap policer to set flow meter for psfp
This patch add police action to set flow meter table which is defined in IEEE802.1Qci. Flow metering is two rates two buckets and three color marker to policing the frames, we only enable one rate one bucket in this patch. Flow metering shares a same policer pool with VCAP policers, so the PSFP policer calls ocelot_vcap_policer_add() and ocelot_vcap_policer_del() to set flow meter police. Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mscc/ocelot_flower.c')
0 files changed, 0 insertions, 0 deletions