Home
last modified time | relevance | path

Searched refs:combined_count (Results 1 – 24 of 24) sorted by relevance

/linux/tools/net/ynl/samples/
H A Dethtool.c
/linux/drivers/net/netdevsim/
H A Dethtool.c101 ch->combined_count = ns->ethtool.channels; in nsim_get_channels()
126 err = netif_set_real_num_queues(dev, ch->combined_count, in nsim_set_channels()
127 ch->combined_count); in nsim_set_channels()
131 ns->ethtool.channels = ch->combined_count; in nsim_set_channels()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c1586 ch->combined_count = min(fbn->num_rx_queues, in fbnic_get_channels()
1589 ch->combined_count = in fbnic_get_channels()
1591 ch->rx_count = fbn->num_rx_queues - ch->combined_count; in fbnic_get_channels()
1592 ch->tx_count = fbn->num_tx_queues - ch->combined_count; in fbnic_get_channels()
1599 fbn->num_rx_queues = ch->rx_count + ch->combined_count; in fbnic_set_queues()
1600 fbn->num_tx_queues = ch->tx_count + ch->combined_count; in fbnic_set_queues()
1601 fbn->num_napi = min(ch->rx_count + ch->tx_count + ch->combined_count, in fbnic_set_queues()
1621 if ((ch->rx_count && ch->tx_count && ch->combined_count) || in fbnic_set_channels()
1622 (standalone && standalone + ch->combined_count > max_napis) || in fbnic_set_channels()
1623 ch->rx_count + ch->combined_count > fbd->max_num_queues || in fbnic_set_channels()
[all …]
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_ethtool.c504 u32 combined_count = 0, max_combined = 0; in lio_ethtool_get_channels() local
522 combined_count = oct->num_iqs; in lio_ethtool_get_channels()
530 combined_count = oct->num_iqs; in lio_ethtool_get_channels()
538 channel->combined_count = combined_count; in lio_ethtool_get_channels()
606 u32 combined_count, max_combined; in lio_ethtool_set_channels() local
616 if (!channel->combined_count || channel->other_count || in lio_ethtool_set_channels()
620 combined_count = channel->combined_count; in lio_ethtool_set_channels()
644 if (combined_count > max_combined || combined_count < 1) in lio_ethtool_set_channels()
647 if (combined_count == oct->num_iqs) in lio_ethtool_set_channels()
657 if (lio_reset_queues(dev, combined_count)) in lio_ethtool_set_channels()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ethtool.c537 ch->combined_count = wx->ring_feature[RING_F_RSS].indices; in wx_get_channels()
540 ch->combined_count = wx->ring_feature[RING_F_FDIR].indices; in wx_get_channels()
547 unsigned int count = ch->combined_count; in wx_set_channels()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c497 cmd->combined_count = 0; in gve_get_channels()
514 if (cmd->combined_count != old_settings.combined_count) in gve_set_channels()
/linux/tools/testing/selftests/drivers/net/hw/
H A Dncdevmem.c404 num = rsp->rx_count + rsp->combined_count; in rxq_num()
611 if (chan->_present.combined_count) { in check_changing_channels()
642 chan->combined_count); in check_changing_channels()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c2221 channel->combined_count = min(nn->dp.num_rx_rings, num_tx_rings); in nfp_net_get_channels()
2222 channel->rx_count = nn->dp.num_rx_rings - channel->combined_count; in nfp_net_get_channels()
2223 channel->tx_count = num_tx_rings - channel->combined_count; in nfp_net_get_channels()
2256 total_rx = channel->combined_count + channel->rx_count; in nfp_net_set_channels()
2257 total_tx = channel->combined_count + channel->tx_count; in nfp_net_set_channels()
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_ethtool.c435 channel->combined_count = apc->num_queues; in mana_get_channels()
660 unsigned int new_count = channels->combined_count; in mana_set_channels()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c535 ch->combined_count = combined; in idpf_get_channels()
574 num_req_tx_q = ch->combined_count + ch->tx_count; in idpf_set_channels()
575 num_req_rx_q = ch->combined_count + ch->rx_count; in idpf_set_channels()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c945 channel->combined_count = bp->rx_nr_rings; in bnxt_get_channels()
947 channel->combined_count--; in bnxt_get_channels()
969 if (!channel->combined_count && in bnxt_set_channels()
973 if (channel->combined_count && in bnxt_set_channels()
981 if (channel->combined_count) in bnxt_set_channels()
986 req_tx_rings = sh ? channel->combined_count : channel->tx_count; in bnxt_set_channels()
987 req_rx_rings = sh ? channel->combined_count : channel->rx_count; in bnxt_set_channels()
1040 bp->rx_nr_rings = channel->combined_count; in bnxt_set_channels()
1041 bp->tx_nr_rings_per_tc = channel->combined_count; in bnxt_set_channels()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c3820 ch->combined_count = ice_get_combined_cnt(vsi); in ice_get_channels()
3821 ch->rx_count = vsi->num_rxq - ch->combined_count; in ice_get_channels()
3822 ch->tx_count = vsi->num_txq - ch->combined_count; in ice_get_channels()
3921 new_rx = ch->combined_count + ch->rx_count; in ice_set_channels()
3922 new_tx = ch->combined_count + ch->tx_count; in ice_set_channels()
/linux/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c566 return ch.rx_count + ch.combined_count; in rxq_num()
/linux/include/uapi/linux/
H A Dethtool.h561 __u32 combined_count; member
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1705 ch->combined_count = adapter->num_active_queues; in iavf_get_channels()
1722 u32 num_req = ch->combined_count; in iavf_set_channels()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c890 channels->combined_count = hinic_hwdev_num_qps(hwdev); in hinic_get_channels()
897 unsigned int count = channels->combined_count; in hinic_set_channels()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c1582 ch->combined_count = adapter->rss_queues; in igc_ethtool_get_channels()
1589 unsigned int count = ch->combined_count; in igc_ethtool_set_channels()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c485 ch->combined_count = priv->channels.params.num_channels; in mlx5e_ethtool_get_channels()
501 unsigned int count = ch->combined_count; in mlx5e_ethtool_set_channels()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c3416 ch->combined_count = adapter->rss_queues; in igb_get_channels()
3423 unsigned int count = ch->combined_count; in igb_set_channels()
/linux/drivers/net/
H A Dvirtio_net.c4392 u16 queue_pairs = channels->combined_count; in virtnet_set_channels()
5134 channels->combined_count = vi->curr_queue_pairs; in virtnet_get_channels()
H A Dtun.c3733 channels->combined_count = tun->numqueues; in tun_get_channels()
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c3828 channels->combined_count = 0; in ibmvnic_get_channels()
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c5893 u32 new_tqp_num = ch->combined_count; in hns3_set_channels()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c10169 ch->combined_count = handle->kinfo.rss_size; in hclge_get_channels()