aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/sja1105/sja1105.h
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-05-24 16:14:20 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-24 13:59:03 -0700
commit38fbe91f2287c696f290d9115901aa435f7166a8 (patch)
tree31e80bff6be0a7cc395f98e150a57b56ae2cfa37 /drivers/net/dsa/sja1105/sja1105.h
parentnet: dsa: sja1105: use sja1105_xfer_u32 for the reset procedure (diff)
downloadlinux-dev-38fbe91f2287c696f290d9115901aa435f7166a8.tar.xz
linux-dev-38fbe91f2287c696f290d9115901aa435f7166a8.zip
net: dsa: sja1105: configure the multicast policers, if present
The SJA1110 policer array is similar in layout with SJA1105, except it contains one multicast policer per port at the end. Detect the presence of multicast policers based on the maximum number of supported L2 Policing Table entries, and make those policers have a shared index equal to the port's default policer. Letting the user configure these policers is not supported at the moment. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105.h')
0 files changed, 0 insertions, 0 deletions