diff options
author | Eli Cohen <eli@dev.mellanox.co.il> | 2008-04-17 00:09:27 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:09:27 -0400 |
commit | b832be1e4007f4a54954ec68bd865ff05d6babca (patch) | |
tree | f8780fb17293a5b02cd21fed468e1270daac91d8 /drivers/infiniband/hw/mlx4/cq.c | |
parent | 40ca1988e03c001747d0b4cc1b25cf38297c9f9e (diff) |
IB/mlx4: Add IPoIB LSO support
Add TSO support to the mlx4_ib driver.
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/cq.c')
-rw-r--r-- | drivers/infiniband/hw/mlx4/cq.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx4/cq.c b/drivers/infiniband/hw/mlx4/cq.c index d2e32b03e2f7..7d70af7952b0 100644 --- a/drivers/infiniband/hw/mlx4/cq.c +++ b/drivers/infiniband/hw/mlx4/cq.c | |||
@@ -420,6 +420,9 @@ static int mlx4_ib_poll_one(struct mlx4_ib_cq *cq, | |||
420 | case MLX4_OPCODE_BIND_MW: | 420 | case MLX4_OPCODE_BIND_MW: |
421 | wc->opcode = IB_WC_BIND_MW; | 421 | wc->opcode = IB_WC_BIND_MW; |
422 | break; | 422 | break; |
423 | case MLX4_OPCODE_LSO: | ||
424 | wc->opcode = IB_WC_LSO; | ||
425 | break; | ||
423 | } | 426 | } |
424 | } else { | 427 | } else { |
425 | wc->byte_len = be32_to_cpu(cqe->byte_cnt); | 428 | wc->byte_len = be32_to_cpu(cqe->byte_cnt); |