Lines Matching refs:is_eth
1302 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port) == in _mlx4_set_path() local
1339 if (is_eth) { in _mlx4_set_path()
1831 int is_eth = rdma_port_get_link_layer( in __mlx4_ib_modify_qp() local
1834 if (is_eth) { in __mlx4_ib_modify_qp()
2281 bool is_eth; in build_mlx_header() local
2289 is_eth = rdma_port_get_link_layer(sqp->qp.ibqp.device, sqp->qp.port) == IB_LINK_LAYER_ETHERNET; in build_mlx_header()
2291 if (is_eth) { in build_mlx_header()
2317 ib_ud_header_init(send_size, !is_eth, is_eth, is_vlan, is_grh, 0, &sqp->ud_header); in build_mlx_header()
2319 if (!is_eth) { in build_mlx_header()
2332 if (is_eth) in build_mlx_header()
2357 if (!is_eth) { in build_mlx_header()
2381 if (is_eth) { in build_mlx_header()
3197 int is_eth; in to_ib_ah_attr() local
3205 is_eth = rdma_port_get_link_layer(&ibdev->ib_dev, ib_ah_attr->port_num) == in to_ib_ah_attr()
3207 if (is_eth) in to_ib_ah_attr()