Thread (1 message) 1 message, 1 author, 2011-12-04

RE: [PATCH net-next V0 03/21] mlx4_core: Add "native" argument to mlx4_cmd and its callers (where needed)

From: Yevgeny Petrilin <hidden>
Date: 2011-12-04 10:43:51
Also in: linux-rdma

quoted
       return mlx4_cmd(dev, limit_watermark, srq_num, 0, MLX4_CMD_ARM_SRQ,
-                       MLX4_CMD_TIME_CLASS_B);
+                       MLX4_CMD_TIME_CLASS_B, 0);
Instead of a 0 or 1 for the native parameter, can we define something like

enum {
           MLX4_CMD_NATIVE,
           MLX4_CMD_WRAPPED
};

so that all these calls become easier to read?
 
Agree,
We will change this for next round.
--
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