Searched refs:is_eth (Results 1 – 3 of 3) sorted by relevance
578 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in add_vf_smi_entries() local583 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() local616 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() local642 is_eth ? NULL : store_port_pkey, in add_port()
529 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_send_to_slave() local580 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() local693 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()
1322 int is_eth; in mlx4_common_set_port() local1336 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()