Skip to content

Commit

Permalink
IB/mlx4: Rename struct mlx4_lso_seg to mlx4_wqe_lso_seg
Browse files Browse the repository at this point in the history
Make the struct name consistent with other WQE segment struct types
defined in <linux/mlx4/qp.h>.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Roland Dreier committed Jul 22, 2008
1 parent 51f5f0e commit 47b3747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/mlx4/qp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ static void __set_data_seg(struct mlx4_wqe_data_seg *dseg, struct ib_sge *sg)
dseg->addr = cpu_to_be64(sg->addr);
}

static int build_lso_seg(struct mlx4_lso_seg *wqe, struct ib_send_wr *wr,
static int build_lso_seg(struct mlx4_wqe_lso_seg *wqe, struct ib_send_wr *wr,
struct mlx4_ib_qp *qp, unsigned *lso_seg_len)
{
unsigned halign = ALIGN(sizeof *wqe + wr->wr.ud.hlen, 16);
Expand Down
2 changes: 1 addition & 1 deletion include/linux/mlx4/qp.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ struct mlx4_wqe_datagram_seg {
__be32 reservd[2];
};

struct mlx4_lso_seg {
struct mlx4_wqe_lso_seg {
__be32 mss_hdr_size;
__be32 header[0];
};
Expand Down

0 comments on commit 47b3747

Please sign in to comment.