Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c1104 unsigned int max_combined = interface->hw.mac.max_queues; in fm10k_max_channels() local
1109 max_combined = BIT((fls(max_combined / tcs) - 1)); in fm10k_max_channels()
1111 return max_combined; in fm10k_max_channels()
1121 ch->max_combined = fm10k_max_channels(dev); in fm10k_get_channels()
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c496 u32 combined_count = 0, max_combined = 0; in lio_ethtool_get_channels() local
507 max_combined = lio->linfo.num_txpciq; in lio_ethtool_get_channels()
512 max_combined = CFG_GET_IQ_MAX_Q(conf23_pf); in lio_ethtool_get_channels()
521 max_combined = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK; in lio_ethtool_get_channels()
527 channel->max_combined = max_combined; in lio_ethtool_get_channels()
598 u32 combined_count, max_combined; in lio_ethtool_set_channels() local
616 max_combined = lio->linfo.num_txpciq; in lio_ethtool_set_channels()
622 max_combined = in lio_ethtool_set_channels()
631 max_combined = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK; in lio_ethtool_set_channels()
636 if (combined_count > max_combined || combined_count < 1) in lio_ethtool_set_channels()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c3088 unsigned int max_combined; in ixgbe_max_channels() local
3093 max_combined = 1; in ixgbe_max_channels()
3096 max_combined = adapter->ring_feature[RING_F_RSS].mask + 1; in ixgbe_max_channels()
3101 max_combined = 4; in ixgbe_max_channels()
3104 max_combined = 8; in ixgbe_max_channels()
3107 max_combined = 16; in ixgbe_max_channels()
3111 max_combined = IXGBE_MAX_FDIR_INDICES; in ixgbe_max_channels()
3114 max_combined = ixgbe_max_rss_indices(adapter); in ixgbe_max_channels()
3117 return max_combined; in ixgbe_max_channels()
3126 ch->max_combined = ixgbe_max_channels(adapter); in ixgbe_get_channels()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_ethtool.c3393 ch->max_combined = igb_max_channels(adapter); in igb_get_channels()
3409 unsigned int max_combined = 0; in igb_set_channels() local
3420 max_combined = igb_max_channels(adapter); in igb_set_channels()
3421 if (count > max_combined) in igb_set_channels()
3426 igb_set_flag_queue_pairs(adapter, max_combined); in igb_set_channels()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c646 ch->max_combined = I40EVF_MAX_REQ_QUEUES; in i40evf_get_channels()
/Linux-v4.19/include/uapi/linux/
Dethtool.h520 __u32 max_combined; member
/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c749 channels->max_combined = 0; in ena_get_channels()
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c728 channels->max_combined = combined; in xgbe_get_channels()
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_main.c191 channels->max_combined = 0; in hinic_get_channels()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c1219 channel->max_combined = min(channel->max_rx, channel->max_tx); in nfp_net_get_channels()
/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1213 ch->max_combined = be_max_qp_irqs(adapter); in be_get_channels()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c314 ch->max_combined = priv->profile->max_nch(priv->mdev); in mlx5e_ethtool_get_channels()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c1939 ch->max_combined = hclgevf_get_max_channels(hdev); in hclgevf_get_channels()
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c998 channels->max_combined = QEDE_MAX_RSS_CNT(edev); in qede_get_channels()
/Linux-v4.19/drivers/net/hyperv/
Dnetvsc_drv.c854 channel->max_combined = nvdev->max_chn; in netvsc_get_channels()
/Linux-v4.19/net/core/
Dethtool.c1770 (channels.combined_count > max.max_combined) || in ethtool_set_channels()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c3533 channels->max_combined = BNX2X_MAX_RSS_COUNT(bp); in bnx2x_get_channels()
/Linux-v4.19/drivers/net/
Dvirtio_net.c2110 channels->max_combined = vi->max_queue_pairs; in virtnet_get_channels()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c481 channel->max_combined = min_t(int, max_rx_rings, max_tx_rings); in bnxt_get_channels()
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpsw.c2740 ch->max_combined = 0; in cpsw_get_channels()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c4283 ch->max_combined = i40e_max_channels(vsi); in i40e_get_channels()
/Linux-v4.19/drivers/net/ethernet/ibm/
Dibmvnic.c2390 channels->max_combined = 0; in ibmvnic_get_channels()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5883 ch->max_combined = hclge_get_max_channels(handle); in hclge_get_channels()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dbnx2.c7792 channels->max_combined = 0; in bnx2_get_channels()