Home
last modified time | relevance | path

Searched refs:tx_coalesce_usecs (Results 1 - 25 of 150) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
H A Dethtool.c39 cp->tx_coalesce_usecs = tx_itr_val; in wil_ethtoolops_get_coalesce()
57 cp->rx_coalesce_usecs, cp->tx_coalesce_usecs); in wil_ethtoolops_set_coalesce()
65 /* only @rx_coalesce_usecs and @tx_coalesce_usecs supported, in wil_ethtoolops_set_coalesce()
70 cp->tx_coalesce_usecs > WIL6210_ITR_TRSH_MAX) in wil_ethtoolops_set_coalesce()
73 wil->tx_max_burst_duration = cp->tx_coalesce_usecs; in wil_ethtoolops_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/
H A Dethtool.c42 cp->tx_coalesce_usecs = tx_itr_val; in wil_ethtoolops_get_coalesce()
63 cp->rx_coalesce_usecs, cp->tx_coalesce_usecs); in wil_ethtoolops_set_coalesce()
71 /* only @rx_coalesce_usecs and @tx_coalesce_usecs supported, in wil_ethtoolops_set_coalesce()
76 cp->tx_coalesce_usecs > WIL6210_ITR_TRSH_MAX) in wil_ethtoolops_set_coalesce()
79 wil->tx_max_burst_duration = cp->tx_coalesce_usecs; in wil_ethtoolops_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c307 ecmd->tx_coalesce_usecs = enic->tx_coalesce_usecs; in enic_get_coalesce()
327 ec->tx_coalesce_usecs) in enic_coalesce_valid()
330 if ((ec->tx_coalesce_usecs > coalesce_usecs_max) || in enic_coalesce_valid()
349 u32 tx_coalesce_usecs; in enic_set_coalesce() local
362 tx_coalesce_usecs = min_t(u32, ecmd->tx_coalesce_usecs, in enic_set_coalesce()
376 tx_coalesce_usecs); in enic_set_coalesce()
378 enic->tx_coalesce_usecs = tx_coalesce_usecs; in enic_set_coalesce()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c298 ecmd->tx_coalesce_usecs = enic->tx_coalesce_usecs; in enic_get_coalesce()
318 ec->tx_coalesce_usecs) in enic_coalesce_valid()
321 if ((ec->tx_coalesce_usecs > coalesce_usecs_max) || in enic_coalesce_valid()
342 u32 tx_coalesce_usecs; in enic_set_coalesce() local
355 tx_coalesce_usecs = min_t(u32, ecmd->tx_coalesce_usecs, in enic_set_coalesce()
369 tx_coalesce_usecs); in enic_set_coalesce()
371 enic->tx_coalesce_usecs = tx_coalesce_usecs; in enic_set_coalesce()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dethtool.c108 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
138 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
140 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
141 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dethtool.c110 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
142 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
144 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
145 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dethtool.c110 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
142 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
144 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
145 tx_usecs = coalesce->tx_coalesce_usecs; in efx_ethtool_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c608 ec->tx_coalesce_usecs = priv->tx_coalesce_usecs; in gve_get_coalesce()
620 u32 tx_usecs_orig = priv->tx_coalesce_usecs; in gve_set_coalesce()
627 if (ec->tx_coalesce_usecs > GVE_MAX_ITR_INTERVAL_DQO || in gve_set_coalesce()
630 priv->tx_coalesce_usecs = ec->tx_coalesce_usecs; in gve_set_coalesce()
633 if (tx_usecs_orig != priv->tx_coalesce_usecs) { in gve_set_coalesce()
639 priv->tx_coalesce_usecs); in gve_set_coalesce()
/kernel/linux/linux-5.10/drivers/s390/net/
H A Dqeth_ethtool.c117 WRITE_ONCE(queue->coalesce_usecs, coal->tx_coalesce_usecs); in __qeth_set_coalesce()
120 if (coal->tx_coalesce_usecs && in __qeth_set_coalesce()
123 qeth_tx_arm_timer(queue, coal->tx_coalesce_usecs); in __qeth_set_coalesce()
136 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_coalesce()
300 coal->tx_coalesce_usecs = queue->coalesce_usecs; in qeth_get_per_queue_coalesce()
316 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_per_queue_coalesce()
/kernel/linux/linux-6.6/drivers/s390/net/
H A Dqeth_ethtool.c116 WRITE_ONCE(queue->coalesce_usecs, coal->tx_coalesce_usecs); in __qeth_set_coalesce()
119 if (coal->tx_coalesce_usecs && in __qeth_set_coalesce()
122 qeth_tx_arm_timer(queue, coal->tx_coalesce_usecs); in __qeth_set_coalesce()
137 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_coalesce()
303 coal->tx_coalesce_usecs = queue->coalesce_usecs; in qeth_get_per_queue_coalesce()
319 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_per_queue_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c411 coalesce->tx_coalesce_usecs = lif->tx_coalesce_usecs; in ionic_get_coalesce()
442 (coalesce->tx_coalesce_usecs != lif->rx_coalesce_usecs || in ionic_set_coalesce()
454 tx_coal = ionic_coal_usec_to_hw(lif->ionic, coalesce->tx_coalesce_usecs); in ionic_set_coalesce()
455 if (!tx_coal && coalesce->tx_coalesce_usecs) in ionic_set_coalesce()
467 lif->tx_coalesce_usecs = coalesce->tx_coalesce_usecs; in ionic_set_coalesce()
469 lif->tx_coalesce_usecs = coalesce->rx_coalesce_usecs; in ionic_set_coalesce()
650 lif->tx_coalesce_usecs = lif->rx_coalesce_usecs; in ionic_set_channels()
/kernel/linux/linux-5.10/drivers/staging/qlge/
H A Dqlge_ethtool.c198 if (le16_to_cpu(cqicb->irq_delay) != qdev->tx_coalesce_usecs || in ql_update_ring_coalescing()
203 cqicb->irq_delay = cpu_to_le16(qdev->tx_coalesce_usecs); in ql_update_ring_coalescing()
631 c->tx_coalesce_usecs = qdev->tx_coalesce_usecs; in ql_get_coalesce()
659 if (c->tx_coalesce_usecs > qdev->tx_ring_size / 2) in ql_set_coalesce()
666 qdev->tx_coalesce_usecs == c->tx_coalesce_usecs && in ql_set_coalesce()
672 qdev->tx_coalesce_usecs = c->tx_coalesce_usecs; in ql_set_coalesce()
/kernel/linux/linux-6.6/drivers/staging/qlge/
H A Dqlge_ethtool.c199 if (le16_to_cpu(cqicb->irq_delay) != qdev->tx_coalesce_usecs || in qlge_update_ring_coalescing()
204 cqicb->irq_delay = cpu_to_le16(qdev->tx_coalesce_usecs); in qlge_update_ring_coalescing()
632 c->tx_coalesce_usecs = qdev->tx_coalesce_usecs; in qlge_get_coalesce()
663 if (c->tx_coalesce_usecs > qdev->tx_ring_size / 2) in qlge_set_coalesce()
670 qdev->tx_coalesce_usecs == c->tx_coalesce_usecs && in qlge_set_coalesce()
676 qdev->tx_coalesce_usecs = c->tx_coalesce_usecs; in qlge_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c700 ec->tx_coalesce_usecs = tx_ring->itr_setting & ~IAVF_ITR_DYNAMIC; in __iavf_get_coalesce()
762 if (ec->tx_coalesce_usecs != itr_setting && in iavf_set_itr_per_queue()
770 tx_ring->itr_setting = ITR_REG_ALIGN(ec->tx_coalesce_usecs); in iavf_set_itr_per_queue()
818 } else if (ec->tx_coalesce_usecs == 0) { in __iavf_set_coalesce()
821 } else if ((ec->tx_coalesce_usecs < IAVF_MIN_ITR) || in __iavf_set_coalesce()
822 (ec->tx_coalesce_usecs > IAVF_MAX_ITR)) { in __iavf_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c806 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in ixgbevf_get_coalesce()
808 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in ixgbevf_get_coalesce()
823 adapter->q_vector[0]->rx.count && ec->tx_coalesce_usecs) in ixgbevf_set_coalesce()
827 (ec->tx_coalesce_usecs > (IXGBE_MAX_EITR >> 2))) in ixgbevf_set_coalesce()
840 if (ec->tx_coalesce_usecs > 1) in ixgbevf_set_coalesce()
841 adapter->tx_itr_setting = ec->tx_coalesce_usecs << 2; in ixgbevf_set_coalesce()
843 adapter->tx_itr_setting = ec->tx_coalesce_usecs; in ixgbevf_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c808 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in ixgbevf_get_coalesce()
810 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in ixgbevf_get_coalesce()
827 adapter->q_vector[0]->rx.count && ec->tx_coalesce_usecs) in ixgbevf_set_coalesce()
831 (ec->tx_coalesce_usecs > (IXGBE_MAX_EITR >> 2))) in ixgbevf_set_coalesce()
844 if (ec->tx_coalesce_usecs > 1) in ixgbevf_set_coalesce()
845 adapter->tx_itr_setting = ec->tx_coalesce_usecs << 2; in ixgbevf_set_coalesce()
847 adapter->tx_itr_setting = ec->tx_coalesce_usecs; in ixgbevf_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/
H A Dhip04_eth.c233 int tx_coalesce_usecs; member
498 unsigned long ns = priv->tx_coalesce_usecs * NSEC_PER_USEC / 2; in hip04_start_tx_timer()
803 ec->tx_coalesce_usecs = priv->tx_coalesce_usecs; in hip04_get_coalesce()
814 if ((ec->tx_coalesce_usecs > HIP04_MAX_TX_COALESCE_USECS || in hip04_set_coalesce()
815 ec->tx_coalesce_usecs < HIP04_MIN_TX_COALESCE_USECS) || in hip04_set_coalesce()
820 priv->tx_coalesce_usecs = ec->tx_coalesce_usecs; in hip04_set_coalesce()
936 * be faster than tx_coalesce_usecs, so we need a fast timeout here, in hip04_mac_probe()
942 priv->tx_coalesce_usecs in hip04_mac_probe()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/
H A Dhip04_eth.c233 int tx_coalesce_usecs; member
498 unsigned long ns = priv->tx_coalesce_usecs * NSEC_PER_USEC / 2; in hip04_start_tx_timer()
805 ec->tx_coalesce_usecs = priv->tx_coalesce_usecs; in hip04_get_coalesce()
818 if ((ec->tx_coalesce_usecs > HIP04_MAX_TX_COALESCE_USECS || in hip04_set_coalesce()
819 ec->tx_coalesce_usecs < HIP04_MIN_TX_COALESCE_USECS) || in hip04_set_coalesce()
824 priv->tx_coalesce_usecs = ec->tx_coalesce_usecs; in hip04_set_coalesce()
940 * be faster than tx_coalesce_usecs, so we need a fast timeout here, in hip04_mac_probe()
946 priv->tx_coalesce_usecs in hip04_mac_probe()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c423 coalesce->tx_coalesce_usecs = lif->tx_coalesce_usecs; in ionic_get_coalesce()
456 (coalesce->tx_coalesce_usecs != lif->rx_coalesce_usecs || in ionic_set_coalesce()
468 tx_coal = ionic_coal_usec_to_hw(lif->ionic, coalesce->tx_coalesce_usecs); in ionic_set_coalesce()
469 if (!tx_coal && coalesce->tx_coalesce_usecs) in ionic_set_coalesce()
481 lif->tx_coalesce_usecs = coalesce->tx_coalesce_usecs; in ionic_set_coalesce()
483 lif->tx_coalesce_usecs = coalesce->rx_coalesce_usecs; in ionic_set_coalesce()
780 lif->tx_coalesce_usecs = lif->rx_coalesce_usecs; in ionic_set_channels()
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c380 ec->tx_coalesce_usecs = tsnep_get_irq_coalesce(queue); in tsnep_ethtool_get_coalesce()
401 ec->tx_coalesce_usecs); in tsnep_ethtool_set_coalesce()
426 ec->tx_coalesce_usecs = tsnep_get_irq_coalesce(queue_with_tx); in tsnep_ethtool_get_per_queue_coalesce()
453 retval = tsnep_set_irq_coalesce(queue_with_tx, ec->tx_coalesce_usecs); in tsnep_ethtool_set_per_queue_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c361 cmd->tx_coalesce_usecs = hw->cq_time_wait; in otx2_get_coalesce()
382 ec->tx_coalesce_usecs = clamp_t(u32, ec->tx_coalesce_usecs, in otx2_set_coalesce()
389 hw->cq_time_wait = ec->tx_coalesce_usecs; in otx2_set_coalesce()
390 else if (hw->cq_time_wait == ec->tx_coalesce_usecs) in otx2_set_coalesce()
394 ec->tx_coalesce_usecs); in otx2_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c871 ec->tx_coalesce_usecs = adapter->tx_itr_setting; in igc_ethtool_get_coalesce()
873 ec->tx_coalesce_usecs = adapter->tx_itr_setting >> 2; in igc_ethtool_get_coalesce()
891 if (ec->tx_coalesce_usecs > IGC_MAX_ITR_USECS || in igc_ethtool_set_coalesce()
892 (ec->tx_coalesce_usecs > 3 && in igc_ethtool_set_coalesce()
893 ec->tx_coalesce_usecs < IGC_MIN_ITR_USECS) || in igc_ethtool_set_coalesce()
894 ec->tx_coalesce_usecs == 2) in igc_ethtool_set_coalesce()
897 if ((adapter->flags & IGC_FLAG_QUEUE_PAIRS) && ec->tx_coalesce_usecs) in igc_ethtool_set_coalesce()
915 else if (ec->tx_coalesce_usecs && ec->tx_coalesce_usecs <= 3) in igc_ethtool_set_coalesce()
916 adapter->tx_itr_setting = ec->tx_coalesce_usecs; in igc_ethtool_set_coalesce()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c561 coal->tx_coalesce_usecs = cfg->tx_itr; in aq_ethtool_get_coalesce()
566 coal->tx_coalesce_usecs = 0; in aq_ethtool_get_coalesce()
592 if (!(coal->tx_max_coalesced_frames == !coal->tx_coalesce_usecs)) in aq_ethtool_set_coalesce()
596 coal->tx_coalesce_usecs > AQ_CFG_INTERRUPT_MODERATION_USEC_MAX) in aq_ethtool_set_coalesce()
602 cfg->tx_itr = coal->tx_coalesce_usecs; in aq_ethtool_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c572 coal->tx_coalesce_usecs = cfg->tx_itr; in aq_ethtool_get_coalesce()
577 coal->tx_coalesce_usecs = 0; in aq_ethtool_get_coalesce()
605 if (!(coal->tx_max_coalesced_frames == !coal->tx_coalesce_usecs)) in aq_ethtool_set_coalesce()
609 coal->tx_coalesce_usecs > AQ_CFG_INTERRUPT_MODERATION_USEC_MAX) in aq_ethtool_set_coalesce()
615 cfg->tx_itr = coal->tx_coalesce_usecs; in aq_ethtool_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c891 ec->tx_coalesce_usecs = igc_ethtool_get_previous_tx_coalesce(adapter); in igc_ethtool_get_coalesce()
910 if (ec->tx_coalesce_usecs > IGC_MAX_ITR_USECS || in igc_ethtool_set_coalesce()
911 (ec->tx_coalesce_usecs > 3 && in igc_ethtool_set_coalesce()
912 ec->tx_coalesce_usecs < IGC_MIN_ITR_USECS) || in igc_ethtool_set_coalesce()
913 ec->tx_coalesce_usecs == 2) in igc_ethtool_set_coalesce()
917 ec->tx_coalesce_usecs != igc_ethtool_get_previous_tx_coalesce(adapter)) { in igc_ethtool_set_coalesce()
938 else if (ec->tx_coalesce_usecs && ec->tx_coalesce_usecs <= 3) in igc_ethtool_set_coalesce()
939 adapter->tx_itr_setting = ec->tx_coalesce_usecs; in igc_ethtool_set_coalesce()
941 adapter->tx_itr_setting = ec->tx_coalesce_usecs << in igc_ethtool_set_coalesce()
[all...]

Completed in 26 milliseconds

123456