Home
last modified time | relevance | path

Searched refs:header_buf (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/hw/mthca/
Dmthca_provider.h295 void *header_buf; member
Dmthca_qp.c1361 sqp->header_buf = dma_alloc_coherent(&dev->pdev->dev, sqp->header_buf_size, in mthca_alloc_sqp()
1363 if (!sqp->header_buf) in mthca_alloc_sqp()
1404 sqp->header_buf, sqp->header_dma); in mthca_alloc_sqp()
1470 to_msqp(qp)->header_buf, in mthca_free_qp()
1533 sqp->header_buf + in build_mlx_header()
/drivers/infiniband/hw/mlx4/
Dqp.c80 u8 header_buf[MLX4_IB_UD_HEADER_SIZE]; member
1699 header_size = ib_ud_header_pack(&sqp->ud_header, sqp->header_buf); in build_sriov_qp0_header()
1711 memcpy(inl + 1, sqp->header_buf, header_size); in build_sriov_qp0_header()
1715 memcpy(inl + 1, sqp->header_buf, spc); in build_sriov_qp0_header()
1718 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_sriov_qp0_header()
1888 header_size = ib_ud_header_pack(&sqp->ud_header, sqp->header_buf); in build_mlx_header()
1896 be32_to_cpu(((__be32 *) sqp->header_buf)[i])); in build_mlx_header()
1913 memcpy(inl + 1, sqp->header_buf, header_size); in build_mlx_header()
1917 memcpy(inl + 1, sqp->header_buf, spc); in build_mlx_header()
1920 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_mlx_header()