Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dsysfs.c590 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in add_vf_smi_entries() local
595 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in add_vf_smi_entries()
625 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in remove_vf_smi_entries() local
628 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in remove_vf_smi_entries()
640 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port_num) == in add_port() local
660 is_eth ? NULL : store_port_pkey, in add_port()
Dcq.c586 unsigned tail, struct mlx4_cqe *cqe, int is_eth) in use_tunnel_data() argument
600 if (is_eth) { in use_tunnel_data()
672 int is_eth; in mlx4_ib_poll_one() local
839 is_eth = (rdma_port_get_link_layer(wc->qp->device, in mlx4_ib_poll_one()
847 is_eth); in mlx4_ib_poll_one()
859 if (is_eth) { in mlx4_ib_poll_one()
Dqp.c1658 int is_eth = rdma_cap_eth_ah(&dev->ib_dev, init_attr->port_num); in mlx4_ib_create_qp() local
1660 if (is_eth && in mlx4_ib_create_qp()
2319 int is_eth = in __mlx4_ib_modify_qp() local
2323 if (is_eth) { in __mlx4_ib_modify_qp()
2338 if (is_eth && in __mlx4_ib_modify_qp()
2510 int is_eth = rdma_port_get_link_layer( in __mlx4_ib_modify_qp() local
2513 if (is_eth) { in __mlx4_ib_modify_qp()
3046 bool is_eth; in build_mlx_header() local
3056 is_eth = rdma_port_get_link_layer(sqp->qp.ibqp.device, sqp->qp.port) == IB_LINK_LAYER_ETHERNET; in build_mlx_header()
3058 if (is_eth) { in build_mlx_header()
[all …]
Dmad.c521 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_send_to_slave() local
562 if (is_eth) { in mlx4_ib_send_to_slave()
604 if (is_eth) { in mlx4_ib_send_to_slave()
672 int is_eth = 0; in mlx4_ib_demux_mad() local
675 is_eth = 0; in mlx4_ib_demux_mad()
677 is_eth = 1; in mlx4_ib_demux_mad()
679 if (is_eth) { in mlx4_ib_demux_mad()
Dmain.c1050 u8 is_eth = mdev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_modify_port() local
1059 if (is_eth) in mlx4_ib_modify_port()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c1142 static u8 ath10k_htt_tx_get_tid(struct sk_buff *skb, bool is_eth) in ath10k_htt_tx_get_tid() argument
1147 if (!is_eth && ieee80211_is_mgmt(hdr->frame_control)) in ath10k_htt_tx_get_tid()
1244 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_hl() local
1246 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_hl()
1355 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_32() local
1357 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_32()
1555 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_64() local
1557 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_64()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dport.c1342 int is_eth; in mlx4_common_set_port() local
1356 is_eth = op_mod; in mlx4_common_set_port()
1362 if (is_eth) { in mlx4_common_set_port()
1532 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c1848 bool is_eth = false; in bnxt_re_build_qp1_send_v2() local
1892 is_eth = true; in bnxt_re_build_qp1_send_v2()
1895 ib_ud_header_init(payload_size, !is_eth, is_eth, is_vlan, is_grh, in bnxt_re_build_qp1_send_v2()