diff options
author | Vishwanathapura, Niranjana <niranjana.vishwanathapura@intel.com> | 2017-06-02 02:04:02 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-06-27 22:58:12 +0200 |
commit | cb49366f3616fdf197893c24a5b2677b8c26ce29 (patch) | |
tree | c5c8296b474cb993761e267221f819a3c4a3108e /drivers/infiniband/hw/hfi1/mad.h | |
parent | IB/hfi1: Replace deprecated pci functions with new API (diff) | |
download | linux-cb49366f3616fdf197893c24a5b2677b8c26ce29.tar.xz linux-cb49366f3616fdf197893c24a5b2677b8c26ce29.zip |
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.h | 2 |
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; |