Searched refs:is_eth (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/mlx4/
H A Dsysfs.c593 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == add_vf_smi_entries() local
598 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) add_vf_smi_entries()
628 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == remove_vf_smi_entries() local
631 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) remove_vf_smi_entries()
643 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port_num) == add_port() local
663 is_eth ? NULL : store_port_pkey, add_port()
H A Dqp.c1302 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port) == _mlx4_set_path() local
1339 if (is_eth) { _mlx4_set_path()
1831 int is_eth = rdma_port_get_link_layer( __mlx4_ib_modify_qp() local
1834 if (is_eth) { __mlx4_ib_modify_qp()
2281 bool is_eth; build_mlx_header() local
2289 is_eth = rdma_port_get_link_layer(sqp->qp.ibqp.device, sqp->qp.port) == IB_LINK_LAYER_ETHERNET; build_mlx_header()
2291 if (is_eth) { build_mlx_header()
2317 ib_ud_header_init(send_size, !is_eth, is_eth, is_vlan, is_grh, 0, &sqp->ud_header); build_mlx_header()
2319 if (!is_eth) { build_mlx_header()
2332 if (is_eth) build_mlx_header()
2357 if (!is_eth) { build_mlx_header()
2381 if (is_eth) { build_mlx_header()
3197 int is_eth; to_ib_ah_attr() local
3205 is_eth = rdma_port_get_link_layer(&ibdev->ib_dev, ib_ah_attr->port_num) == to_ib_ah_attr()
3207 if (is_eth) to_ib_ah_attr()
H A Dcq.c580 unsigned tail, struct mlx4_cqe *cqe, int is_eth) use_tunnel_data()
594 if (is_eth) { use_tunnel_data()
667 int is_eth; mlx4_ib_poll_one() local
852 is_eth = (rdma_port_get_link_layer(wc->qp->device, mlx4_ib_poll_one()
860 cqe, is_eth); mlx4_ib_poll_one()
871 if (is_eth) { mlx4_ib_poll_one()
579 use_tunnel_data(struct mlx4_ib_qp *qp, struct mlx4_ib_cq *cq, struct ib_wc *wc, unsigned tail, struct mlx4_cqe *cqe, int is_eth) use_tunnel_data() argument
H A Dmad.c473 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; mlx4_ib_send_to_slave() local
512 if (is_eth) { mlx4_ib_send_to_slave()
550 if (is_eth) { mlx4_ib_send_to_slave()
612 int is_eth = 0; mlx4_ib_demux_mad() local
615 is_eth = 0; mlx4_ib_demux_mad()
617 is_eth = 1; mlx4_ib_demux_mad()
619 if (is_eth) { mlx4_ib_demux_mad()
H A Dmain.c872 u8 is_eth = mdev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; mlx4_ib_modify_port() local
881 if (is_eth) mlx4_ib_modify_port()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c701 int is_eth; mlx4_common_set_port() local
716 is_eth = op_mod; mlx4_common_set_port()
720 if (is_eth) { mlx4_common_set_port()
897 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, mlx4_common_set_port()

Completed in 272 milliseconds