/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_main.c | 406 int rx_queues = 0, tx_queues = 0; in nicvf_request_sqs() local 428 tx_queues = nic->tx_queues + nic->xdp_tx_queues; in nicvf_request_sqs() 429 if (tx_queues > MAX_SND_QUEUES_PER_QS) in nicvf_request_sqs() 430 tx_queues = tx_queues - MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs() 448 if (tx_queues > MAX_SND_QUEUES_PER_QS) { in nicvf_request_sqs() 450 tx_queues -= MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs() 452 nic->snicvf[sqs]->qs->sq_cnt = tx_queues; in nicvf_request_sqs() 453 tx_queues = 0; in nicvf_request_sqs() 466 nic->tx_queues, nic->rx_queues); in nicvf_request_sqs() 492 int tx_queues, int rx_queues) in nicvf_set_real_num_queues() argument [all …]
|
H A D | nicvf_ethtool.c | 720 channel->tx_count = nic->tx_queues; in nicvf_get_channels() 756 nic->tx_queues = channel->tx_count; in nicvf_set_channels() 762 txq_count = nic->xdp_tx_queues + nic->tx_queues; in nicvf_set_channels() 776 err = nicvf_set_real_num_queues(dev, nic->tx_queues, nic->rx_queues); in nicvf_set_channels() 784 nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
|
H A D | nic.h | 308 u8 tx_queues; member 628 int tx_queues, int rx_queues);
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_stats.c | 237 u64 total = 0, tx_queues = MAX_Q(lif), rx_queues = MAX_Q(lif); in ionic_sw_stats_get_count() local 240 tx_queues += 1; in ionic_sw_stats_get_count() 248 total += tx_queues * IONIC_NUM_TX_STATS; in ionic_sw_stats_get_count()
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00.h | 635 const unsigned int tx_queues; member 1313 if (queue >= rt2x00dev->ops->tx_queues && queue < IEEE80211_NUM_ACS) in rt2x00queue_get_tx_queue() 1314 queue = rt2x00dev->ops->tx_queues - 1; in rt2x00queue_get_tx_queue() 1316 if (queue < rt2x00dev->ops->tx_queues && rt2x00dev->tx) in rt2x00queue_get_tx_queue()
|
H A D | rt2800soc.c | 231 .tx_queues = NUM_TX_QUEUES,
|
H A D | rt2x00queue.h | 505 &(__dev)->tx[(__dev)->ops->tx_queues]
|
H A D | rt2x00queue.c | 1245 rt2x00dev->data_queues = 2 + rt2x00dev->ops->tx_queues + req_atim; in rt2x00queue_allocate() 1256 rt2x00dev->bcn = &queue[1 + rt2x00dev->ops->tx_queues]; in rt2x00queue_allocate() 1257 rt2x00dev->atim = req_atim ? &queue[2 + rt2x00dev->ops->tx_queues] : NULL; in rt2x00queue_allocate()
|
H A D | rt2800pci.c | 386 .tx_queues = NUM_TX_QUEUES,
|
H A D | rt2x00dev.c | 1129 rt2x00dev->hw->queues = rt2x00dev->ops->tx_queues; in rt2x00lib_probe_hw() 1163 roundup_pow_of_two(rt2x00dev->ops->tx_queues * in rt2x00lib_probe_hw()
|
H A D | rt2800usb.c | 766 .tx_queues = NUM_TX_QUEUES,
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 511 if (qidx >= pfvf->hw.tx_queues) in otx2_tx_napi_handler() 781 sqe_hdr->sq = (qidx >= pfvf->hw.tx_queues) ? in otx2_sqe_add_hdr() 1303 if (qidx >= pfvf->hw.tx_queues) in otx2_cleanup_tx_cqes() 1343 for (sq_idx = 0; sq_idx < pfvf->hw.tx_queues; sq_idx++) { in otx2_free_pending_sqe() 1449 qidx += pfvf->hw.tx_queues; in otx2_xdp_rcv_pkt_handler()
|
H A D | otx2_ethtool.c | 267 channel->tx_count = pfvf->hw.tx_queues; in otx2_get_channels() 299 pfvf->hw.tx_queues = channel->tx_count; in otx2_set_channels() 307 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
|
H A D | rep.c | 504 cq_poll->cq_ids[CQ_TX] = (qidx < hw->tx_queues) ? in rvu_rep_napi_init() 742 priv->hw.tx_queues = rsp->rep_cnt; in rvu_get_rep_cnt()
|
/linux/drivers/net/wireless/intersil/p54/ |
H A D | p54.h | 54 u8 tx_queues; member
|
/linux/drivers/net/bonding/ |
H A D | bond_main.c | 102 static int tx_queues = BOND_DEFAULT_TX_QUEUES; variable 128 module_param(tx_queues, int, 0); 129 MODULE_PARM_DESC(tx_queues, "Max number of transmit queues (default = 16)"); 6208 if (tx_queues < 1 || tx_queues > 255) { in bond_check_params() 6210 tx_queues, BOND_DEFAULT_TX_QUEUES); in bond_check_params() 6211 tx_queues = BOND_DEFAULT_TX_QUEUES; in bond_check_params() 6443 params->tx_queues = tx_queues; in bond_check_params() 6510 return tx_queues; in bond_get_num_tx_queues() 6528 bond_setup, tx_queues); in bond_create()
|
/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.h | 484 u8 tx_queues; member
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_virtchnl.c | 342 vqs.tx_queues = BIT(adapter->num_active_queues) - 1; in iavf_enable_queues() 343 vqs.rx_queues = vqs.tx_queues; in iavf_enable_queues() 367 vqs.tx_queues = BIT(adapter->num_active_queues) - 1; in iavf_disable_queues() 368 vqs.rx_queues = vqs.tx_queues; in iavf_disable_queues()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_virtchnl.c | 1414 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps() 1416 vqs->tx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF)) in ice_vc_validate_vqs_bitmaps() 1531 q_map = vqs->tx_queues; in ice_vc_ena_qs_msg() 1634 if (vqs->tx_queues) { in ice_vc_dis_qs_msg() 1635 q_map = vqs->tx_queues; in ice_vc_dis_qs_msg()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4_core.c | 875 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument 881 for (queue = 0; queue < tx_queues; queue++) { in dwmac4_debug()
|
/linux/include/net/ |
H A D | bonding.h | 139 int tx_queues; member
|
/linux/include/linux/avf/ |
H A D | virtchnl.h | 434 u32 tx_queues; member
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_main.c | 2236 u8 tx_queues, u8 rx_queues) in qlcnic_set_real_num_queues() argument 2241 if (tx_queues) { in qlcnic_set_real_num_queues() 2242 err = netif_set_real_num_tx_queues(netdev, tx_queues); in qlcnic_set_real_num_queues() 2245 tx_queues); in qlcnic_set_real_num_queues()
|
/linux/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 3595 adapter->fallback.tx_queues = adapter->req_tx_queues; in wait_for_reset() 3618 adapter->desired.tx_queues = adapter->fallback.tx_queues; in wait_for_reset() 3798 adapter->desired.tx_queues = channels->tx_count; in ibmvnic_set_channels() 4543 if (adapter->desired.tx_queues) in send_request_cap() 4545 adapter->desired.tx_queues; in send_request_cap()
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_virtchnl_pf.c | 2581 if ((!vqs->rx_queues && !vqs->tx_queues) || in i40e_vc_validate_vqs_bitmaps() 2583 vqs->tx_queues >= BIT(I40E_MAX_VF_QUEUES)) in i40e_vc_validate_vqs_bitmaps() 2633 if (i40e_ctrl_vf_tx_rings(pf->vsi[vf->lan_vsi_idx], vqs->tx_queues, in i40e_vc_enable_queues_msg() 2685 if (i40e_ctrl_vf_tx_rings(pf->vsi[vf->lan_vsi_idx], vqs->tx_queues, in i40e_vc_disable_queues_msg()
|