Lines Matching refs:cpu_to_be16
1285 path->rlid = cpu_to_be16(ah->dlid); in _mlx4_set_path()
2068 cpu_to_be16(ah->av.ib.g_slid & 0x7f); in build_sriov_qp0_header()
2070 cpu_to_be16(ah->av.ib.g_slid & 0x7f); in build_sriov_qp0_header()
2082 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_sriov_qp0_header()
2200 if (ah->av.eth.vlan != cpu_to_be16(0xffff)) { in build_mlx_header()
2211 sqp->ud_header.lrh.source_lid = cpu_to_be16(ah->av.ib.g_slid & 0x7f); in build_mlx_header()
2274 mlx->sched_prio = cpu_to_be16(pcp); in build_mlx_header()
2296 sqp->ud_header.eth.type = cpu_to_be16(MLX4_IB_IBOE_ETHERTYPE); in build_mlx_header()
2298 sqp->ud_header.vlan.type = cpu_to_be16(MLX4_IB_IBOE_ETHERTYPE); in build_mlx_header()
2299 sqp->ud_header.vlan.tag = cpu_to_be16(vlan | pcp); in build_mlx_header()
2311 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_mlx_header()
2524 hdr.pkey_index = cpu_to_be16(wr->wr.ud.pkey_index); in build_tunnel_header()