mlxsw: reg: Add QoS Policer Configuration Register
authorNogah Frankel <nogahf@mellanox.com>
Fri, 25 Nov 2016 09:33:46 +0000 (10:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2016 02:22:14 +0000 (21:22 -0500)
commit76a4c7d32a0b0a5a4a072a56a3dc4a2850afd8d8
tree61d7c05263266003698a4a35f48e29014c3f9167
parent2b77958bf4c80cf40fe669c7cf6b65861f9c2e09
mlxsw: reg: Add QoS Policer Configuration Register

The QPCR register is used to create and control policers.
A policer can discard or change the color of packets that are
trapped by a specific trap.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h