Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_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()
H A Dmlx4_ib_cq.c574 unsigned tail, struct mlx4_cqe *cqe, int is_eth) in use_tunnel_data() argument
588 if (is_eth) { in use_tunnel_data()
660 int is_eth; in mlx4_ib_poll_one() local
825 is_eth = (rdma_port_get_link_layer(wc->qp->device, in mlx4_ib_poll_one()
833 is_eth); in mlx4_ib_poll_one()
845 if (is_eth) { in mlx4_ib_poll_one()
H A Dmlx4_ib_qp.c1262 int is_eth = rdma_cap_eth_ah(&dev->ib_dev, init_attr->port_num); in mlx4_ib_create_qp() local
1264 if (is_eth && in mlx4_ib_create_qp()
1398 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port) == in _mlx4_set_path() local
1435 if (is_eth) { in _mlx4_set_path()
1781 int is_eth = rdma_cap_eth_ah(&dev->ib_dev, port_num) && in __mlx4_ib_modify_qp() local
1784 if (is_eth) { in __mlx4_ib_modify_qp()
1807 if (is_eth && in __mlx4_ib_modify_qp()
1972 int is_eth = rdma_port_get_link_layer( in __mlx4_ib_modify_qp() local
1975 if (is_eth) { in __mlx4_ib_modify_qp()
2443 bool is_eth; in build_mlx_header() local
[all …]
H A Dmlx4_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()
H A Dmlx4_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/sys/contrib/dev/athk/ath10k/
H A Dhtt_tx.c1170 static u8 ath10k_htt_tx_get_tid(struct sk_buff *skb, bool is_eth) in ath10k_htt_tx_get_tid() argument
1175 if (!is_eth && ieee80211_is_mgmt(hdr->frame_control)) in ath10k_htt_tx_get_tid()
1281 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_hl() local
1283 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_hl()
1288 if (!is_eth) { in ath10k_htt_tx_hl()
1398 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_32() local
1400 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_32()
1424 if (!is_eth) { in ath10k_htt_tx_32()
1603 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_64() local
1605 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_64()
[all …]
/freebsd/sys/compat/linux/
H A Dlinux.c348 bool is_eth; member
369 if (cbs->is_eth && IFP_IS_ETH(ifp) && cbs->unit == cbs->ethno) in ifname_linux_to_ifp_cb()
409 arg.is_eth = (len == 3 && strncmp(lxname, "eth", len) == 0); in ifname_linux_to_ifp()
/freebsd/contrib/ofed/libmlx5/
H A Dverbs.c1667 int is_eth; in mlx5_create_ah() local
1673 is_eth = ctx->cached_link_layer[attr->port_num - 1] == in mlx5_create_ah()
1679 is_eth = (port_attr.link_layer == IBV_LINK_LAYER_ETHERNET); in mlx5_create_ah()
1682 if (unlikely((!attr->is_global) && is_eth)) { in mlx5_create_ah()
1691 if (is_eth) { in mlx5_create_ah()
1720 if (is_eth) { in mlx5_create_ah()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_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()