Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/
HDmlx4_ib_sysfs.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()
HDmlx4_ib_cq.c581 unsigned tail, struct mlx4_cqe *cqe, int is_eth) in use_tunnel_data() argument
595 if (is_eth) { in use_tunnel_data()
667 int is_eth; in mlx4_ib_poll_one() local
832 is_eth = (rdma_port_get_link_layer(wc->qp->device, in mlx4_ib_poll_one()
840 is_eth); in mlx4_ib_poll_one()
852 if (is_eth) { in mlx4_ib_poll_one()
HDmlx4_ib_qp.c1255 int is_eth = rdma_cap_eth_ah(&dev->ib_dev, init_attr->port_num); in mlx4_ib_create_qp() local
1257 if (is_eth && in mlx4_ib_create_qp()
1393 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port) == in _mlx4_set_path() local
1430 if (is_eth) { in _mlx4_set_path()
1773 int is_eth = rdma_cap_eth_ah(&dev->ib_dev, port_num) && in __mlx4_ib_modify_qp() local
1776 if (is_eth) { in __mlx4_ib_modify_qp()
1799 if (is_eth && in __mlx4_ib_modify_qp()
1964 int is_eth = rdma_port_get_link_layer( in __mlx4_ib_modify_qp() local
1967 if (is_eth) { in __mlx4_ib_modify_qp()
2435 bool is_eth; in build_mlx_header() local
[all …]
HDmlx4_ib_mad.c500 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_send_to_slave() local
539 if (is_eth) { in mlx4_ib_send_to_slave()
577 if (is_eth) { in mlx4_ib_send_to_slave()
647 int is_eth = 0; in mlx4_ib_demux_mad() local
650 is_eth = 0; in mlx4_ib_demux_mad()
652 is_eth = 1; in mlx4_ib_demux_mad()
654 if (is_eth) { in mlx4_ib_demux_mad()
HDmlx4_ib_main.c1012 u8 is_eth = mdev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_modify_port() local
1021 if (is_eth) in mlx4_ib_modify_port()
/freebsd-13-stable/sys/compat/linux/
HDlinux.c333 bool is_eth, is_lo; in ifname_linux_to_bsd() local
350 is_eth = (len == 3 && strncmp(lxname, "eth", len) == 0); in ifname_linux_to_bsd()
362 if (is_eth && IFP_IS_ETH(ifp) && unit == index++) in ifname_linux_to_bsd()
/freebsd-13-stable/contrib/ofed/libmlx5/
HDverbs.c1641 int is_eth; in mlx5_create_ah() local
1647 is_eth = ctx->cached_link_layer[attr->port_num - 1] == in mlx5_create_ah()
1653 is_eth = (port_attr.link_layer == IBV_LINK_LAYER_ETHERNET); in mlx5_create_ah()
1656 if (unlikely((!attr->is_global) && is_eth)) { in mlx5_create_ah()
1665 if (is_eth) { in mlx5_create_ah()
1694 if (is_eth) { in mlx5_create_ah()
/freebsd-13-stable/sys/dev/mlx4/mlx4_core/
HDmlx4_port.c1259 int is_eth; in mlx4_common_set_port() local
1274 is_eth = op_mod; in mlx4_common_set_port()
1278 if (is_eth) { in mlx4_common_set_port()
1468 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()