Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mlx4/
H A Dsysfs.c578 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in add_vf_smi_entries() local
583 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in add_vf_smi_entries()
613 int is_eth = rdma_port_get_link_layer(&p->dev->ib_dev, p->port_num) == in remove_vf_smi_entries() local
616 if (is_eth || p->slave == mlx4_master_func_num(p->dev->dev)) in remove_vf_smi_entries()
628 int is_eth = rdma_port_get_link_layer(&dev->ib_dev, port_num) == in add_port() local
648 is_eth ? NULL : store_port_pkey, in add_port()
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()
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_tx.c1168 static u8 ath10k_htt_tx_get_tid(struct sk_buff *skb, bool is_eth) in ath10k_htt_tx_get_tid() argument
1173 if (!is_eth && ieee80211_is_mgmt(hdr->frame_control)) in ath10k_htt_tx_get_tid()
1279 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_hl() local
1281 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_hl()
1286 if (!is_eth) { in ath10k_htt_tx_hl()
1396 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_32() local
1398 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_32()
1422 if (!is_eth) { in ath10k_htt_tx_32()
1601 bool is_eth = (txmode == ATH10K_HW_TXRX_ETHERNET); in ath10k_htt_tx_64() local
1603 u8 tid = ath10k_htt_tx_get_tid(msdu, is_eth); in ath10k_htt_tx_64()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c1322 int is_eth; in mlx4_common_set_port() local
1336 is_eth = op_mod; in mlx4_common_set_port()
1342 if (is_eth) { in mlx4_common_set_port()
1512 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()