Home
last modified time | relevance | path

Searched refs:is_eth (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A 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()
H A Dcq.c581 unsigned tail, struct mlx4_cqe *cqe, int is_eth) in use_tunnel_data()
595 if (is_eth) { in use_tunnel_data()
667 int is_eth; in mlx4_ib_poll_one() local
834 is_eth = (rdma_port_get_link_layer(wc->qp->device, in mlx4_ib_poll_one()
842 is_eth); in mlx4_ib_poll_one()
855 if (is_eth) { in mlx4_ib_poll_one()
580 use_tunnel_data(struct mlx4_ib_qp *qp, struct mlx4_ib_cq *cq, struct ib_wc *wc, unsigned tail, struct mlx4_cqe *cqe, int is_eth) use_tunnel_data() argument
H A Dqp.c1604 int is_eth = rdma_cap_eth_ah(&dev->ib_dev, init_attr->port_num); in mlx4_ib_create_qp() local
1606 if (is_eth && in mlx4_ib_create_qp()
2263 int is_eth = in __mlx4_ib_modify_qp() local
2267 if (is_eth) { in __mlx4_ib_modify_qp()
2282 if (is_eth && in __mlx4_ib_modify_qp()
2454 int is_eth = rdma_port_get_link_layer( in __mlx4_ib_modify_qp() local
2457 if (is_eth) { in __mlx4_ib_modify_qp()
2995 bool is_eth; in build_mlx_header() local
3005 is_eth = rdma_port_get_link_layer(qp->ibqp.device, qp->port) == IB_LINK_LAYER_ETHERNET; in build_mlx_header()
3007 if (is_eth) { in build_mlx_header()
[all...]
H A Dmad.c528 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_send_to_slave() local
579 if (is_eth) { in mlx4_ib_send_to_slave()
621 if (is_eth) { in mlx4_ib_send_to_slave()
689 int is_eth = 0; in mlx4_ib_demux_mad() local
692 is_eth = 0; in mlx4_ib_demux_mad()
694 is_eth = 1; in mlx4_ib_demux_mad()
696 if (is_eth) { in mlx4_ib_demux_mad()
H A Dmain.c1063 u8 is_eth = mdev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_modify_port() local
1072 if (is_eth) in mlx4_ib_modify_port()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A Dsysfs.c580 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in add_vf_smi_entries() local
585 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in add_vf_smi_entries()
615 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in remove_vf_smi_entries() local
618 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in remove_vf_smi_entries()
630 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port_num) == in add_port() local
650 is_eth ? NULL : store_port_pkey, in add_port()
H A Dcq.c581 unsigned tail, struct mlx4_cqe *cqe, int is_eth) in use_tunnel_data()
595 if (is_eth) { in use_tunnel_data()
667 int is_eth; in mlx4_ib_poll_one() local
834 is_eth = (rdma_port_get_link_layer(wc->qp->device, in mlx4_ib_poll_one()
842 is_eth); in mlx4_ib_poll_one()
855 if (is_eth) { in mlx4_ib_poll_one()
580 use_tunnel_data(struct mlx4_ib_qp *qp, struct mlx4_ib_cq *cq, struct ib_wc *wc, unsigned tail, struct mlx4_cqe *cqe, int is_eth) use_tunnel_data() argument
H A Dqp.c1639 int is_eth = rdma_cap_eth_ah(&dev->ib_dev, init_attr->port_num); in mlx4_ib_create_qp() local
1641 if (is_eth && in mlx4_ib_create_qp()
2296 int is_eth = in __mlx4_ib_modify_qp() local
2300 if (is_eth) { in __mlx4_ib_modify_qp()
2315 if (is_eth && in __mlx4_ib_modify_qp()
2487 int is_eth = rdma_port_get_link_layer( in __mlx4_ib_modify_qp() local
2490 if (is_eth) { in __mlx4_ib_modify_qp()
3031 bool is_eth; in build_mlx_header() local
3041 is_eth = rdma_port_get_link_layer(qp->ibqp.device, qp->port) == IB_LINK_LAYER_ETHERNET; in build_mlx_header()
3043 if (is_eth) { in build_mlx_header()
[all...]
H A Dmad.c529 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_send_to_slave() local
580 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() local
693 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()
H A Dmain.c1063 u8 is_eth = mdev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_modify_port() local
1072 if (is_eth) in mlx4_ib_modify_port()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/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...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c1188 static u8 ath10k_htt_tx_get_tid(struct sk_buff *skb, bool is_eth) in ath10k_htt_tx_get_tid() argument
1193 if (!is_eth && ieee80211_is_mgmt(hdr->frame_control)) in ath10k_htt_tx_get_tid()
1300 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_hl() local
1302 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_hl()
1414 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_32() local
1416 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_32()
1616 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_64() local
1618 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_64()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c2133 bool is_eth = false; in bnxt_re_build_qp1_send_v2() local
2177 is_eth = true; in bnxt_re_build_qp1_send_v2()
2180 ib_ud_header_init(payload_size, !is_eth, is_eth, is_vlan, is_grh, in bnxt_re_build_qp1_send_v2()
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c2233 bool is_eth = false; in bnxt_re_build_qp1_send_v2() local
2277 is_eth = true; in bnxt_re_build_qp1_send_v2()
2280 ib_ud_header_init(payload_size, !is_eth, is_eth, is_vlan, is_grh, in bnxt_re_build_qp1_send_v2()

Completed in 50 milliseconds