| /linux-6.15/net/ethtool/ |
| H A D | channels.c | 79 (channels->max_combined && in channels_fill_reply() 81 channels->max_combined) || in channels_fill_reply() 143 else if (channels.combined_count > channels.max_combined) in ethnl_set_channels()
|
| /linux-6.15/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_ethtool.c | 409 unsigned int max_combined; in wx_max_channels() local 413 max_combined = 1; in wx_max_channels() 419 max_combined = 63; in wx_max_channels() 422 max_combined = 8; in wx_max_channels() 427 return max_combined; in wx_max_channels() 436 ch->max_combined = wx_max_channels(wx); in wx_get_channels()
|
| /linux-6.15/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_ethtool.c | 1112 unsigned int max_combined = interface->hw.mac.max_queues; in fm10k_max_channels() local 1117 max_combined = BIT((fls(max_combined / tcs) - 1)); in fm10k_max_channels() 1119 return max_combined; in fm10k_max_channels() 1128 ch->max_combined = fm10k_max_channels(dev); in fm10k_get_channels()
|
| /linux-6.15/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 515 max_combined = lio->linfo.num_txpciq; in lio_ethtool_get_channels() 520 max_combined = CFG_GET_IQ_MAX_Q(conf23_pf); in lio_ethtool_get_channels() 529 max_combined = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK; in lio_ethtool_get_channels() 535 channel->max_combined = max_combined; in lio_ethtool_get_channels() 606 u32 combined_count, max_combined; in lio_ethtool_set_channels() local 624 max_combined = lio->linfo.num_txpciq; in lio_ethtool_set_channels() 630 max_combined = in lio_ethtool_set_channels() 639 max_combined = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK; in lio_ethtool_set_channels() 644 if (combined_count > max_combined || combined_count < 1) in lio_ethtool_set_channels()
|
| /linux-6.15/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ethtool.c | 3220 unsigned int max_combined; in ixgbe_max_channels() local 3225 max_combined = 1; in ixgbe_max_channels() 3228 max_combined = adapter->ring_feature[RING_F_RSS].mask + 1; in ixgbe_max_channels() 3233 max_combined = 4; in ixgbe_max_channels() 3236 max_combined = 8; in ixgbe_max_channels() 3239 max_combined = 16; in ixgbe_max_channels() 3243 max_combined = IXGBE_MAX_FDIR_INDICES; in ixgbe_max_channels() 3246 max_combined = ixgbe_max_rss_indices(adapter); in ixgbe_max_channels() 3249 return min_t(int, max_combined, num_online_cpus()); in ixgbe_max_channels() 3258 ch->max_combined = ixgbe_max_channels(adapter); in ixgbe_get_channels()
|
| /linux-6.15/drivers/net/netdevsim/ |
| H A D | ethtool.c | 100 ch->max_combined = ns->nsim_bus_dev->num_queues; in nsim_get_channels()
|
| /linux-6.15/drivers/net/ethernet/intel/igc/ |
| H A D | igc_ethtool.c | 1517 ch->max_combined = igc_get_max_rss_queues(adapter); in igc_ethtool_get_channels() 1533 unsigned int max_combined = 0; in igc_ethtool_set_channels() local 1548 max_combined = igc_get_max_rss_queues(adapter); in igc_ethtool_set_channels() 1549 if (count > max_combined) in igc_ethtool_set_channels() 1554 igc_set_flag_queue_pairs(adapter, max_combined); in igc_ethtool_set_channels()
|
| /linux-6.15/drivers/s390/net/ |
| H A D | qeth_ethtool.c | 207 channels->max_combined = 0; in qeth_get_channels()
|
| /linux-6.15/drivers/net/ethernet/microsoft/mana/ |
| H A D | mana_ethtool.c | 319 channel->max_combined = apc->max_queues; in mana_get_channels()
|
| /linux-6.15/drivers/net/ethernet/engleder/ |
| H A D | tsnep_ethtool.c | 303 ch->max_combined = adapter->num_queues; in tsnep_ethtool_get_channels()
|
| /linux-6.15/drivers/net/ethernet/intel/igb/ |
| H A D | igb_ethtool.c | 3378 ch->max_combined = igb_max_channels(adapter); in igb_get_channels() 3394 unsigned int max_combined = 0; in igb_set_channels() local 3405 max_combined = igb_max_channels(adapter); in igb_set_channels() 3406 if (count > max_combined) in igb_set_channels() 3411 igb_set_flag_queue_pairs(adapter, max_combined); in igb_set_channels()
|
| /linux-6.15/drivers/net/ethernet/ti/ |
| H A D | cpsw_ethtool.c | 390 ch->max_combined = 0; in cpsw_get_channels()
|
| /linux-6.15/drivers/net/ethernet/cisco/enic/ |
| H A D | enic_ethtool.c | 668 channels->max_combined = 1; in enic_get_channels()
|
| /linux-6.15/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-ethtool.c | 708 channels->max_combined = combined; in xgbe_get_channels()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | ethtool.h | 557 __u32 max_combined; member
|
| /linux-6.15/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-ethtool.c | 917 channels->max_combined = channels->max_rx + in dpaa2_eth_get_channels()
|
| /linux-6.15/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_ethtool.c | 200 ch->max_combined = min_t(u16, vport_config->max_q.max_txq, in idpf_get_channels()
|
| /linux-6.15/drivers/net/ethernet/amazon/ena/ |
| H A D | ena_ethtool.c | 1017 channels->max_combined = adapter->max_num_io_queues; in ena_get_channels()
|
| /linux-6.15/drivers/net/ethernet/google/gve/ |
| H A D | gve_ethtool.c | 469 cmd->max_combined = 0; in gve_get_channels()
|
| /linux-6.15/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_ethtool.c | 744 ch->max_combined = lif->ionic->ntxqs_per_lif; in ionic_get_channels()
|
| /linux-6.15/drivers/net/vmxnet3/ |
| H A D | vmxnet3_ethtool.c | 1342 ec->max_combined = ec->combined_count; in vmxnet3_get_channels()
|
| /linux-6.15/drivers/net/ethernet/emulex/benet/ |
| H A D | be_ethtool.c | 1231 ch->max_combined = be_max_qp_irqs(adapter); in be_get_channels()
|
| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 1248 ch->max_combined = min(ch->max_rx, ch->max_tx); in fbnic_get_channels()
|
| /linux-6.15/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_ethtool.c | 889 channels->max_combined = nic_dev->max_qps; in hinic_get_channels()
|
| /linux-6.15/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ethtool.c | 1653 ch->max_combined = adapter->vsi_res->num_queue_pairs; in iavf_get_channels()
|