[ewg] [PATCH v4] MLX4: RAW ETH support

Eli Cohen eli at dev.mellanox.co.il
Mon Jun 14 02:09:43 PDT 2010


On Mon, Jun 14, 2010 at 11:56 AM, Alekseys Senin <alekseys at voltaire.com> wrote:

> +@@ -902,6 +903,7 @@ static int to_mlx4_st(enum ib_qp_type type)
> +       case IB_QPT_RAW_ETY:
> +       case IB_QPT_SMI:
> +       case IB_QPT_GSI:        return MLX4_QP_ST_MLX;
> ++      case IB_QPT_RAW_ETH:    return MLX4_QP_ST_MLX;
It would look cleaner if you'd remove the first return above let it
fallback to the later.



More information about the ewg mailing list