diff options
author | Huy Nguyen | 2018-03-02 22:47:01 +0100 |
---|---|---|
committer | Saeed Mahameed | 2018-05-24 23:23:33 +0200 |
commit | 50b4a3c23646254c7345f3663ff1e0a6cbcd9abb (patch) | |
tree | 979e15fdf3b234b7f8f72ffb30f021a1fe1fbf4c /include/linux/mlx5/driver.h | |
parent | net/mlx5: Add pbmc and pptb in the port_access_reg_cap_mask (diff) | |
download | kernel-qcow2-linux-50b4a3c23646254c7345f3663ff1e0a6cbcd9abb.tar.gz kernel-qcow2-linux-50b4a3c23646254c7345f3663ff1e0a6cbcd9abb.tar.xz kernel-qcow2-linux-50b4a3c23646254c7345f3663ff1e0a6cbcd9abb.zip |
net/mlx5: PPTB and PBMC register firmware command support
Add firmware command interface to read and write PPTB and PBMC
registers.
PPTB register enables mappings priority to a specific receive buffer.
PBMC registers enables changing the receive buffer's configuration such
as buffer size, xon/xoff thresholds, buffer's lossy property and
buffer's shared property.
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5/driver.h')
-rw-r--r-- | include/linux/mlx5/driver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index d703774982ca..92d292454351 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -124,6 +124,8 @@ enum { MLX5_REG_PAOS = 0x5006, MLX5_REG_PFCC = 0x5007, MLX5_REG_PPCNT = 0x5008, + MLX5_REG_PPTB = 0x500b, + MLX5_REG_PBMC = 0x500c, MLX5_REG_PMAOS = 0x5012, MLX5_REG_PUDE = 0x5009, MLX5_REG_PMPE = 0x5010, |