IB/mlx5: Change debugfs to have per port contents
authorParav Pandit <parav@mellanox.com>
Thu, 4 Jan 2018 15:25:39 +0000 (17:25 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 8 Jan 2018 18:42:22 +0000 (11:42 -0700)
commita9e546e73ace1ebfb80dc9b55b46ace306f684cd
treeeccd87fd8837f631b53d543ceb181cc8209097c1
parentb3cbd6f080c90f64fa425589d20fe4506d96fb19
IB/mlx5: Change debugfs to have per port contents

When there are multiple ports for single IB(RoCE) device, support
debugfs entries to be available for each port.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/cong.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h