This series is the first set that enables few debug options in bnxt_re driver. Implements the basic driver data collection using the rdma tool. Also, implements raw data query option to get some of the Hardware specific information for analysis. Added a debugfs folder for bnxt_re corresponding to each PCI device to display some of the driver specific information. This will be enhanced in future series. Please review and apply. Thanks, Selvin Xavier v1 - v2 : - Remove the unnecessary user/kernel text displayed in dump output - Avoid unnecessary NULL check while deleting the debugfs directory Kalesh AP (1): RDMA/bnxt_re: Add debugfs hook in the driver Kashyap Desai (3): RDMA/bnxt_re: Support driver specific data collection using rdma tool RDMA/bnxt_re: Add support for querying HW contexts RDMA/bnxt_re: Support raw data query for each resources drivers/infiniband/hw/bnxt_re/Makefile | 3 +- drivers/infiniband/hw/bnxt_re/bnxt_re.h | 21 +++ drivers/infiniband/hw/bnxt_re/debugfs.c | 138 +++++++++++++++ drivers/infiniband/hw/bnxt_re/debugfs.h | 21 +++ drivers/infiniband/hw/bnxt_re/ib_verbs.c | 4 + drivers/infiniband/hw/bnxt_re/ib_verbs.h | 1 + drivers/infiniband/hw/bnxt_re/main.c | 272 ++++++++++++++++++++++++++++- drivers/infiniband/hw/bnxt_re/qplib_rcfw.h | 2 + drivers/infiniband/hw/bnxt_re/qplib_sp.c | 35 ++++ drivers/infiniband/hw/bnxt_re/qplib_sp.h | 2 + drivers/infiniband/hw/bnxt_re/roce_hsi.h | 40 +++++ 11 files changed, 537 insertions(+), 2 deletions(-) create mode 100644 drivers/infiniband/hw/bnxt_re/debugfs.c create mode 100644 drivers/infiniband/hw/bnxt_re/debugfs.h -- 2.5.5