net/mlx5: Expose HW capability bits for port buffer per priority congestion counters
authorAya Levin <ayal@mellanox.com>
Sun, 1 Sep 2019 11:10:35 +0000 (14:10 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 5 Sep 2019 21:44:43 +0000 (14:44 -0700)
commit948d3f90e9e2f385556f9ebbf792713e5b497b7a
tree9dafa1c7deba703cceaa4615ebed8d7d67864126
parent63d67f3059291e24bd7a2fa3f5eb7395442e8f90
net/mlx5: Expose HW capability bits for port buffer per priority congestion counters

Map capability bit indicating that HCA supports port buffer's congestion
counters. Also map registers with the corresponding counters.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h