Searched refs:tx_count (Results 51 - 75 of 85) sorted by relevance

1234

/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c733 int tx_count = 8; local
746 tx_count = msta->rate_count;
829 tx_count = rate->count;
842 tx_count = 0x1f;
845 val = FIELD_PREP(MT_TXD3_REM_TX_COUNT, tx_count);
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1831 channel->tx_count = priv->tx_ring_num[TX] /
1848 if (!channel->tx_count || !channel->rx_count)
1857 total_tx_count = channel->tx_count * priv->prof->num_up + xdp_count;
1867 new_prof.num_tx_rings_p_up = channel->tx_count;
1868 new_prof.tx_ring_num[TX] = channel->tx_count * priv->prof->num_up;
/linux-master/drivers/net/vmxnet3/
H A Dvmxnet3_ethtool.c1328 ec->tx_count =
1341 ec->max_tx = ec->tx_count;
/linux-master/net/ethtool/
H A Dioctl.c1905 channels.tx_count == curr.tx_count &&
1912 channels.tx_count > curr.max_tx ||
1919 (!channels.rx_count || !channels.tx_count))
1935 min(channels.rx_count, channels.tx_count);
1936 to_channel = curr.combined_count + max(curr.rx_count, curr.tx_count);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_lib.c969 u16 offset = 0, qmap = 0, tx_count = 0, rx_count = 0, pow = 0;
1023 tx_count += num_txq_per_tc;
1044 if (tx_count > vsi->alloc_txq) {
1046 tx_count, vsi->alloc_txq);
1050 vsi->num_txq = tx_count;
977 u16 offset = 0, qmap = 0, tx_count = 0, rx_count = 0, pow = 0; local
H A Dice_ethtool.c3523 ch->tx_count = vsi->num_txq - ch->combined_count;
3617 if (ch->rx_count && ch->tx_count) {
3623 new_tx = ch->combined_count + ch->tx_count;
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c2220 channel->tx_count = num_tx_rings - channel->combined_count;
2250 (channel->rx_count && channel->tx_count))
2254 total_tx = channel->combined_count + channel->tx_count;
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c914 channel->tx_count = bp->tx_nr_rings_per_tc;
933 (!channel->rx_count || !channel->tx_count))
937 (channel->rx_count || channel->tx_count))
941 channel->tx_count))
949 req_tx_rings = sh ? channel->combined_count : channel->tx_count;
990 bp->tx_nr_rings_per_tc = channel->tx_count;
H A Dbnxt.c4711 int rc, rx_count, tx_count; local
4733 tx_count = sizeof(struct tx_port_stats) / 8;
4741 bnxt_fill_masks(tx_masks, mask, tx_count);
4744 bnxt_copy_hw_masks(tx_masks, tx_stats, tx_count);
4756 tx_count = sizeof(struct tx_port_stats_ext) / 8;
4765 bnxt_fill_masks(tx_masks, mask, tx_count);
4770 tx_count);
/linux-master/drivers/net/ethernet/ibm/
H A Dibmveth.c994 channels->tx_count = netdev->real_num_tx_queues;
1005 goal = channels->tx_count;
/linux-master/drivers/net/ethernet/qlogic/
H A Dqla3xxx.h1115 atomic_t tx_count; member in struct:ql3_adapter
H A Dqla3xxx.c1966 atomic_inc(&qdev->tx_count);
2466 if (unlikely(atomic_read(&qdev->tx_count) < 2))
2508 atomic_dec(&qdev->tx_count);
3025 atomic_set(&qdev->tx_count, NUM_REQ_Q_ENTRIES);
/linux-master/drivers/net/wireless/broadcom/b43/
H A Db43.h892 unsigned int tx_count; member in struct:b43_wldev
H A Dmain.c3395 dev->tx_count / 15,
3398 dev->tx_count = 0;
3621 dev->tx_count++;
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs.c737 (tid_data->tx_count >= IWL_MVM_RS_AGG_START_THRESHOLD)) {
738 tid_data->tx_count_last = tid_data->tx_count;
739 tid_data->tx_count = 0;
742 tid_data->tx_count += successes;
/linux-master/include/uapi/linux/
H A Dethtool.h545 * @tx_count: Valid values are in the range 1 to the max_tx.
559 __u32 tx_count; member in struct:ethtool_channels
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c1995 u32 tx_count = priv->plat->tx_queues_to_use; local
1999 for (queue = 0; queue < tx_count; queue++)
2169 u32 tx_count = priv->plat->tx_queues_to_use; local
2174 for (queue = 0; queue < tx_count; queue++) {
6344 u32 tx_count = priv->plat->tx_queues_to_use; local
6366 for (queue = 0; queue < tx_count; queue++) {
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.c223 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count) argument
246 req->resc_request.num_txqs = tx_count;
H A Dbnx2x_ethtool.c3599 channels->rx_count, channels->tx_count, channels->other_count,
3610 if (channels->rx_count || channels->tx_count || channels->other_count
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ethtool.c835 ch->tx_count = priv->ae_handle->q_num;
/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c1145 if (!count || ch->rx_count || ch->tx_count)
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76.h705 u32 tx_count; member in struct:mt76_testmode_data
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c1733 if (ch->rx_count || ch->tx_count || ch->other_count != NONQ_VECS)
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c819 u16 tx_count = 15; local
863 FIELD_PREP(MT_TXD3_REM_TX_COUNT, tx_count);
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c1536 if (!count || ch->rx_count || ch->tx_count)

Completed in 846 milliseconds

1234