iw_cxgb4: dump detailed driver-specific QP information
Provide a cxgb4-specific function to fill in qp state details. This allows dumping important c4iw_qp state useful for debugging. Included in the dump are the t4_sq, t4_rq structs, plus a dump of the t4_swsqe and t4swrqe descriptors for the first and last pending entries. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Este commit está contenido en:
@@ -55,6 +55,7 @@
|
||||
#include <rdma/iw_cm.h>
|
||||
#include <rdma/rdma_netlink.h>
|
||||
#include <rdma/iw_portmap.h>
|
||||
#include <rdma/restrack.h>
|
||||
|
||||
#include "cxgb4.h"
|
||||
#include "cxgb4_uld.h"
|
||||
@@ -1078,4 +1079,8 @@ extern int use_dsgl;
|
||||
void c4iw_invalidate_mr(struct c4iw_dev *rhp, u32 rkey);
|
||||
struct c4iw_wr_wait *c4iw_alloc_wr_wait(gfp_t gfp);
|
||||
|
||||
typedef int c4iw_restrack_func(struct sk_buff *msg,
|
||||
struct rdma_restrack_entry *res);
|
||||
extern c4iw_restrack_func *c4iw_restrack_funcs[RDMA_RESTRACK_MAX];
|
||||
|
||||
#endif
|
||||
|
Referencia en una nueva incidencia
Block a user