| /OK3568_Linux_fs/kernel/net/ethtool/ |
| H A D | channels.c | 83 channels->combined_count)))) in channels_fill_reply() 141 old_total = channels.combined_count + in ethnl_set_channels() 150 ethnl_update_u32(&channels.combined_count, in ethnl_set_channels() 164 else if (channels.combined_count > channels.max_combined) in ethnl_set_channels() 176 if (!channels.combined_count && !channels.rx_count) in ethnl_set_channels() 178 else if (!channels.combined_count && !channels.tx_count) in ethnl_set_channels() 196 (channels.combined_count + channels.rx_count) <= max_rx_in_use) { in ethnl_set_channels() 203 from_channel = channels.combined_count + in ethnl_set_channels()
|
| H A D | ioctl.c | 1785 channels.combined_count == curr.combined_count && in ethtool_set_channels() 1792 channels.combined_count > curr.max_combined || in ethtool_set_channels() 1797 if (!channels.combined_count && in ethtool_set_channels() 1805 (channels.combined_count + channels.rx_count) <= max_rx_in_use) in ethtool_set_channels() 1809 from_channel = channels.combined_count + in ethtool_set_channels() 1811 to_channel = curr.combined_count + max(curr.rx_count, curr.tx_count); in ethtool_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-ethtool.c | 715 channels->combined_count = combined; in xgbe_get_channels() 724 channels->combined_count, channels->rx_count, in xgbe_print_set_channels_input() 756 if (!channels->combined_count) { in xgbe_set_channels() 764 if (channels->combined_count > combined) { in xgbe_set_channels() 781 if ((channels->combined_count + channels->rx_count) > rx) { in xgbe_set_channels() 784 channels->combined_count + channels->rx_count, rx); in xgbe_set_channels() 789 if ((channels->combined_count + channels->tx_count) > tx) { in xgbe_set_channels() 792 channels->combined_count + channels->tx_count, tx); in xgbe_set_channels() 797 rx = channels->combined_count + channels->rx_count; in xgbe_set_channels() 798 tx = channels->combined_count + channels->tx_count; in xgbe_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_ethtool.c | 584 ch->combined_count = lif->nxqs; in ionic_get_channels() 603 if (ch->combined_count && ch->rx_count) { in ionic_set_channels() 609 if (ch->combined_count) { in ionic_set_channels() 610 if (ch->combined_count > max_cnt) in ionic_set_channels() 615 else if (ch->combined_count == lif->nxqs) in ionic_set_channels() 618 if (lif->nxqs != ch->combined_count) in ionic_set_channels() 620 lif->nxqs, ch->combined_count); in ionic_set_channels() 622 qparam.nxqs = ch->combined_count; in ionic_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/emulex/benet/ |
| H A D | be_ethtool.c | 1221 ch->combined_count = min(adapter->num_tx_qs, num_rx_irqs); in be_get_channels() 1222 ch->rx_count = num_rx_irqs - ch->combined_count; in be_get_channels() 1223 ch->tx_count = adapter->num_tx_qs - ch->combined_count; in be_get_channels() 1240 if (ch->other_count || !ch->combined_count || in be_set_channels() 1244 if (ch->combined_count > be_max_qp_irqs(adapter) || in be_set_channels() 1246 (ch->rx_count + ch->combined_count) > be_max_rx_irqs(adapter)) || in be_set_channels() 1248 (ch->tx_count + ch->combined_count) > be_max_tx_irqs(adapter))) in be_set_channels() 1251 adapter->cfg_num_rx_irqs = ch->combined_count + ch->rx_count; in be_set_channels() 1252 adapter->cfg_num_tx_irqs = ch->combined_count + ch->tx_count; in be_set_channels()
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | ethtool.h | 48 __u32 combined_count; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/google/gve/ |
| H A D | gve_ethtool.c | 373 cmd->combined_count = 0; in gve_get_channels() 389 if (cmd->combined_count != old_settings.combined_count) in gve_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_ethtool.c | 501 u32 combined_count = 0, max_combined = 0; in lio_ethtool_get_channels() local 519 combined_count = oct->num_iqs; in lio_ethtool_get_channels() 527 combined_count = oct->num_iqs; in lio_ethtool_get_channels() 535 channel->combined_count = combined_count; in lio_ethtool_get_channels() 603 u32 combined_count, max_combined; in lio_ethtool_set_channels() local 613 if (!channel->combined_count || channel->other_count || in lio_ethtool_set_channels() 617 combined_count = channel->combined_count; in lio_ethtool_set_channels() 641 if (combined_count > max_combined || combined_count < 1) in lio_ethtool_set_channels() 644 if (combined_count == oct->num_iqs) in lio_ethtool_set_channels() 654 if (lio_reset_queues(dev, combined_count)) in lio_ethtool_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_ethtool.c | 1417 channel->combined_count = min(nn->dp.num_rx_rings, num_tx_rings); in nfp_net_get_channels() 1418 channel->rx_count = nn->dp.num_rx_rings - channel->combined_count; in nfp_net_get_channels() 1419 channel->tx_count = num_tx_rings - channel->combined_count; in nfp_net_get_channels() 1452 total_rx = channel->combined_count + channel->rx_count; in nfp_net_set_channels() 1453 total_tx = channel->combined_count + channel->tx_count; in nfp_net_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/amazon/ena/ |
| H A D | ena_ethtool.c | 830 channels->combined_count = adapter->num_io_queues; in ena_get_channels() 837 u32 count = channels->combined_count; in ena_set_channels() 841 !ena_xdp_legal_queue_count(adapter, channels->combined_count))) in ena_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/ |
| H A D | cpsw_ethtool.c | 393 ch->combined_count = 0; in cpsw_get_channels() 518 if (ch->combined_count) in cpsw_check_ch_settings()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ethtool.c | 921 ch->combined_count = adapter->num_active_queues; in iavf_get_channels() 937 u32 num_req = ch->combined_count; in iavf_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ethtool.c | 3313 ch->combined_count = ice_get_combined_cnt(vsi); in ice_get_channels() 3314 ch->rx_count = vsi->num_rxq - ch->combined_count; in ice_get_channels() 3315 ch->tx_count = vsi->num_txq - ch->combined_count; in ice_get_channels() 3419 if (ch->combined_count == curr_combined) in ice_set_channels() 3420 ch->combined_count = 0; in ice_set_channels() 3422 if (!(ch->combined_count || (ch->rx_count && ch->tx_count))) { in ice_set_channels() 3427 new_rx = ch->combined_count + ch->rx_count; in ice_set_channels() 3428 new_tx = ch->combined_count + ch->tx_count; in ice_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ethtool.c | 837 channel->combined_count = bp->rx_nr_rings; in bnxt_get_channels() 839 channel->combined_count--; in bnxt_get_channels() 860 if (!channel->combined_count && in bnxt_set_channels() 864 if (channel->combined_count && in bnxt_set_channels() 872 if (channel->combined_count) in bnxt_set_channels() 877 req_tx_rings = sh ? channel->combined_count : channel->tx_count; in bnxt_set_channels() 878 req_rx_rings = sh ? channel->combined_count : channel->rx_count; in bnxt_set_channels() 915 bp->rx_nr_rings = channel->combined_count; in bnxt_set_channels() 916 bp->tx_nr_rings_per_tc = channel->combined_count; in bnxt_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_ethtool.c | 3558 channels->combined_count = BNX2X_NUM_ETH_QUEUES(bp); in bnx2x_get_channels() 3593 channels->combined_count); in bnx2x_set_channels() 3604 || (channels->combined_count == 0) || in bnx2x_set_channels() 3605 (channels->combined_count > BNX2X_MAX_RSS_COUNT(bp))) { in bnx2x_set_channels() 3611 if (channels->combined_count == BNX2X_NUM_ETH_QUEUES(bp)) { in bnx2x_set_channels() 3621 bnx2x_change_num_queues(bp, channels->combined_count); in bnx2x_set_channels() 3625 bnx2x_change_num_queues(bp, channels->combined_count); in bnx2x_set_channels()
|
| /OK3568_Linux_fs/app/forlinx/quectelCM/ |
| H A D | ethtool-copy.h | 329 __u32 combined_count; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_ethtool.c | 1045 channels->combined_count = QEDE_QUEUE_CNT(edev) - edev->fp_num_tx - in qede_get_channels() 1060 channels->other_count, channels->combined_count); in qede_set_channels() 1063 channels->combined_count; in qede_set_channels() 1072 if (!(channels->combined_count || (channels->rx_count && in qede_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_ethtool.c | 1124 ch->combined_count = interface->ring_feature[RING_F_RSS].indices; in fm10k_get_channels() 1131 unsigned int count = ch->combined_count; in fm10k_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_ethtool.c | 399 ch->combined_count = priv->channels.params.num_channels; in mlx5e_ethtool_get_channels() 403 ch->combined_count *= 2; in mlx5e_ethtool_get_channels() 421 unsigned int count = ch->combined_count; in mlx5e_ethtool_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/s390/net/ |
| H A D | qeth_ethtool.c | 208 channels->combined_count = 0; in qeth_get_channels()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | ethtool.h | 518 __u32 combined_count; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | ethtool.h | 518 __u32 combined_count; member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | ethtool.h | 550 __u32 combined_count; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_ethtool.c | 890 channels->combined_count = hinic_hwdev_num_qps(hwdev); in hinic_get_channels() 897 unsigned int count = channels->combined_count; in hinic_set_channels()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ethtool.c | 3237 ch->combined_count = adapter->ring_feature[RING_F_RSS].indices; in ixgbe_get_channels() 3240 if (ch->combined_count == 1) in ixgbe_get_channels() 3256 ch->combined_count = adapter->ring_feature[RING_F_FDIR].indices; in ixgbe_get_channels() 3263 unsigned int count = ch->combined_count; in ixgbe_set_channels()
|