Home
last modified time | relevance | path

Searched refs:is_eth (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dsysfs.c593 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in add_vf_smi_entries() local
598 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in add_vf_smi_entries()
628 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in remove_vf_smi_entries() local
631 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in remove_vf_smi_entries()
643 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port_num) == in add_port() local
663 is_eth ? NULL : store_port_pkey, in add_port()
Dcq.c571 unsigned tail, struct mlx4_cqe *cqe, int is_eth) in use_tunnel_data() argument
585 if (is_eth) { in use_tunnel_data()
658 int is_eth; in mlx4_ib_poll_one() local
843 is_eth = (rdma_port_get_link_layer(wc->qp->device, in mlx4_ib_poll_one()
851 cqe, is_eth); in mlx4_ib_poll_one()
862 if (is_eth) { in mlx4_ib_poll_one()
Dqp.c1277 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()
[all …]
Dmad.c478 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_send_to_slave() local
517 if (is_eth) { in mlx4_ib_send_to_slave()
555 if (is_eth) { in mlx4_ib_send_to_slave()
617 int is_eth = 0; in mlx4_ib_demux_mad() local
620 is_eth = 0; in mlx4_ib_demux_mad()
622 is_eth = 1; in mlx4_ib_demux_mad()
624 if (is_eth) { in mlx4_ib_demux_mad()
Dmain.c602 u8 is_eth = mdev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_modify_port() local
611 if (is_eth) in mlx4_ib_modify_port()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dport.c701 int is_eth; in mlx4_common_set_port() local
716 is_eth = op_mod; in mlx4_common_set_port()
720 if (is_eth) { in mlx4_common_set_port()
897 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()
/linux-4.1.27/drivers/infiniband/core/
Dverbs.c201 int is_eth = (rdma_port_get_link_layer(device, port_num) == in ib_init_ah_from_wc() local
205 if (is_eth) { in ib_init_ah_from_wc()