Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mlx4/
H A Dsysfs.c578 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in add_vf_smi_entries() local
583 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in add_vf_smi_entries()
613 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in remove_vf_smi_entries() local
616 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in remove_vf_smi_entries()
628 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port_num) == in add_port() local
642 is_eth ? NULL : store_port_pkey, in add_port()
H A Dmad.c529 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_send_to_slave() local
580 if (is_eth) { in mlx4_ib_send_to_slave()
622 if (is_eth) { in mlx4_ib_send_to_slave()
690 int is_eth = 0; in mlx4_ib_demux_mad() local
693 is_eth = 0; in mlx4_ib_demux_mad()
695 is_eth = 1; in mlx4_ib_demux_mad()
697 if (is_eth) { in mlx4_ib_demux_mad()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c1322 int is_eth; in mlx4_common_set_port() local
1336 is_eth = op_mod; in mlx4_common_set_port()
1342 if (is_eth) { in mlx4_common_set_port()
1512 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()