]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
IB/mlx4: Rename struct mlx4_lso_seg to mlx4_wqe_lso_seg
authorRoland Dreier <rolandd@cisco.com>
Tue, 22 Jul 2008 21:19:39 +0000 (14:19 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 22 Jul 2008 21:19:39 +0000 (14:19 -0700)
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>
drivers/infiniband/hw/mlx4/qp.c
include/linux/mlx4/qp.h

index 89eb6cbe592ef5487a822808a192ae516827769d..bda0859a5ac53ad01bdd25647808fc6c7a9e5f03 100644 (file)
@@ -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);
index 7f128b266faa39044cc85e4f7175aed51664fe16..f02e9ed36cfab15dedadd98c183c0809f1a50f30 100644 (file)
@@ -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];
 };