| /linux/tools/net/ynl/samples/ |
| H A D | ethtool.c | |
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_ethtool.c | 504 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 D | gve_ethtool.c | 497 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 D | ncdevmem.c | 388 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 D | nfp_net_ethtool.c | 2221 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 D | idpf_ethtool.c | 543 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 D | bnxt_ethtool.c | 944 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 D | ice_ethtool.c | 3824 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 D | hinic_ethtool.c | 890 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 D | iavf_ethtool.c | 1705 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 D | xdp_hw_metadata.c | 566 return ch.rx_count + ch.combined_count; in rxq_num()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ethtool.c | 3396 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 D | igc_ethtool.c | 1550 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 D | netvsc_drv.c | 921 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 D | igb_ethtool.c | 3384 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 D | hclgevf_main.c | 3118 ch->combined_count = handle->kinfo.rss_size; in hclgevf_get_channels()
|
| /linux/drivers/net/ |
| H A D | virtio_net.c | 4372 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 D | ibmvnic.c | 3828 channels->combined_count = 0; in ibmvnic_get_channels()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.c | 5884 u32 new_tqp_num = ch->combined_count; in hns3_set_channels()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bnx2.c | 7778 channels->combined_count = 0; in bnx2_get_channels()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 12367 ch->combined_count = handle->kinfo.rss_size; in hclge_get_channels()
|