Lines Matching refs:cpu_to_be16
1310 path->rlid = cpu_to_be16(ah->dlid); in _mlx4_set_path()
2177 cpu_to_be16(ah->av.ib.g_slid & 0x7f); in build_sriov_qp0_header()
2179 cpu_to_be16(ah->av.ib.g_slid & 0x7f); in build_sriov_qp0_header()
2191 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_sriov_qp0_header()
2312 if (ah->av.eth.vlan != cpu_to_be16(0xffff)) { in build_mlx_header()
2323 sqp->ud_header.lrh.source_lid = cpu_to_be16(ah->av.ib.g_slid & 0x7f); in build_mlx_header()
2386 mlx->sched_prio = cpu_to_be16(pcp); in build_mlx_header()
2408 sqp->ud_header.eth.type = cpu_to_be16(MLX4_IB_IBOE_ETHERTYPE); in build_mlx_header()
2410 sqp->ud_header.vlan.type = cpu_to_be16(MLX4_IB_IBOE_ETHERTYPE); in build_mlx_header()
2411 sqp->ud_header.vlan.tag = cpu_to_be16(vlan | pcp); in build_mlx_header()
2423 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_mlx_header()
2633 hdr.pkey_index = cpu_to_be16(wr->pkey_index); in build_tunnel_header()