Documented in 1 files:
Defined in 1 files as a function:
Referenced in 21 files:
- drivers/net/ethernet/amazon/ena/ena_netdev.c, line 1370
- drivers/net/ethernet/broadcom/bcmsysport.c, line 1020
- drivers/net/ethernet/broadcom/bnxt/bnxt.c
- drivers/net/ethernet/broadcom/genet/bcmgenet.c, line 2478
- drivers/net/ethernet/freescale/enetc/enetc.c, line 1120
- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
- drivers/net/ethernet/huawei/hinic3/hinic3_irq.c, line 26
- drivers/net/ethernet/intel/ice/ice_txrx.c, line 1120
- drivers/net/ethernet/intel/idpf/idpf_txrx.c, line 3941
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c, line 558
- drivers/net/ethernet/mediatek/mtk_eth_soc.c
- drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c
- drivers/net/ethernet/microsoft/mana/mana_en.c
- drivers/net/ethernet/netronome/nfp/nfd3/dp.c
- drivers/net/ethernet/netronome/nfp/nfdk/dp.c
- drivers/net/ethernet/pensando/ionic/ionic_txrx.c, line 932
- drivers/net/ethernet/wangxun/libwx/wx_lib.c
- drivers/net/virtio_net.c, line 2995
- drivers/soc/fsl/dpio/dpio-service.c, line 893
- include/linux/dim.h, line 387
- lib/dim/net_dim.c, line 371
Smatch caller information:
drivers/net/ethernet/freescale/enetc/enetc.c enetc_rx_net_dim() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 3439516514011541504 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/soc/fsl/dpio/dpio-service.c dpaa2_io_update_net_dim() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 856345012362977280 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &d->dim_lock | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct dpaa2_io)->dim_lock |
drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c mlx5e_handle_rx_dim() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 2526424511706341376 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c mlx5e_handle_tx_dim() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 3913563573322403840 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_poll_tx() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 6548114522378461184 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfd3/dp.c nfp_nfd3_poll() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 6894203735996858368 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfd3/dp.c nfp_nfd3_poll() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 6894203735996858368 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfdk/dp.c nfp_nfdk_poll() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 6735459579165392896 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfdk/dp.c nfp_nfdk_poll() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 6735459579165392896 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/microsoft/mana/mana_en.c mana_update_rx_dim() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 880823086383558656 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/microsoft/mana/mana_en.c mana_update_tx_dim() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 5462323333591920640 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_poll() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 1858281048696877056 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_poll_p5() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 7458809297927680000 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_update_rx_int_coalesce() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 1136608317743468544 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_update_tx_int_coalesce() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 5284197206213459968 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
lib/dim/rdma_dim.c dim_update_sample_with_comps() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | packets | 0 |
| PARAM_VALUE | 2 | bytes | 0 |
| PARAM_VALUE | 3 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | event_ctr | $0 |
| DATA_SOURCE | 1 | packets | $1 |
| DATA_SOURCE | 2 | bytes | $2 |
| DATA_SOURCE | 3 | s | $4 |
| NOCHECK_CALL |
drivers/net/ethernet/huawei/hinic3/hinic3_irq.c hinic3_net_dim() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 415385202407636992 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/ice/ice_txrx.c __ice_update_sample() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 4530083490418335744 |
| DATA_SOURCE | 3 | s | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
lib/dim/net_dim.c net_dim() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | bytes | |
| HALF_LOCKED2 | &d->dim_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/amazon/ena/ena_netdev.c ena_adjust_adaptive_rx_intr_moderation() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 4740790450827620352 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_update_rx_dim_sample() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 4621918500658937856 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_update_tx_dim_sample() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 4624681176243613696 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c otx2_adjust_adaptive_coalese() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 767087527865520128 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/virtio_net.c virtnet_rx_dim_update() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 3400615120425889792 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_rx_poll() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | packets | 0-u32max |
| PARAM_VALUE | 2 | bytes | 0-u32max |
| PARAM_VALUE | 3 | s | 400681808170983424 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/pensando/ionic/ionic_txrx.c ionic_dim_update() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 5791129666362163200 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/broadcom/bcmsysport.c bcm_sysport_poll() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | packets | 0-u32max |
| PARAM_VALUE | 2 | bytes | 0-4076,65526-u32max |
| PARAM_VALUE | 3 | s | 5301104913955823616 |
| PARAM_VALUE | 3 | s->byte_ctr | 0 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| PARAM_VALUE | 3 | s->event_ctr | 0 |
| PARAM_VALUE | 3 | s->pkt_ctr | 0 |
| PARAM_VALUE | 3 | s->time | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_update_dim_sample() -> dim_update_sample()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | s | 2495946360637444096 |
| PARAM_VALUE | 3 | s->comp_ctr | 0 |
| DATA_SOURCE | 1 | packets | $3 |
| DATA_SOURCE | 2 | bytes | $4 |
| DATA_SOURCE | 3 | s | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |