Home
last modified time | relevance | path

Searched refs:max_combined (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v5.10/net/ethtool/
Dchannels.c79 (channels->max_combined && in channels_fill_reply()
81 channels->max_combined) || in channels_fill_reply()
165 else if (channels.combined_count > channels.max_combined) in ethnl_set_channels()
Dioctl.c1688 channels.combined_count > curr.max_combined || in ethtool_set_channels()
/Linux-v5.10/tools/include/uapi/linux/
Dethtool.h44 __u32 max_combined; member
/Linux-v5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c1101 unsigned int max_combined = interface->hw.mac.max_queues; in fm10k_max_channels() local
1106 max_combined = BIT((fls(max_combined / tcs) - 1)); in fm10k_max_channels()
1108 return max_combined; in fm10k_max_channels()
1117 ch->max_combined = fm10k_max_channels(dev); in fm10k_get_channels()
/Linux-v5.10/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c501 u32 combined_count = 0, max_combined = 0; in lio_ethtool_get_channels() local
512 max_combined = lio->linfo.num_txpciq; in lio_ethtool_get_channels()
517 max_combined = CFG_GET_IQ_MAX_Q(conf23_pf); in lio_ethtool_get_channels()
526 max_combined = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK; in lio_ethtool_get_channels()
532 channel->max_combined = max_combined; in lio_ethtool_get_channels()
603 u32 combined_count, max_combined; in lio_ethtool_set_channels() local
621 max_combined = lio->linfo.num_txpciq; in lio_ethtool_set_channels()
627 max_combined = in lio_ethtool_set_channels()
636 max_combined = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK; in lio_ethtool_set_channels()
641 if (combined_count > max_combined || combined_count < 1) in lio_ethtool_set_channels()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3190 unsigned int max_combined; in ixgbe_max_channels() local
3195 max_combined = 1; in ixgbe_max_channels()
3198 max_combined = adapter->ring_feature[RING_F_RSS].mask + 1; in ixgbe_max_channels()
3203 max_combined = 4; in ixgbe_max_channels()
3206 max_combined = 8; in ixgbe_max_channels()
3209 max_combined = 16; in ixgbe_max_channels()
3213 max_combined = IXGBE_MAX_FDIR_INDICES; in ixgbe_max_channels()
3216 max_combined = ixgbe_max_rss_indices(adapter); in ixgbe_max_channels()
3219 return max_combined; in ixgbe_max_channels()
3228 ch->max_combined = ixgbe_max_channels(adapter); in ixgbe_get_channels()
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1439 ch->max_combined = igc_get_max_rss_queues(adapter); in igc_ethtool_get_channels()
1455 unsigned int max_combined = 0; in igc_ethtool_set_channels() local
1466 max_combined = igc_get_max_rss_queues(adapter); in igc_ethtool_set_channels()
1467 if (count > max_combined) in igc_ethtool_set_channels()
1472 igc_set_flag_queue_pairs(adapter, max_combined); in igc_ethtool_set_channels()
/Linux-v5.10/drivers/s390/net/
Dqeth_ethtool.c204 channels->max_combined = 0; in qeth_get_channels()
/Linux-v5.10/drivers/net/ethernet/google/gve/
Dgve_ethtool.c369 cmd->max_combined = 0; in gve_get_channels()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c3387 ch->max_combined = igb_max_channels(adapter); in igb_get_channels()
3403 unsigned int max_combined = 0; in igb_set_channels() local
3414 max_combined = igb_max_channels(adapter); in igb_set_channels()
3415 if (count > max_combined) in igb_set_channels()
3420 igb_set_flag_queue_pairs(adapter, max_combined); in igb_set_channels()
/Linux-v5.10/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c873 ch->max_combined = adapter->vsi_res->num_queue_pairs; in iavf_get_channels()
/Linux-v5.10/include/uapi/linux/
Dethtool.h546 __u32 max_combined; member
/Linux-v5.10/drivers/net/ethernet/ti/
Dcpsw_ethtool.c388 ch->max_combined = 0; in cpsw_get_channels()
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c703 channels->max_combined = combined; in xgbe_get_channels()
/Linux-v5.10/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c829 channels->max_combined = adapter->max_num_io_queues; in ena_get_channels()
/Linux-v5.10/drivers/net/ethernet/pensando/ionic/
Dionic_ethtool.c575 ch->max_combined = lif->ionic->ntxqs_per_lif; in ionic_get_channels()
/Linux-v5.10/tools/lib/bpf/
Dxsk.c468 ret = max(ret, (int)channels.max_combined); in xsk_get_max_queues()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c398 ch->max_combined = priv->max_nch; in mlx5e_ethtool_get_channels()
402 ch->max_combined *= 2; in mlx5e_ethtool_get_channels()
/Linux-v5.10/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1225 ch->max_combined = be_max_qp_irqs(adapter); in be_get_channels()
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1408 channel->max_combined = min(channel->max_rx, channel->max_tx); in nfp_net_get_channels()
/Linux-v5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c889 channels->max_combined = nic_dev->max_qps; in hinic_get_channels()
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1042 channels->max_combined = QEDE_MAX_RSS_CNT(edev); in qede_get_channels()
/Linux-v5.10/drivers/net/hyperv/
Dnetvsc_drv.c968 channel->max_combined = nvdev->max_chn; in netvsc_get_channels()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c3557 channels->max_combined = BNX2X_MAX_RSS_COUNT(bp); in bnx2x_get_channels()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_ethtool.c3312 ch->max_combined = min_t(int, ch->max_rx, ch->max_tx); in ice_get_channels()

12