Home
last modified time | relevance | path

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

/NextBSD/sys/ofed/drivers/infiniband/hw/mlx4/
HDcm.c364 struct ib_mad *mad, int is_eth) in mlx4_ib_demux_cm_handler() argument
373 if (is_eth) in mlx4_ib_demux_cm_handler()
394 if (!is_eth) in mlx4_ib_demux_cm_handler()
HDqp.c1604 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port) == in mlx4_set_path() local
1637 if (is_eth) { in mlx4_set_path()
1774 int is_eth = -1; in __mlx4_ib_modify_qp() local
2040 is_eth = rdma_port_get_link_layer(&dev->ib_dev, qp->port) == in __mlx4_ib_modify_qp()
2042 if (is_eth) { in __mlx4_ib_modify_qp()
2058 if (is_eth && (new_state == IB_QPS_RTR)) { in __mlx4_ib_modify_qp()
2524 int is_eth; in build_mlx_header() local
2534 is_eth = rdma_port_get_link_layer(sqp->qp.ibqp.device, sqp->qp.port) == IB_LINK_LAYER_ETHERNET; in build_mlx_header()
2536 if (is_eth) { in build_mlx_header()
2554 if (is_eth && ah->av.eth.vlan != 0xffff) { in build_mlx_header()
[all …]
HDmad.c470 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_send_to_slave() local
513 if (is_eth) { in mlx4_ib_send_to_slave()
551 if (is_eth) { in mlx4_ib_send_to_slave()
609 int is_eth = 0; in mlx4_ib_demux_mad() local
612 is_eth = 0; in mlx4_ib_demux_mad()
614 is_eth = 1; in mlx4_ib_demux_mad()
616 if (is_eth) { in mlx4_ib_demux_mad()
635 if (mlx4_ib_demux_cm_handler(ibdev, port, &slave, mad, is_eth)) in mlx4_ib_demux_mad()
672 if (mlx4_ib_demux_cm_handler(ibdev, port, &slave, mad, is_eth)) in mlx4_ib_demux_mad()
HDsysfs.c566 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port_num) == in add_port() local
584 if (is_eth) in add_port()
HDcq.c628 unsigned tail, struct mlx4_cqe *cqe, int is_eth) in use_tunnel_data() argument
642 if (is_eth) { in use_tunnel_data()
HDmlx4_ib.h824 struct ib_mad *mad, int is_eth);
HDmain.c619 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_SET_PORT() local
635 err = mlx4_cmd(dev->dev, mailbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_SET_PORT()
/NextBSD/sys/dev/ifmlx4/
HDport.c542 int is_eth; in mlx4_common_set_port() local
557 is_eth = op_mod; in mlx4_common_set_port()
564 if (is_eth) { in mlx4_common_set_port()
726 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()
/NextBSD/sys/ofed/drivers/net/mlx4/
HDport.c542 int is_eth; in mlx4_common_set_port() local
557 is_eth = op_mod; in mlx4_common_set_port()
564 if (is_eth) { in mlx4_common_set_port()
726 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()
/NextBSD/sys/ofed/drivers/infiniband/core/
HDverbs.c197 int is_eth = (rdma_port_get_link_layer(device, port_num) == in ib_init_ah_from_wc() local
201 if (is_eth) { in ib_init_ah_from_wc()
/NextBSD/sys/compat/linux/
HDlinux_ioctl.c2126 int is_eth, index; in ifname_linux_to_bsd() local
2137 is_eth = (len == 3 && !strncmp(lxname, "eth", len)) ? 1 : 0; in ifname_linux_to_bsd()
2148 if (is_eth && IFP_IS_ETH(ifp) && unit == index++) in ifname_linux_to_bsd()