/linux/net/ethtool/ |
A D | coalesce.c | 12 struct ethtool_coalesce coalesce; member 235 struct ethtool_coalesce coalesce = {}; in ethnl_set_coalesce() local 276 ethnl_update_u32(&coalesce.rx_coalesce_usecs, in ethnl_set_coalesce() 280 ethnl_update_u32(&coalesce.rx_coalesce_usecs_irq, in ethnl_set_coalesce() 284 ethnl_update_u32(&coalesce.tx_coalesce_usecs, in ethnl_set_coalesce() 288 ethnl_update_u32(&coalesce.tx_coalesce_usecs_irq, in ethnl_set_coalesce() 298 ethnl_update_u32(&coalesce.pkt_rate_low, in ethnl_set_coalesce() 300 ethnl_update_u32(&coalesce.rx_coalesce_usecs_low, in ethnl_set_coalesce() 304 ethnl_update_u32(&coalesce.tx_coalesce_usecs_low, in ethnl_set_coalesce() 308 ethnl_update_u32(&coalesce.pkt_rate_high, in ethnl_set_coalesce() [all …]
|
A D | ioctl.c | 1655 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_coalesce() 1667 if (coalesce->rx_coalesce_usecs) in ethtool_set_coalesce_supported() 1675 if (coalesce->tx_coalesce_usecs) in ethtool_set_coalesce_supported() 1689 if (coalesce->pkt_rate_low) in ethtool_set_coalesce_supported() 1699 if (coalesce->pkt_rate_high) in ethtool_set_coalesce_supported() 1719 struct ethtool_coalesce coalesce; in ethtool_set_coalesce() local 1730 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) in ethtool_set_coalesce() 2493 if (copy_to_user(useraddr, &coalesce, sizeof(coalesce))) in ethtool_get_per_queue_coalesce() 2495 useraddr += sizeof(coalesce); in ethtool_get_per_queue_coalesce() 2533 if (copy_from_user(&coalesce, useraddr, sizeof(coalesce))) { in ethtool_set_per_queue_coalesce() [all …]
|
A D | built-in.a | 17 coalesce.o/
|
A D | Makefile | 9 channels.o coalesce.o pause.o eee.o tsinfo.o cabletest.o \
|
A D | .built-in.a.cmd | 1 …tool/privflags.o net/ethtool/rings.o net/ethtool/channels.o net/ethtool/coalesce.o net/ethtool/pau…
|
A D | .coalesce.o.cmd | 1 …coalesce.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin… 3 source_net/ethtool/coalesce.o := net/ethtool/coalesce.c 5 deps_net/ethtool/coalesce.o := \ 1442 net/ethtool/coalesce.o: $(deps_net/ethtool/coalesce.o) 1444 $(deps_net/ethtool/coalesce.o):
|
/linux/drivers/net/ethernet/sfc/ |
A D | ethtool.c | 100 struct ethtool_coalesce *coalesce, in efx_ethtool_get_coalesce() argument 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() 112 coalesce->rx_coalesce_usecs = rx_usecs; in efx_ethtool_get_coalesce() 113 coalesce->rx_coalesce_usecs_irq = rx_usecs; in efx_ethtool_get_coalesce() 120 struct ethtool_coalesce *coalesce, in efx_ethtool_set_coalesce() argument 132 if (coalesce->rx_coalesce_usecs != rx_usecs) in efx_ethtool_set_coalesce() 133 rx_usecs = coalesce->rx_coalesce_usecs; in efx_ethtool_set_coalesce() 135 rx_usecs = coalesce->rx_coalesce_usecs_irq; in efx_ethtool_set_coalesce() 144 if (coalesce->tx_coalesce_usecs != tx_usecs) in efx_ethtool_set_coalesce() [all …]
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_ethtool.c | 408 struct ethtool_coalesce *coalesce, in ionic_get_coalesce() argument 414 coalesce->tx_coalesce_usecs = lif->tx_coalesce_usecs; in ionic_get_coalesce() 415 coalesce->rx_coalesce_usecs = lif->rx_coalesce_usecs; in ionic_get_coalesce() 420 coalesce->use_adaptive_tx_coalesce = 0; in ionic_get_coalesce() 428 struct ethtool_coalesce *coalesce, in ionic_set_coalesce() argument 448 coalesce->use_adaptive_tx_coalesce)) { in ionic_set_coalesce() 457 if (!rx_coal && coalesce->rx_coalesce_usecs) in ionic_set_coalesce() 460 if (!tx_coal && coalesce->tx_coalesce_usecs) in ionic_set_coalesce() 468 lif->rx_coalesce_usecs = coalesce->rx_coalesce_usecs; in ionic_set_coalesce() 477 if (coalesce->use_adaptive_rx_coalesce) { in ionic_set_coalesce() [all …]
|
/linux/drivers/net/ethernet/brocade/bna/ |
A D | bnad_ethtool.c | 311 struct ethtool_coalesce *coalesce, in bnad_get_coalesce() argument 320 coalesce->use_adaptive_rx_coalesce = in bnad_get_coalesce() 324 coalesce->rx_coalesce_usecs = bnad->rx_coalescing_timeo * in bnad_get_coalesce() 326 coalesce->tx_coalesce_usecs = bnad->tx_coalescing_timeo * in bnad_get_coalesce() 328 coalesce->tx_max_coalesced_frames = BFI_TX_INTERPKT_COUNT; in bnad_get_coalesce() 334 struct ethtool_coalesce *coalesce, in bnad_set_coalesce() argument 342 if (coalesce->rx_coalesce_usecs == 0 || in bnad_set_coalesce() 343 coalesce->rx_coalesce_usecs > in bnad_set_coalesce() 347 if (coalesce->tx_coalesce_usecs == 0 || in bnad_set_coalesce() 348 coalesce->tx_coalesce_usecs > in bnad_set_coalesce() [all …]
|
/linux/drivers/net/ethernet/sfc/falcon/ |
A D | ethtool.c | 580 struct ethtool_coalesce *coalesce, in ef4_ethtool_get_coalesce() argument 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() 592 coalesce->rx_coalesce_usecs = rx_usecs; in ef4_ethtool_get_coalesce() 593 coalesce->rx_coalesce_usecs_irq = rx_usecs; in ef4_ethtool_get_coalesce() 600 struct ethtool_coalesce *coalesce, in ef4_ethtool_set_coalesce() argument 612 if (coalesce->rx_coalesce_usecs != rx_usecs) in ef4_ethtool_set_coalesce() 613 rx_usecs = coalesce->rx_coalesce_usecs; in ef4_ethtool_set_coalesce() 615 rx_usecs = coalesce->rx_coalesce_usecs_irq; in ef4_ethtool_set_coalesce() 624 if (coalesce->tx_coalesce_usecs != tx_usecs) in ef4_ethtool_set_coalesce() [all …]
|
/linux/drivers/net/netdevsim/ |
A D | ethtool.c | 52 memcpy(coal, &ns->ethtool.coalesce, sizeof(ns->ethtool.coalesce)); in nsim_get_coalesce() 63 memcpy(&ns->ethtool.coalesce, coal, sizeof(ns->ethtool.coalesce)); in nsim_set_coalesce()
|
/linux/drivers/net/ethernet/amazon/ena/ |
A D | ena_ethtool.c | 360 struct ethtool_coalesce *coalesce, in ena_get_coalesce() argument 370 coalesce->tx_coalesce_usecs = in ena_get_coalesce() 374 coalesce->rx_coalesce_usecs = in ena_get_coalesce() 378 coalesce->use_adaptive_rx_coalesce = in ena_get_coalesce() 407 struct ethtool_coalesce *coalesce, in ena_set_coalesce() argument 419 coalesce->tx_coalesce_usecs); in ena_set_coalesce() 426 coalesce->rx_coalesce_usecs); in ena_set_coalesce() 432 if (coalesce->use_adaptive_rx_coalesce && in ena_set_coalesce() 436 if (!coalesce->use_adaptive_rx_coalesce && in ena_set_coalesce()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_lib.c | 3166 coalesce[i].intrl = q_vector->intrl; in ice_vsi_rebuild_get_coalesce() 3169 coalesce[i].tx_valid = true; in ice_vsi_rebuild_get_coalesce() 3171 coalesce[i].rx_valid = true; in ice_vsi_rebuild_get_coalesce() 3194 if ((size && !coalesce) || !vsi) in ice_vsi_rebuild_set_coalesce() 3249 rc->itr_setting = coalesce[0].itr_tx; in ice_vsi_rebuild_set_coalesce() 3254 rc->itr_setting = coalesce[0].itr_rx; in ice_vsi_rebuild_set_coalesce() 3272 struct ice_coalesce_stored *coalesce; in ice_vsi_rebuild() local 3288 coalesce = kcalloc(vsi->num_q_vectors, in ice_vsi_rebuild() 3290 if (!coalesce) in ice_vsi_rebuild() 3440 kfree(coalesce); in ice_vsi_rebuild() [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_l2.h | 416 u16 coalesce, struct qed_queue_cid *p_cid); 420 u16 coalesce, struct qed_queue_cid *p_cid);
|
A D | qed_l2.c | 2086 u32 coalesce, address, is_valid; in qed_get_rxq_coalesce() local 2104 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_rxq_coalesce() 2106 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_rxq_coalesce() 2110 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_rxq_coalesce() 2111 *p_rx_coal = (u16)(coalesce << timer_res); in qed_get_rxq_coalesce() 2120 u32 coalesce, address, is_valid; in qed_get_txq_coalesce() local 2138 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_txq_coalesce() 2140 is_valid = GET_FIELD(coalesce, COALESCING_TIMESET_VALID); in qed_get_txq_coalesce() 2144 coalesce = GET_FIELD(coalesce, COALESCING_TIMESET_TIMESET); in qed_get_txq_coalesce() 2145 *p_tx_coal = (u16)(coalesce << timer_res); in qed_get_txq_coalesce()
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
A D | ethtool-coalesce.sh | 20 if ! ethtool -h | grep -q coalesce; then
|
/linux/arch/um/drivers/ |
A D | vector_kern.h | 106 int coalesce; member
|
A D | vector_kern.c | 1099 mod_timer(&vp->tl, vp->coalesce); in vector_net_start_xmit() 1497 ec->tx_coalesce_usecs = (vp->coalesce * 1000000) / HZ; in vector_get_coalesce() 1508 vp->coalesce = (ec->tx_coalesce_usecs * HZ) / 1000000; in vector_set_coalesce() 1509 if (vp->coalesce == 0) in vector_set_coalesce() 1510 vp->coalesce = 1; in vector_set_coalesce() 1628 .coalesce = 2, in vector_eth_configure()
|
/linux/Documentation/devicetree/bindings/i2c/ |
A D | mellanox,i2c-mlxbf.yaml | 27 - description: Cause coalesce registers
|
/linux/net/wireless/ |
A D | core.c | 752 if (WARN_ON(wiphy->coalesce && in wiphy_register() 753 (!wiphy->coalesce->n_rules || in wiphy_register() 754 !wiphy->coalesce->n_patterns) && in wiphy_register() 755 (!wiphy->coalesce->pattern_min_len || in wiphy_register() 756 wiphy->coalesce->pattern_min_len > in wiphy_register() 757 wiphy->coalesce->pattern_max_len))) in wiphy_register()
|
/linux/drivers/scsi/bfa/ |
A D | bfa_core.c | 1022 cfg_info->intr_attr.coalesce = BFA_TRUE; in bfa_iocfc_send_cfg() 1612 attr->intr_attr.coalesce = iocfc->cfginfo->intr_attr.coalesce; in bfa_iocfc_get_attr() 1631 iocfc->cfginfo->intr_attr.coalesce = attr->coalesce; in bfa_iocfc_israttr_set() 1644 m->coalesce = iocfc->cfginfo->intr_attr.coalesce; in bfa_iocfc_israttr_set()
|
/linux/drivers/i2c/busses/ |
A D | i2c-mlxbf.c | 429 struct mlxbf_i2c_resource *coalesce; member 1703 priv->coalesce = coalesce_res; in mlxbf_i2c_init_coalesce() 1719 priv->coalesce = coalesce_res; in mlxbf_i2c_init_coalesce() 1722 ret = mlxbf_i2c_init_resource(pdev, &priv->coalesce, in mlxbf_i2c_init_coalesce() 1737 coalesce_res = priv->coalesce; in mlxbf_i2c_release_coalesce() 1804 coalesce0_reg = readl(priv->coalesce->io + MLXBF_I2C_CAUSE_COALESCE_0); in mlxbf_i2c_has_coalesce()
|
/linux/drivers/net/ethernet/apm/xgene/ |
A D | xgene_enet_ring2.c | 202 .coalesce = xgene_enet_setup_coalescing,
|
A D | xgene_enet_main.h | 175 void (*coalesce)(struct xgene_enet_desc_ring *); member
|
/linux/drivers/net/ethernet/dlink/ |
A D | dl2k.h | 387 unsigned int coalesce:1; /* Rx coalescing enable */ member
|