commit | a7cc081cabdae395b1d2ae581a6fee61aec72317 | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Sun Mar 29 14:52:01 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 30 11:44:00 2020 -0700 |
tree | 3fa2b67a0cd56183df15fa6b5b0fdcee30cef451 | |
parent | fc411eaac8db7bd2cf3d9b67fd4b5651345a2cef [diff] |
net: dsa: sja1105: add configuration of port policers This adds partial configuration support for the L2 Policing Table. Out of the 45 policing entries, only 5 are used (one for each port), in a shared manner. All 8 traffic classes, and the broadcast policer, are redirected to a common instance which belongs to the ingress port. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>