Home
last modified time | relevance | path

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

12

/Linux-v5.4/tools/include/uapi/linux/
Dethtool.h44 __u32 max_combined; member
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c1103 unsigned int max_combined = interface->hw.mac.max_queues; in fm10k_max_channels() local
1108 max_combined = BIT((fls(max_combined / tcs) - 1)); in fm10k_max_channels()
1110 return max_combined; in fm10k_max_channels()
1119 ch->max_combined = fm10k_max_channels(dev); in fm10k_get_channels()
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c503 u32 combined_count = 0, max_combined = 0; in lio_ethtool_get_channels() local
514 max_combined = lio->linfo.num_txpciq; in lio_ethtool_get_channels()
519 max_combined = CFG_GET_IQ_MAX_Q(conf23_pf); in lio_ethtool_get_channels()
528 max_combined = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK; in lio_ethtool_get_channels()
534 channel->max_combined = max_combined; in lio_ethtool_get_channels()
605 u32 combined_count, max_combined; in lio_ethtool_set_channels() local
623 max_combined = lio->linfo.num_txpciq; in lio_ethtool_set_channels()
629 max_combined = in lio_ethtool_set_channels()
638 max_combined = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK; in lio_ethtool_set_channels()
643 if (combined_count > max_combined || combined_count < 1) in lio_ethtool_set_channels()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3091 unsigned int max_combined; in ixgbe_max_channels() local
3096 max_combined = 1; in ixgbe_max_channels()
3099 max_combined = adapter->ring_feature[RING_F_RSS].mask + 1; in ixgbe_max_channels()
3104 max_combined = 4; in ixgbe_max_channels()
3107 max_combined = 8; in ixgbe_max_channels()
3110 max_combined = 16; in ixgbe_max_channels()
3114 max_combined = IXGBE_MAX_FDIR_INDICES; in ixgbe_max_channels()
3117 max_combined = ixgbe_max_rss_indices(adapter); in ixgbe_max_channels()
3120 return max_combined; in ixgbe_max_channels()
3129 ch->max_combined = ixgbe_max_channels(adapter); in ixgbe_get_channels()
/Linux-v5.4/drivers/net/ethernet/google/gve/
Dgve_ethtool.c172 cmd->max_combined = 0; in gve_get_channels()
/Linux-v5.4/tools/lib/bpf/
Dxsk.c346 if (err || channels.max_combined == 0) in xsk_get_max_queues()
352 ret = channels.max_combined; in xsk_get_max_queues()
/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1559 ch->max_combined = igc_max_channels(adapter); in igc_get_channels()
1575 unsigned int max_combined = 0; in igc_set_channels() local
1586 max_combined = igc_max_channels(adapter); in igc_set_channels()
1587 if (count > max_combined) in igc_set_channels()
1592 igc_set_flag_queue_pairs(adapter, max_combined); in igc_set_channels()
/Linux-v5.4/drivers/s390/net/
Dqeth_ethtool.c168 channels->max_combined = 0; in qeth_get_channels()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_ethtool.c3396 ch->max_combined = igb_max_channels(adapter); in igb_get_channels()
3412 unsigned int max_combined = 0; in igb_set_channels() local
3423 max_combined = igb_max_channels(adapter); in igb_set_channels()
3424 if (count > max_combined) in igb_set_channels()
3429 igb_set_flag_queue_pairs(adapter, max_combined); in igb_set_channels()
/Linux-v5.4/include/uapi/linux/
Dethtool.h546 __u32 max_combined; member
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c863 ch->max_combined = IAVF_MAX_REQ_QUEUES; in iavf_get_channels()
/Linux-v5.4/drivers/net/ethernet/pensando/ionic/
Dionic_ethtool.c496 ch->max_combined = lif->ionic->ntxqs_per_lif; in ionic_get_channels()
/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c153 channels->max_combined = 0; in hinic_get_channels()
/Linux-v5.4/drivers/net/ethernet/ti/
Dcpsw_ethtool.c387 ch->max_combined = 0; in cpsw_get_channels()
/Linux-v5.4/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c740 channels->max_combined = 0; in ena_get_channels()
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c728 channels->max_combined = combined; in xgbe_get_channels()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c394 ch->max_combined = priv->max_nch; in mlx5e_ethtool_get_channels()
398 ch->max_combined *= 2; in mlx5e_ethtool_get_channels()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1330 channel->max_combined = min(channel->max_rx, channel->max_tx); in nfp_net_get_channels()
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1226 ch->max_combined = be_max_qp_irqs(adapter); in be_get_channels()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1084 channels->max_combined = QEDE_MAX_RSS_CNT(edev); in qede_get_channels()
/Linux-v5.4/drivers/net/hyperv/
Dnetvsc_drv.c878 channel->max_combined = nvdev->max_chn; in netvsc_get_channels()
/Linux-v5.4/net/core/
Dethtool.c1699 channels.combined_count > curr.max_combined || in ethtool_set_channels()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c3563 channels->max_combined = BNX2X_MAX_RSS_COUNT(bp); in bnx2x_get_channels()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c2846 ch->max_combined = hclgevf_get_max_channels(hdev); in hclgevf_get_channels()
/Linux-v5.4/drivers/net/
Dvirtio_net.c2162 channels->max_combined = vi->max_queue_pairs; in virtnet_get_channels()

12