]> 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)
commit1040765c1dbcb7b19dd9405a7810be3bcdfeb71e
tree7da5d76598055e35f288e71a4a1f6500eb6aa80a
parent2613ae3cac39c391e4f51ecad8d0abbc156f36a6
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