Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 21 files:
- drivers/net/ethernet/amazon/ena/ena_netdev.c, line 1375
- drivers/net/ethernet/broadcom/bcmsysport.c, line 1022
- drivers/net/ethernet/broadcom/bnxt/bnxt.c
- drivers/net/ethernet/broadcom/genet/bcmgenet.c, line 2480
- drivers/net/ethernet/freescale/enetc/enetc.c, line 1124
- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
- drivers/net/ethernet/huawei/hinic3/hinic3_irq.c, line 28
- drivers/net/ethernet/intel/ice/ice_txrx.c
- drivers/net/ethernet/intel/idpf/idpf_txrx.c
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c, line 562
- 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 935
- drivers/net/ethernet/wangxun/libwx/wx_lib.c
- drivers/net/ethernet/xilinx/xilinx_axienet_main.c, line 1314
- drivers/net/virtio_net.c, line 3000
- drivers/soc/fsl/dpio/dpio-service.c, line 894
- lib/dim/net_dim.c, line 379
Smatch caller information:
drivers/net/ethernet/freescale/enetc/enetc.c enetc_rx_net_dim() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 3439516514011541504 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 856345012362977280 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | end_sample | 2526424511706341376 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | end_sample | 3913563573322403840 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_rx_poll() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 5760681100069076992 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_poll_tx() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 6548114522378461184 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfd3/dp.c nfp_nfd3_poll() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 6894203735996858368 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfd3/dp.c nfp_nfd3_poll() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 6894203735996858368 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfdk/dp.c nfp_nfdk_poll() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 6735459579165392896 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfdk/dp.c nfp_nfdk_poll() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 6735459579165392896 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/microsoft/mana/mana_en.c mana_update_rx_dim() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 880823086383558656 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 5462323333591920640 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 1858281048696877056 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 7458809297927680000 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 1136608317743468544 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 5284197206213459968 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/huawei/hinic3/hinic3_irq.c hinic3_net_dim() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 415385202407636992 |
| PARAM_VALUE | 1 | end_sample->byte_ctr | 0 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| PARAM_VALUE | 1 | end_sample->pkt_ctr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/ice/ice_txrx.c ice_net_dim() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 0 | dim->state | 0 |
| PARAM_VALUE | 1 | end_sample | 4530083490418335744 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/ice/ice_txrx.c ice_net_dim() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 0 | dim->state | 0 |
| PARAM_VALUE | 1 | end_sample | 4530083490418335744 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/amazon/ena/ena_netdev.c ena_adjust_adaptive_rx_intr_moderation() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 4621918500658937856 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/ethernet/wangxun/libwx/wx_lib.c wx_update_tx_dim_sample() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 4624681176243613696 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c otx2_adjust_adaptive_coalese() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 767087527865520128 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 3400615120425889792 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 400681808170983424 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 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() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 5791129666362163200 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/broadcom/bcmsysport.c bcm_sysport_poll() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 1 | end_sample | 5301104913955823616 |
| PARAM_VALUE | 1 | end_sample->byte_ctr | 0-4076,65526-u32max |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_net_dim() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 0 | dim->state | 0 |
| PARAM_VALUE | 1 | end_sample | 2495946360637444096 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_net_dim() -> net_dim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dim | 4096-ptr_max |
| PARAM_VALUE | 0 | dim->state | 0 |
| PARAM_VALUE | 1 | end_sample | 2495946360637444096 |
| PARAM_VALUE | 1 | end_sample->comp_ctr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |