aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_verbs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_verbs.h')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_verbs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_verbs.h b/drivers/infiniband/hw/ipath/ipath_verbs.h
index 7d2ba72609f7..a9baa9101432 100644
--- a/drivers/infiniband/hw/ipath/ipath_verbs.h
+++ b/drivers/infiniband/hw/ipath/ipath_verbs.h
@@ -434,11 +434,18 @@ struct ipath_ibdev {
434 __be64 sys_image_guid; /* in network order */ 434 __be64 sys_image_guid; /* in network order */
435 __be64 gid_prefix; /* in network order */ 435 __be64 gid_prefix; /* in network order */
436 __be64 mkey; 436 __be64 mkey;
437
437 u32 n_pds_allocated; /* number of PDs allocated for device */ 438 u32 n_pds_allocated; /* number of PDs allocated for device */
439 spinlock_t n_pds_lock;
438 u32 n_ahs_allocated; /* number of AHs allocated for device */ 440 u32 n_ahs_allocated; /* number of AHs allocated for device */
441 spinlock_t n_ahs_lock;
439 u32 n_cqs_allocated; /* number of CQs allocated for device */ 442 u32 n_cqs_allocated; /* number of CQs allocated for device */
443 spinlock_t n_cqs_lock;
440 u32 n_srqs_allocated; /* number of SRQs allocated for device */ 444 u32 n_srqs_allocated; /* number of SRQs allocated for device */
445 spinlock_t n_srqs_lock;
441 u32 n_mcast_grps_allocated; /* number of mcast groups allocated */ 446 u32 n_mcast_grps_allocated; /* number of mcast groups allocated */
447 spinlock_t n_mcast_grps_lock;
448
442 u64 ipath_sword; /* total dwords sent (sample result) */ 449 u64 ipath_sword; /* total dwords sent (sample result) */
443 u64 ipath_rword; /* total dwords received (sample result) */ 450 u64 ipath_rword; /* total dwords received (sample result) */
444 u64 ipath_spkts; /* total packets sent (sample result) */ 451 u64 ipath_spkts; /* total packets sent (sample result) */