net/mlx5: PPTB and PBMC register firmware command support
authorHuy Nguyen <huyn@mellanox.com>
Fri, 2 Mar 2018 21:47:01 +0000 (15:47 -0600)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 24 May 2018 21:23:33 +0000 (14:23 -0700)
commit50b4a3c23646254c7345f3663ff1e0a6cbcd9abb
tree979e15fdf3b234b7f8f72ffb30f021a1fe1fbf4c
parentdf5f1361cc080877013f7838b61d31ad31307c2b
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>
drivers/net/ethernet/mellanox/mlx5/core/en/port.c
drivers/net/ethernet/mellanox/mlx5/core/en/port.h
include/linux/mlx5/driver.h
include/linux/mlx5/mlx5_ifc.h