Message ID | 20150803163658.8594.61765.stgit@phlsvslse11.ph.intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On 08/03/2015 12:36 PM, Mike Marciniszyn wrote: > Commit c50f8564f283 ("IB: Add CNP opcode enumeration.") > added an opcode from the IBTA 3.1 specification. > > Add a comment in the source referencing the relevant > specification sections. > > Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> > Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Added to my hfi1-v4 branch
diff --git a/drivers/staging/hfi1/TODO b/drivers/staging/hfi1/TODO index 2529149..cc2e51d 100644 --- a/drivers/staging/hfi1/TODO +++ b/drivers/staging/hfi1/TODO @@ -3,5 +3,3 @@ July, 2015 - Remove unneeded file entries in sysfs - Remove software processing of IB protocol and place in library for use by qib, ipath (if still present), hfi1, and eventually soft-roce -- Clean up comments in code around CNP opcode - diff --git a/include/rdma/ib_pack.h b/include/rdma/ib_pack.h index 03f5217..709a533 100644 --- a/include/rdma/ib_pack.h +++ b/include/rdma/ib_pack.h @@ -76,6 +76,7 @@ enum { IB_OPCODE_UC = 0x20, IB_OPCODE_RD = 0x40, IB_OPCODE_UD = 0x60, + /* per IBTA 3.1 Table 38, A10.3.2 */ IB_OPCODE_CNP = 0x80, /* operations -- just used to define real constants */