Thread (1 message) 1 message, 1 author, 2012-03-21

RE: [PATCH 3/9] ocrdma: Driver for Emulex OneConnect RDMA adapter

From: David Laight <hidden>
Date: 2012-03-21 16:33:54
Also in: linux-rdma

 
quoted
+#define is_cqe_wr_imm(cqe) \
+       ((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_WRITE_IMM) ? 1 : 0)
...similar comment about using readable typesafe inline functions
instead of macros...
and if you are using #defines, you need to enclose every reference
to the parameters in ().

	David


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help