/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_dcbnl.c | 12 u8 tx_queues = pfvf->hw.tx_queues, prio; in otx2_check_pfc_config() local 17 prio > tx_queues - 1) { in otx2_check_pfc_config() 20 tx_queues, prio + 1); in otx2_check_pfc_config() 414 if (pfvf->hw.tx_queues >= NIX_PF_PFC_PRIO_MAX) in otx2_dcbnl_ieee_setpfc()
|
H A D | otx2_pf.c | 1180 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument 1184 err = netif_set_real_num_tx_queues(netdev, tx_queues); in otx2_set_real_num_queues() 1187 "Failed to set no of Tx queues: %d\n", tx_queues); in otx2_set_real_num_queues() 1774 pf->hw.cint_cnt = max3(pf->hw.rx_queues, pf->hw.tx_queues, in otx2_open() 1819 cq_poll->cq_ids[CQ_TX] = (qidx < pf->hw.tx_queues) ? in otx2_open() 1824 pf->hw.tx_queues) : in otx2_open() 2104 qos_enabled = netdev->real_num_tx_queues > pf->hw.tx_queues; in otx2_select_queue() 2125 if ((vlan_prio > pf->hw.tx_queues - 1) || in otx2_select_queue() 2135 return txq % pf->hw.tx_queues; in otx2_select_queue() 2619 qidx += pf->hw.tx_queues; in otx2_xdp_xmit() [all …]
|
H A D | qos.c | 29 int tx_queues, qos_txqs, err; in otx2_qos_update_tx_netdev_queues() local 34 tx_queues = hw->tx_queues + qos_txqs; in otx2_qos_update_tx_netdev_queues() 36 err = netif_set_real_num_tx_queues(pfvf->netdev, tx_queues); in otx2_qos_update_tx_netdev_queues() 39 "Failed to set no of Tx queues: %d\n", tx_queues); in otx2_qos_update_tx_netdev_queues() 589 res = pfvf->hw.tx_queues + qid; in otx2_get_txq_by_classid() 1324 return pfvf->hw.tx_queues + qid; in otx2_qos_leaf_alloc_queue()
|
H A D | otx2_txrx.c | 498 if (qidx >= pfvf->hw.tx_queues) in otx2_tx_napi_handler() 765 sqe_hdr->sq = (qidx >= pfvf->hw.tx_queues) ? in otx2_sqe_add_hdr() 1287 if (qidx >= pfvf->hw.tx_queues) in otx2_cleanup_tx_cqes() 1327 for (sq_idx = 0; sq_idx < pfvf->hw.tx_queues; sq_idx++) { in otx2_free_pending_sqe() 1433 qidx += pfvf->hw.tx_queues; in otx2_xdp_rcv_pkt_handler()
|
H A D | otx2_ethtool.c | 282 channel->tx_count = pfvf->hw.tx_queues; in otx2_get_channels() 314 pfvf->hw.tx_queues = channel->tx_count; in otx2_set_channels() 322 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
|
H A D | otx2_common.h | 207 u16 tx_queues; member 1036 int tx_queues, int rx_queues);
|
/openbmc/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 | 719 channel->tx_count = nic->tx_queues; in nicvf_get_channels() 755 nic->tx_queues = channel->tx_count; in nicvf_set_channels() 761 txq_count = nic->xdp_tx_queues + nic->tx_queues; in nicvf_set_channels() 775 err = nicvf_set_real_num_queues(dev, nic->tx_queues, nic->rx_queues); in nicvf_set_channels() 783 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);
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_stats.c | 219 u64 total = 0, tx_queues = MAX_Q(lif), rx_queues = MAX_Q(lif); in ionic_sw_stats_get_count() local 222 tx_queues += 1; in ionic_sw_stats_get_count() 230 total += tx_queues * IONIC_NUM_TX_STATS; in ionic_sw_stats_get_count()
|
/openbmc/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 905 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_set_coalesce() 2839 priv->hw_params->tx_queues * in bcmgenet_init_tx_queues() 3026 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_dma_teardown() 3316 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_dma_disable() 3570 for (q = 0; q < priv->hw_params->tx_queues; q++) in bcmgenet_timeout() 3754 .tx_queues = 0, 3768 .tx_queues = 4, 3785 .tx_queues = 4, 3804 .tx_queues = 4, 3823 .tx_queues = 4, [all …]
|
H A D | bcmgenet.h | 484 u8 tx_queues; member
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00.h | 645 const unsigned int tx_queues; member 1314 if (queue >= rt2x00dev->ops->tx_queues && queue < IEEE80211_NUM_ACS) in rt2x00queue_get_tx_queue() 1315 queue = rt2x00dev->ops->tx_queues - 1; in rt2x00queue_get_tx_queue() 1317 if (queue < rt2x00dev->ops->tx_queues && rt2x00dev->tx) in rt2x00queue_get_tx_queue()
|
H A D | rt2800soc.c | 227 .tx_queues = NUM_TX_QUEUES,
|
H A D | rt2x00queue.h | 505 &(__dev)->tx[(__dev)->ops->tx_queues]
|
H A D | rt2x00queue.c | 1248 rt2x00dev->data_queues = 2 + rt2x00dev->ops->tx_queues + req_atim; in rt2x00queue_allocate() 1259 rt2x00dev->bcn = &queue[1 + rt2x00dev->ops->tx_queues]; in rt2x00queue_allocate() 1260 rt2x00dev->atim = req_atim ? &queue[2 + rt2x00dev->ops->tx_queues] : NULL; in rt2x00queue_allocate()
|
H A D | rt2800pci.c | 382 .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()
|
/openbmc/linux/drivers/net/wireless/intersil/p54/ |
H A D | p54.h | 54 u8 tx_queues; member
|
/openbmc/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)"); 6080 if (tx_queues < 1 || tx_queues > 255) { in bond_check_params() 6082 tx_queues, BOND_DEFAULT_TX_QUEUES); in bond_check_params() 6083 tx_queues = BOND_DEFAULT_TX_QUEUES; in bond_check_params() 6315 params->tx_queues = tx_queues; in bond_check_params() 6380 return tx_queues; in bond_get_num_tx_queues() 6398 bond_setup, tx_queues); in bond_create()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac1000_core.c | 419 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
|
H A D | dwmac4_core.c | 883 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument 889 for (queue = 0; queue < tx_queues; queue++) { in dwmac4_debug()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_virtchnl.c | 1161 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps() 1163 vqs->tx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF)) in ice_vc_validate_vqs_bitmaps() 1278 q_map = vqs->tx_queues; in ice_vc_ena_qs_msg() 1381 if (vqs->tx_queues) { in ice_vc_dis_qs_msg() 1382 q_map = vqs->tx_queues; in ice_vc_dis_qs_msg()
|
/openbmc/linux/include/net/ |
H A D | bonding.h | 139 int tx_queues; member
|