diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2008-01-07 00:02:33 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-01-25 17:15:38 -0500 |
commit | 6c719cae0b91f577738dfb4007baee28f03e48a5 (patch) | |
tree | fef7fb60092c5ed84fe14f7aaafdf55a0551016a /drivers/infiniband/hw/ipath/ipath_verbs.h | |
parent | 7aa54bd730df1468c90ae84b56ade7f322b44de7 (diff) |
IB/ipath: MAD performance sampling registers support
Add support for QLogic HCAs which have hardware performance sampling
registers for PortSamplesControl and PortSamplesResult MADs.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_verbs.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_verbs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_verbs.h b/drivers/infiniband/hw/ipath/ipath_verbs.h index 6ccb54f104a3..1c8985012743 100644 --- a/drivers/infiniband/hw/ipath/ipath_verbs.h +++ b/drivers/infiniband/hw/ipath/ipath_verbs.h | |||
@@ -554,6 +554,7 @@ struct ipath_ibdev { | |||
554 | u32 z_pkey_violations; /* starting count for PMA */ | 554 | u32 z_pkey_violations; /* starting count for PMA */ |
555 | u32 z_local_link_integrity_errors; /* starting count for PMA */ | 555 | u32 z_local_link_integrity_errors; /* starting count for PMA */ |
556 | u32 z_excessive_buffer_overrun_errors; /* starting count for PMA */ | 556 | u32 z_excessive_buffer_overrun_errors; /* starting count for PMA */ |
557 | u32 z_vl15_dropped; /* starting count for PMA */ | ||
557 | u32 n_rc_resends; | 558 | u32 n_rc_resends; |
558 | u32 n_rc_acks; | 559 | u32 n_rc_acks; |
559 | u32 n_rc_qacks; | 560 | u32 n_rc_qacks; |
@@ -598,6 +599,7 @@ struct ipath_verbs_counters { | |||
598 | u64 port_rcv_packets; | 599 | u64 port_rcv_packets; |
599 | u32 local_link_integrity_errors; | 600 | u32 local_link_integrity_errors; |
600 | u32 excessive_buffer_overrun_errors; | 601 | u32 excessive_buffer_overrun_errors; |
602 | u32 vl15_dropped; | ||
601 | }; | 603 | }; |
602 | 604 | ||
603 | static inline struct ipath_mr *to_imr(struct ib_mr *ibmr) | 605 | static inline struct ipath_mr *to_imr(struct ib_mr *ibmr) |