Lines Matching refs:is_eth
1277 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port) == in _mlx4_set_path() local
1310 if (is_eth) { in _mlx4_set_path()
1724 int is_eth = rdma_port_get_link_layer( in __mlx4_ib_modify_qp() local
1727 if (is_eth) { in __mlx4_ib_modify_qp()
2172 bool is_eth; in build_mlx_header() local
2180 is_eth = rdma_port_get_link_layer(sqp->qp.ibqp.device, sqp->qp.port) == IB_LINK_LAYER_ETHERNET; in build_mlx_header()
2182 if (is_eth) { in build_mlx_header()
2205 ib_ud_header_init(send_size, !is_eth, is_eth, is_vlan, is_grh, 0, &sqp->ud_header); in build_mlx_header()
2207 if (!is_eth) { in build_mlx_header()
2220 if (is_eth) in build_mlx_header()
2245 if (!is_eth) { in build_mlx_header()
2269 if (is_eth) { in build_mlx_header()
3083 int is_eth; in to_ib_ah_attr() local
3091 is_eth = rdma_port_get_link_layer(&ibdev->ib_dev, ib_ah_attr->port_num) == in to_ib_ah_attr()
3093 if (is_eth) in to_ib_ah_attr()