| /Linux-v5.4/drivers/net/ethernet/amd/xgbe/ |
| D | xgbe-ethtool.c | 740 channels->combined_count = combined; in xgbe_get_channels() 749 channels->combined_count, channels->rx_count, in xgbe_print_set_channels_input() 781 if (!channels->combined_count) { in xgbe_set_channels() 789 if (channels->combined_count > combined) { in xgbe_set_channels() 806 if ((channels->combined_count + channels->rx_count) > rx) { in xgbe_set_channels() 809 channels->combined_count + channels->rx_count, rx); in xgbe_set_channels() 814 if ((channels->combined_count + channels->tx_count) > tx) { in xgbe_set_channels() 817 channels->combined_count + channels->tx_count, tx); in xgbe_set_channels() 822 rx = channels->combined_count + channels->rx_count; in xgbe_set_channels() 823 tx = channels->combined_count + channels->tx_count; in xgbe_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/google/gve/ |
| D | gve_ethtool.c | 176 cmd->combined_count = 0; in gve_get_channels() 192 if (cmd->combined_count != old_settings.combined_count) in gve_set_channels()
|
| /Linux-v5.4/tools/include/uapi/linux/ |
| D | ethtool.h | 48 __u32 combined_count; member
|
| /Linux-v5.4/drivers/net/ethernet/emulex/benet/ |
| D | be_ethtool.c | 1222 ch->combined_count = min(adapter->num_tx_qs, num_rx_irqs); in be_get_channels() 1223 ch->rx_count = num_rx_irqs - ch->combined_count; in be_get_channels() 1224 ch->tx_count = adapter->num_tx_qs - ch->combined_count; in be_get_channels() 1241 if (ch->other_count || !ch->combined_count || in be_set_channels() 1245 if (ch->combined_count > be_max_qp_irqs(adapter) || in be_set_channels() 1247 (ch->rx_count + ch->combined_count) > be_max_rx_irqs(adapter)) || in be_set_channels() 1249 (ch->tx_count + ch->combined_count) > be_max_tx_irqs(adapter))) in be_set_channels() 1252 adapter->cfg_num_rx_irqs = ch->combined_count + ch->rx_count; in be_set_channels() 1253 adapter->cfg_num_tx_irqs = ch->combined_count + ch->tx_count; in be_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/pensando/ionic/ |
| D | ionic_ethtool.c | 499 ch->combined_count = lif->nxqs; in ionic_get_channels() 508 if (!ch->combined_count || ch->other_count || in ionic_set_channels() 512 if (ch->combined_count == lif->nxqs) in ionic_set_channels() 522 lif->nxqs = ch->combined_count; in ionic_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_net_ethtool.c | 1332 channel->combined_count = min(nn->dp.num_rx_rings, num_tx_rings); in nfp_net_get_channels() 1333 channel->rx_count = nn->dp.num_rx_rings - channel->combined_count; in nfp_net_get_channels() 1334 channel->tx_count = num_tx_rings - channel->combined_count; in nfp_net_get_channels() 1363 if (!channel->combined_count || in nfp_net_set_channels() 1368 total_rx = channel->combined_count + channel->rx_count; in nfp_net_set_channels() 1369 total_tx = channel->combined_count + channel->tx_count; in nfp_net_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ |
| D | lio_ethtool.c | 503 u32 combined_count = 0, max_combined = 0; in lio_ethtool_get_channels() local 521 combined_count = oct->num_iqs; in lio_ethtool_get_channels() 529 combined_count = oct->num_iqs; in lio_ethtool_get_channels() 537 channel->combined_count = combined_count; in lio_ethtool_get_channels() 605 u32 combined_count, max_combined; in lio_ethtool_set_channels() local 615 if (!channel->combined_count || channel->other_count || in lio_ethtool_set_channels() 619 combined_count = channel->combined_count; in lio_ethtool_set_channels() 643 if (combined_count > max_combined || combined_count < 1) in lio_ethtool_set_channels() 646 if (combined_count == oct->num_iqs) in lio_ethtool_set_channels() 656 if (lio_reset_queues(dev, combined_count)) in lio_ethtool_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/intel/iavf/ |
| D | iavf_ethtool.c | 868 ch->combined_count = adapter->num_active_queues; in iavf_get_channels() 884 int num_req = ch->combined_count; in iavf_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/ti/ |
| D | cpsw_ethtool.c | 392 ch->combined_count = 0; in cpsw_get_channels() 517 if (ch->combined_count) in cpsw_check_ch_settings()
|
| /Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_ethtool.c | 794 channel->combined_count = bp->rx_nr_rings; in bnxt_get_channels() 796 channel->combined_count--; in bnxt_get_channels() 817 if (!channel->combined_count && in bnxt_set_channels() 821 if (channel->combined_count && in bnxt_set_channels() 829 if (channel->combined_count) in bnxt_set_channels() 834 req_tx_rings = sh ? channel->combined_count : channel->tx_count; in bnxt_set_channels() 835 req_rx_rings = sh ? channel->combined_count : channel->rx_count; in bnxt_set_channels() 865 bp->rx_nr_rings = channel->combined_count; in bnxt_set_channels() 866 bp->tx_nr_rings_per_tc = channel->combined_count; in bnxt_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
| D | bnx2x_ethtool.c | 3564 channels->combined_count = BNX2X_NUM_ETH_QUEUES(bp); in bnx2x_get_channels() 3598 channels->combined_count); in bnx2x_set_channels() 3609 || (channels->combined_count == 0) || in bnx2x_set_channels() 3610 (channels->combined_count > BNX2X_MAX_RSS_COUNT(bp))) { in bnx2x_set_channels() 3616 if (channels->combined_count == BNX2X_NUM_ETH_QUEUES(bp)) { in bnx2x_set_channels() 3626 bnx2x_change_num_queues(bp, channels->combined_count); in bnx2x_set_channels() 3630 bnx2x_change_num_queues(bp, channels->combined_count); in bnx2x_set_channels()
|
| /Linux-v5.4/drivers/s390/net/ |
| D | qeth_ethtool.c | 172 channels->combined_count = 0; in qeth_get_channels()
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qede/ |
| D | qede_ethtool.c | 1087 channels->combined_count = QEDE_QUEUE_CNT(edev) - edev->fp_num_tx - in qede_get_channels() 1102 channels->other_count, channels->combined_count); in qede_set_channels() 1105 channels->combined_count; in qede_set_channels() 1114 if (!(channels->combined_count || (channels->rx_count && in qede_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/intel/fm10k/ |
| D | fm10k_ethtool.c | 1126 ch->combined_count = interface->ring_feature[RING_F_RSS].indices; in fm10k_get_channels() 1133 unsigned int count = ch->combined_count; in fm10k_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_ethtool.c | 395 ch->combined_count = priv->channels.params.num_channels; in mlx5e_ethtool_get_channels() 399 ch->combined_count *= 2; in mlx5e_ethtool_get_channels() 417 unsigned int count = ch->combined_count; in mlx5e_ethtool_set_channels()
|
| D | en_rep.c | 269 u32 new_channels_amount = ch->combined_count; in mlx5e_rep_set_channels()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | ethtool.h | 550 __u32 combined_count; member
|
| /Linux-v5.4/net/core/ |
| D | ethtool.c | 1699 channels.combined_count > curr.max_combined || in ethtool_set_channels() 1707 (channels.combined_count + channels.rx_count) <= max_rx_in_use) in ethtool_set_channels() 1711 from_channel = channels.combined_count + in ethtool_set_channels() 1713 to_channel = curr.combined_count + max(curr.rx_count, curr.tx_count); in ethtool_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/huawei/hinic/ |
| D | hinic_ethtool.c | 157 channels->combined_count = 0; in hinic_get_channels()
|
| /Linux-v5.4/drivers/net/ethernet/amazon/ena/ |
| D | ena_ethtool.c | 744 channels->combined_count = 0; in ena_get_channels()
|
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_ethtool.c | 3138 ch->combined_count = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_get_channels() 3141 if (ch->combined_count == 1) in ixgbe_get_channels() 3157 ch->combined_count = adapter->ring_feature[RING_F_FDIR].indices; in ixgbe_get_channels() 3164 unsigned int count = ch->combined_count; in ixgbe_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/intel/igc/ |
| D | igc_ethtool.c | 1567 ch->combined_count = adapter->rss_queues; in igc_get_channels() 1574 unsigned int count = ch->combined_count; in igc_set_channels()
|
| /Linux-v5.4/drivers/net/hyperv/ |
| D | netvsc_drv.c | 879 channel->combined_count = nvdev->num_chn; in netvsc_get_channels() 1007 unsigned int orig, count = channels->combined_count; in netvsc_set_channels()
|
| /Linux-v5.4/drivers/net/ethernet/intel/igb/ |
| D | igb_ethtool.c | 3404 ch->combined_count = adapter->rss_queues; in igb_get_channels() 3411 unsigned int count = ch->combined_count; in igb_set_channels()
|
| /Linux-v5.4/drivers/net/ |
| D | virtio_net.c | 2047 u16 queue_pairs = channels->combined_count; in virtnet_set_channels() 2161 channels->combined_count = vi->curr_queue_pairs; in virtnet_get_channels()
|