IB/mlx4: Add IPoIB LSO support
[linux-2.6-block.git] / drivers / infiniband / hw / mlx4 / cq.c
index d2e32b03e2f75910bfef1a71ba5448a9712b4aa7..7d70af7952b01a8c9e28f0d07a8c4ac7de8854e5 100644 (file)
@@ -420,6 +420,9 @@ static int mlx4_ib_poll_one(struct mlx4_ib_cq *cq,
                case MLX4_OPCODE_BIND_MW:
                        wc->opcode    = IB_WC_BIND_MW;
                        break;
+               case MLX4_OPCODE_LSO:
+                       wc->opcode    = IB_WC_LSO;
+                       break;
                }
        } else {
                wc->byte_len = be32_to_cpu(cqe->byte_cnt);