Home
last modified time | relevance | path

Searched refs:tx_usecs (Results 1 - 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dethtool.c103 unsigned int tx_usecs, rx_usecs; in efx_ethtool_get_coalesce() local
106 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in efx_ethtool_get_coalesce()
108 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
109 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
122 unsigned int tx_usecs, rx_usecs; in efx_ethtool_set_coalesce() local
126 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in efx_ethtool_set_coalesce()
138 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
139 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce()
140 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
141 tx_usecs in efx_ethtool_set_coalesce()
[all...]
H A Defx.h174 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs,
177 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
H A Defx.c428 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_init_irq_moderation() argument
439 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in efx_init_irq_moderation()
442 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in efx_init_irq_moderation()
455 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation()
457 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation()
463 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_get_irq_moderation() argument
474 *tx_usecs = *rx_usecs; in efx_get_irq_moderation()
479 *tx_usecs = tx_channel->irq_moderation_us; in efx_get_irq_moderation()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dethtool.c105 unsigned int tx_usecs, rx_usecs; in efx_ethtool_get_coalesce() local
108 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in efx_ethtool_get_coalesce()
110 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
111 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
126 unsigned int tx_usecs, rx_usecs; in efx_ethtool_set_coalesce() local
130 efx_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in efx_ethtool_set_coalesce()
142 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
143 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce()
144 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
145 tx_usecs in efx_ethtool_set_coalesce()
[all...]
H A Defx.h172 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs,
175 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
H A Defx.c429 int efx_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_init_irq_moderation() argument
440 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in efx_init_irq_moderation()
443 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in efx_init_irq_moderation()
456 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation()
458 channel->irq_moderation_us = tx_usecs; in efx_init_irq_moderation()
464 void efx_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_get_irq_moderation() argument
475 *tx_usecs = *rx_usecs; in efx_get_irq_moderation()
480 *tx_usecs = tx_channel->irq_moderation_us; in efx_get_irq_moderation()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dethtool.c105 unsigned int tx_usecs, rx_usecs; in efx_ethtool_get_coalesce() local
108 efx_siena_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in efx_ethtool_get_coalesce()
110 coalesce->tx_coalesce_usecs = tx_usecs; in efx_ethtool_get_coalesce()
111 coalesce->tx_coalesce_usecs_irq = tx_usecs; in efx_ethtool_get_coalesce()
126 unsigned int tx_usecs, rx_usecs; in efx_ethtool_set_coalesce() local
130 efx_siena_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in efx_ethtool_set_coalesce()
142 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in efx_ethtool_set_coalesce()
143 coalesce->tx_coalesce_usecs_irq == tx_usecs); in efx_ethtool_set_coalesce()
144 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce()
145 tx_usecs in efx_ethtool_set_coalesce()
[all...]
H A Defx.h155 int efx_siena_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs,
158 void efx_siena_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs,
H A Defx.c429 int efx_siena_init_irq_moderation(struct efx_nic *efx, unsigned int tx_usecs, in efx_siena_init_irq_moderation() argument
440 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in efx_siena_init_irq_moderation()
443 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in efx_siena_init_irq_moderation()
456 channel->irq_moderation_us = tx_usecs; in efx_siena_init_irq_moderation()
458 channel->irq_moderation_us = tx_usecs; in efx_siena_init_irq_moderation()
464 void efx_siena_get_irq_moderation(struct efx_nic *efx, unsigned int *tx_usecs, in efx_siena_get_irq_moderation() argument
475 *tx_usecs = *rx_usecs; in efx_siena_get_irq_moderation()
480 *tx_usecs = tx_channel->irq_moderation_us; in efx_siena_get_irq_moderation()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c583 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_get_coalesce() local
586 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in ef4_ethtool_get_coalesce()
588 coalesce->tx_coalesce_usecs = tx_usecs; in ef4_ethtool_get_coalesce()
589 coalesce->tx_coalesce_usecs_irq = tx_usecs; in ef4_ethtool_get_coalesce()
602 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_set_coalesce() local
606 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in ef4_ethtool_set_coalesce()
618 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in ef4_ethtool_set_coalesce()
619 coalesce->tx_coalesce_usecs_irq == tx_usecs); in ef4_ethtool_set_coalesce()
620 if (coalesce->tx_coalesce_usecs != tx_usecs) in ef4_ethtool_set_coalesce()
621 tx_usecs in ef4_ethtool_set_coalesce()
[all...]
H A Defx.h202 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs,
205 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs,
H A Defx.c1908 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs, in ef4_init_irq_moderation() argument
1919 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in ef4_init_irq_moderation()
1922 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in ef4_init_irq_moderation()
1935 channel->irq_moderation_us = tx_usecs; in ef4_init_irq_moderation()
1941 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs, in ef4_get_irq_moderation() argument
1952 *tx_usecs = *rx_usecs; in ef4_get_irq_moderation()
1957 *tx_usecs = tx_channel->irq_moderation_us; in ef4_get_irq_moderation()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c585 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_get_coalesce() local
588 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &rx_adaptive); in ef4_ethtool_get_coalesce()
590 coalesce->tx_coalesce_usecs = tx_usecs; in ef4_ethtool_get_coalesce()
591 coalesce->tx_coalesce_usecs_irq = tx_usecs; in ef4_ethtool_get_coalesce()
606 unsigned int tx_usecs, rx_usecs; in ef4_ethtool_set_coalesce() local
610 ef4_get_irq_moderation(efx, &tx_usecs, &rx_usecs, &adaptive); in ef4_ethtool_set_coalesce()
622 rx_may_override_tx = (coalesce->tx_coalesce_usecs == tx_usecs && in ef4_ethtool_set_coalesce()
623 coalesce->tx_coalesce_usecs_irq == tx_usecs); in ef4_ethtool_set_coalesce()
624 if (coalesce->tx_coalesce_usecs != tx_usecs) in ef4_ethtool_set_coalesce()
625 tx_usecs in ef4_ethtool_set_coalesce()
[all...]
H A Defx.h202 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs,
205 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs,
H A Defx.c1898 int ef4_init_irq_moderation(struct ef4_nic *efx, unsigned int tx_usecs, in ef4_init_irq_moderation() argument
1909 if (tx_usecs > timer_max_us || rx_usecs > timer_max_us) in ef4_init_irq_moderation()
1912 if (tx_usecs != rx_usecs && efx->tx_channel_offset == 0 && in ef4_init_irq_moderation()
1925 channel->irq_moderation_us = tx_usecs; in ef4_init_irq_moderation()
1931 void ef4_get_irq_moderation(struct ef4_nic *efx, unsigned int *tx_usecs, in ef4_get_irq_moderation() argument
1942 *tx_usecs = *rx_usecs; in ef4_get_irq_moderation()
1947 *tx_usecs = tx_channel->irq_moderation_us; in ef4_get_irq_moderation()
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dvirtio_net.h379 __le32 tx_usecs; member
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ae_adapt.c518 u32 *tx_usecs, u32 *rx_usecs) in hns_ae_get_coalesce_usecs()
523 *tx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
517 hns_ae_get_coalesce_usecs(struct hnae_handle *handle, u32 *tx_usecs, u32 *rx_usecs) hns_ae_get_coalesce_usecs() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c58 priv->tx_cq[t][i]->moder_time = priv->tx_usecs; in mlx4_en_moderation_update()
1005 coal->tx_coalesce_usecs = priv->tx_usecs; in mlx4_en_get_coalesce()
1056 if (coal->tx_coalesce_usecs != priv->tx_usecs || in mlx4_en_set_coalesce()
1058 priv->tx_usecs = coal->tx_coalesce_usecs; in mlx4_en_set_coalesce()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c59 priv->tx_cq[t][i]->moder_time = priv->tx_usecs; in mlx4_en_moderation_update()
1010 coal->tx_coalesce_usecs = priv->tx_usecs; in mlx4_en_get_coalesce()
1063 if (coal->tx_coalesce_usecs != priv->tx_usecs || in mlx4_en_set_coalesce()
1065 priv->tx_usecs = coal->tx_coalesce_usecs; in mlx4_en_set_coalesce()
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac.h587 unsigned int tx_usecs; member
/kernel/linux/linux-6.6/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac.h588 unsigned int tx_usecs; member
/kernel/linux/linux-6.6/tools/net/ynl/generated/
H A Dethtool-user.h2591 __u32 tx_usecs:1; member
2621 __u32 tx_usecs; member
2729 __u32 tx_usecs:1; member
2759 __u32 tx_usecs; member
2847 __u32 tx_usecs) in ethtool_coalesce_set_req_set_tx_usecs()
2849 req->_present.tx_usecs = 1; in ethtool_coalesce_set_req_set_tx_usecs()
2850 req->tx_usecs = tx_usecs; in ethtool_coalesce_set_req_set_tx_usecs()
2846 ethtool_coalesce_set_req_set_tx_usecs(struct ethtool_coalesce_set_req *req, __u32 tx_usecs) ethtool_coalesce_set_req_set_tx_usecs() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ae_adapt.c539 u32 *tx_usecs, u32 *rx_usecs) in hns_ae_get_coalesce_usecs()
544 *tx_usecs = hns_rcb_get_coalesce_usecs(ring_pair->rcb_common, in hns_ae_get_coalesce_usecs()
538 hns_ae_get_coalesce_usecs(struct hnae_handle *handle, u32 *tx_usecs, u32 *rx_usecs) hns_ae_get_coalesce_usecs() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h504 u32 *tx_usecs, u32 *rx_usecs);
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
H A Dxgbe.h1146 unsigned int tx_usecs; member

Completed in 68 milliseconds

12