/linux/net/ethtool/ |
A D | channels.c | 79 (channels->max_combined && in channels_fill_reply() 81 channels->max_combined) || in channels_fill_reply() 164 else if (channels.combined_count > channels.max_combined) in ethnl_set_channels()
|
/linux/tools/include/uapi/linux/ |
A D | ethtool.h | 44 __u32 max_combined; member
|
/linux/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_ethtool.c | 1106 unsigned int max_combined = interface->hw.mac.max_queues; in fm10k_max_channels() local 1111 max_combined = BIT((fls(max_combined / tcs) - 1)); in fm10k_max_channels() 1113 return max_combined; in fm10k_max_channels() 1122 ch->max_combined = fm10k_max_channels(dev); in fm10k_get_channels()
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
A D | lio_ethtool.c | 502 u32 combined_count = 0, max_combined = 0; in lio_ethtool_get_channels() local 513 max_combined = lio->linfo.num_txpciq; in lio_ethtool_get_channels() 518 max_combined = CFG_GET_IQ_MAX_Q(conf23_pf); in lio_ethtool_get_channels() 527 max_combined = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK; in lio_ethtool_get_channels() 533 channel->max_combined = max_combined; in lio_ethtool_get_channels() 604 u32 combined_count, max_combined; in lio_ethtool_set_channels() local 622 max_combined = lio->linfo.num_txpciq; in lio_ethtool_set_channels() 628 max_combined = in lio_ethtool_set_channels() 637 max_combined = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK; in lio_ethtool_set_channels() 642 if (combined_count > max_combined || combined_count < 1) in lio_ethtool_set_channels()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ethtool.c | 3181 unsigned int max_combined; in ixgbe_max_channels() local 3186 max_combined = 1; in ixgbe_max_channels() 3189 max_combined = adapter->ring_feature[RING_F_RSS].mask + 1; in ixgbe_max_channels() 3194 max_combined = 4; in ixgbe_max_channels() 3197 max_combined = 8; in ixgbe_max_channels() 3200 max_combined = 16; in ixgbe_max_channels() 3204 max_combined = IXGBE_MAX_FDIR_INDICES; in ixgbe_max_channels() 3207 max_combined = ixgbe_max_rss_indices(adapter); in ixgbe_max_channels() 3210 return min_t(int, max_combined, num_online_cpus()); in ixgbe_max_channels() 3219 ch->max_combined = ixgbe_max_channels(adapter); in ixgbe_get_channels()
|
/linux/drivers/net/netdevsim/ |
A D | ethtool.c | 92 ch->max_combined = ns->nsim_bus_dev->num_queues; in nsim_get_channels()
|
/linux/drivers/net/ethernet/microsoft/mana/ |
A D | mana_ethtool.c | 202 channel->max_combined = apc->max_queues; in mana_get_channels()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_ethtool.c | 1467 ch->max_combined = igc_get_max_rss_queues(adapter); in igc_ethtool_get_channels() 1483 unsigned int max_combined = 0; in igc_ethtool_set_channels() local 1494 max_combined = igc_get_max_rss_queues(adapter); in igc_ethtool_set_channels() 1495 if (count > max_combined) in igc_ethtool_set_channels() 1500 igc_set_flag_queue_pairs(adapter, max_combined); in igc_ethtool_set_channels()
|
/linux/drivers/s390/net/ |
A D | qeth_ethtool.c | 205 channels->max_combined = 0; in qeth_get_channels()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ethtool.c | 3379 ch->max_combined = igb_max_channels(adapter); in igb_get_channels() 3395 unsigned int max_combined = 0; in igb_set_channels() local 3406 max_combined = igb_max_channels(adapter); in igb_set_channels() 3407 if (count > max_combined) in igb_set_channels() 3412 igb_set_flag_queue_pairs(adapter, max_combined); in igb_set_channels()
|
/linux/drivers/net/ethernet/google/gve/ |
A D | gve_ethtool.c | 383 cmd->max_combined = 0; in gve_get_channels()
|
/linux/include/uapi/linux/ |
A D | ethtool.h | 558 __u32 max_combined; member
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-ethtool.c | 705 channels->max_combined = combined; in xgbe_get_channels()
|
/linux/drivers/net/ethernet/ti/ |
A D | cpsw_ethtool.c | 392 ch->max_combined = 0; in cpsw_get_channels()
|
/linux/drivers/net/ethernet/amazon/ena/ |
A D | ena_ethtool.c | 836 channels->max_combined = adapter->max_num_io_queues; in ena_get_channels()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_ethtool.c | 395 ch->max_combined = priv->max_nch; in mlx5e_ethtool_get_channels() 399 ch->max_combined *= 2; in mlx5e_ethtool_get_channels()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_ethtool.c | 586 ch->max_combined = lif->ionic->ntxqs_per_lif; in ionic_get_channels()
|
/linux/tools/lib/bpf/ |
A D | xsk.c | 575 ret = max(ret, (int)channels.max_combined); in xsk_get_max_queues()
|
/linux/drivers/net/ethernet/emulex/benet/ |
A D | be_ethtool.c | 1229 ch->max_combined = be_max_qp_irqs(adapter); in be_get_channels()
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_ethtool.c | 1406 channel->max_combined = min(channel->max_rx, channel->max_tx); in nfp_net_get_channels()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_ethtool.c | 886 channels->max_combined = nic_dev->max_qps; in hinic_get_channels()
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_ethtool.c | 1803 ch->max_combined = adapter->vsi_res->num_queue_pairs; in iavf_get_channels()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_ethtool.c | 1049 channels->max_combined = QEDE_MAX_RSS_CNT(edev); in qede_get_channels()
|
/linux/drivers/net/hyperv/ |
A D | netvsc_drv.c | 993 channel->max_combined = nvdev->max_chn; in netvsc_get_channels()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_ethtool.c | 3561 channels->max_combined = BNX2X_MAX_RSS_COUNT(bp); in bnx2x_get_channels()
|