RDMA/ocrdma: Use PCI-ID as an identification in debugfs
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 11 Dec 2018 10:04:42 +0000 (12:04 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 11 Dec 2018 21:38:17 +0000 (14:38 -0700)
commit8cc0698f46ca9cb38e77323e1074f182aac4040a
treee9b33d17e5e063ca67ae31ee87f9ef800284e680
parent9435ef4caeea0a1141e461f9ee6f91b173867c05
RDMA/ocrdma: Use PCI-ID as an identification in debugfs

In opposite to current implementation of identification based on device
name, PCI-ID identification provides stable names suitable for device
rename. Change ocrdma debugfs representation to use PCI-ID.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/ocrdma/ocrdma_stats.c