summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/mad.h
diff options
context:
space:
mode:
authorVishwanathapura, Niranjana <niranjana.vishwanathapura@intel.com>2017-06-01 17:04:02 -0700
committerDoug Ledford <dledford@redhat.com>2017-06-27 16:58:12 -0400
commitcb49366f3616fdf197893c24a5b2677b8c26ce29 (patch)
treec5c8296b474cb993761e267221f819a3c4a3108e /drivers/infiniband/hw/hfi1/mad.h
parentbb7dde8784913c06ccd1456bed6dcc5ebd0b3c24 (diff)
downloadlinux-cb49366f3616fdf197893c24a5b2677b8c26ce29.tar.bz2
IB/core,rdmavt,hfi1,opa-vnic: Send OPA cap_mask3 in trap
Provide the ability for IB clients to modify the OPA specific capability mask and include this mask in the subsequent trap data. Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> Signed-off-by: Michael N. Henry <michael.n.henry@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/mad.h')
-rw-r--r--drivers/infiniband/hw/hfi1/mad.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hfi1/mad.h b/drivers/infiniband/hw/hfi1/mad.h
index 5aa3fd1be653..a4e2506bd5ca 100644
--- a/drivers/infiniband/hw/hfi1/mad.h
+++ b/drivers/infiniband/hw/hfi1/mad.h
@@ -115,7 +115,7 @@ struct opa_mad_notice_attr {
__be32 lid; /* LID where change occurred */
__be32 new_cap_mask; /* new capability mask */
__be16 reserved2;
- __be16 cap_mask;
+ __be16 cap_mask3;
__be16 change_flags; /* low 4 bits only */
} __packed ntc_144;