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

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

From: Roland Dreier <hidden>
Date: 2011-12-02 17:01:00
Also in: linux-rdma

On Fri, Dec 2, 2011 at 2:16 AM, Yevgeny Petrilin
[off-list ref] wrote:
       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?
--
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