Home
last modified time | relevance | path

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

/linux/tools/net/ynl/samples/
H A Dethtool.c
/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/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.c388 num = rsp->rx_count + rsp->combined_count; in rxq_num()
595 if (chan->_present.combined_count) { in check_changing_channels()
626 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/intel/idpf/
H A Didpf_ethtool.c543 ch->combined_count = combined; in idpf_get_channels()
582 num_req_tx_q = ch->combined_count + ch->tx_count; in idpf_set_channels()
583 num_req_rx_q = ch->combined_count + ch->rx_count; in idpf_set_channels()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c944 channel->combined_count = bp->rx_nr_rings; in bnxt_get_channels()
946 channel->combined_count--; in bnxt_get_channels()
968 if (!channel->combined_count && in bnxt_set_channels()
972 if (channel->combined_count && in bnxt_set_channels()
980 if (channel->combined_count) in bnxt_set_channels()
985 req_tx_rings = sh ? channel->combined_count : channel->tx_count; in bnxt_set_channels()
986 req_rx_rings = sh ? channel->combined_count : channel->rx_count; in bnxt_set_channels()
1039 bp->rx_nr_rings = channel->combined_count; in bnxt_set_channels()
1040 bp->tx_nr_rings_per_tc = channel->combined_count; in bnxt_set_channels()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c3824 ch->combined_count = ice_get_combined_cnt(vsi); in ice_get_channels()
3825 ch->rx_count = vsi->num_rxq - ch->combined_count; in ice_get_channels()
3826 ch->tx_count = vsi->num_txq - ch->combined_count; in ice_get_channels()
3925 new_rx = ch->combined_count + ch->rx_count; in ice_set_channels()
3926 new_tx = ch->combined_count + ch->tx_count; in ice_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/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/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c566 return ch.rx_count + ch.combined_count; in rxq_num()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c3396 ch->combined_count = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_get_channels()
3399 if (ch->combined_count == 1) in ixgbe_get_channels()
3415 ch->combined_count = adapter->ring_feature[RING_F_FDIR].indices; in ixgbe_get_channels()
3422 unsigned int count = ch->combined_count; in ixgbe_set_channels()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c1550 ch->combined_count = adapter->rss_queues; in igc_ethtool_get_channels()
1557 unsigned int count = ch->combined_count; in igc_ethtool_set_channels()
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c921 channel->combined_count = nvdev->num_chn; in netvsc_get_channels()
1085 unsigned int orig, count = channels->combined_count; in netvsc_set_channels()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c3384 ch->combined_count = adapter->rss_queues; in igb_get_channels()
3391 unsigned int count = ch->combined_count; in igb_set_channels()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c3118 ch->combined_count = handle->kinfo.rss_size; in hclgevf_get_channels()
/linux/drivers/net/
H A Dvirtio_net.c4372 u16 queue_pairs = channels->combined_count; in virtnet_set_channels()
5114 channels->combined_count = vi->curr_queue_pairs; in virtnet_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.c5884 u32 new_tqp_num = ch->combined_count; in hns3_set_channels()
/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c7778 channels->combined_count = 0; in bnx2_get_channels()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c12367 ch->combined_count = handle->kinfo.rss_size; in hclge_get_channels()