mlxsw: reg: Add lossless settings for PBMC register
authorIdo Schimmel <idosch@mellanox.com>
Wed, 6 Apr 2016 15:10:13 +0000 (17:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2016 21:24:19 +0000 (17:24 -0400)
commit155f9de2e09547ed510b86a4b463c2980e7df46a
tree08c17fbb03f24d73068e694bb16c9714c4e8a48d
parent6f253d8381e9e7b8a254e7384b7d32ea5784e6e8
mlxsw: reg: Add lossless settings for PBMC register

When configuring PAUSE frames and PFC we'll need to configure the
Xon/Xoff threshold for the priority group (PG) buffers.

Add the Xon/Xoff threshold fields to the PBMC register so that we can
configure these when needed.

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