]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: reg: Add Port Prio To Buffer register
authorIdo Schimmel <idosch@mellanox.com>
Wed, 6 Apr 2016 15:10:00 +0000 (17:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2016 21:24:16 +0000 (17:24 -0400)
commite0658550e4b1a50176a36bc2e60896a58693749b
tree7da5d76598055e35f288e71a4a1f6500eb6aa80a
parent56369245e0e53cc17127b37a6a176c9684e2438e
mlxsw: reg: Add Port Prio To Buffer register

When packets ingress the switch they are assigned a switch priority
number that dictates the packet's priority group (PG) buffer in the
port's headroom buffer.

Add the Port Prio To Buffer (PPTB) register, which configures the switch
priority to PG mapping.

Signed-off-by: Ido Schimmel <idosch@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