Skip to contentSkip to conversation

IB: Add additional info on CNP

PATCH In review Mike Marciniszyn 2 participants 2 messages Aug 3, 2015 – Aug 14, 2015 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IB: Add additional info on CNP

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.

---
 drivers/staging/hfi1/TODO |    2 --
 include/rdma/ib_pack.h    |    1 +
 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/staging/hfi1/TODO +0 -2
index 2529149..cc2e51d 100644
@@ -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
-
include/rdma/ib_pack.h +1 -0
index 03f5217..709a533 100644
@@ -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 */

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20150803163658.8594.61765.stgit-K+u1se/DcYrLESAwzcoQNrvm/[email protected]