summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2015-12-21 15:20:29 +0100
committerDoug Ledford <dledford@redhat.com>2015-12-23 21:58:30 +0100
commit145d9c5410324a6f64d8847f115e5f4fdfddce39 (patch)
tree4680171a7892e9c51ca33803be7720cbf1c6b4c5 /include
parentIB/core: Specify attribute_id in port_table_attribute (diff)
downloadlinux-145d9c5410324a6f64d8847f115e5f4fdfddce39.tar.xz
linux-145d9c5410324a6f64d8847f115e5f4fdfddce39.zip
IB/core: Display extended counter set if available
Check if the extended counters are available and if so create the proper extended and additional counters. Signed-off-by: Christoph Lameter <cl@linux.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Hal Rosenstock <hal@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/rdma/ib_pma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_pma.h b/include/rdma/ib_pma.h
index a5889f18807b..2f8a65c1fca7 100644
--- a/include/rdma/ib_pma.h
+++ b/include/rdma/ib_pma.h
@@ -42,6 +42,7 @@
*/
#define IB_PMA_CLASS_CAP_ALLPORTSELECT cpu_to_be16(1 << 8)
#define IB_PMA_CLASS_CAP_EXT_WIDTH cpu_to_be16(1 << 9)
+#define IB_PMA_CLASS_CAP_EXT_WIDTH_NOIETF cpu_to_be16(1 << 10)
#define IB_PMA_CLASS_CAP_XMIT_WAIT cpu_to_be16(1 << 12)
#define IB_PMA_CLASS_PORT_INFO cpu_to_be16(0x0001)