Defined in 2 files as a function:
- drivers/net/ethernet/sfc/net_driver.h, line 1691 (as a function)
- drivers/net/ethernet/sfc/siena/net_driver.h, line 1574 (as a function)
Referenced in 12 files:
- drivers/net/ethernet/sfc/ef10.c
- drivers/net/ethernet/sfc/ef100_rx.c
- drivers/net/ethernet/sfc/mae.c
- drivers/net/ethernet/sfc/mcdi_functions.c
- drivers/net/ethernet/sfc/ptp.c, line 1248
- drivers/net/ethernet/sfc/rx.c
- drivers/net/ethernet/sfc/rx_common.c
- drivers/net/ethernet/sfc/siena/farch.c
- drivers/net/ethernet/sfc/siena/mcdi.c, line 1996
- drivers/net/ethernet/sfc/siena/ptp.c
- drivers/net/ethernet/sfc/siena/rx.c
- drivers/net/ethernet/sfc/siena/rx_common.c
Smatch caller information:
drivers/net/ethernet/sfc/siena/mcdi.c efx_siena_mcdi_flush_rxqs() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/ef10.c efx_ef10_handle_rx_event() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | r efx_channel_get_rx_queue |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/ef10.c efx_ef10_handle_rx_wrong_queue() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/ef10.c efx_ef10_rx_write() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| CAPPED_DATA | 0 | rx_queue->fast_fill_trigger | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/rx.c efx_rx_packet__check_len() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/ef100_rx.c ef100_rx_write() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| CAPPED_DATA | 0 | rx_queue->added_count | 1 |
| CAPPED_DATA | 0 | rx_queue->fast_fill_trigger | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| PARAM_COMPARE | 0 | rx_queue->added_count | > $0->notified_count |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/mae.c efx_mae_start_counters() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/mae.c efx_mae_stop_counters() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/siena/ptp.c efx_ptp_insert_multicast_filters() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/ptp.c efx_ptp_insert_multicast_filters() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/ptp.c efx_ptp_init_filter() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | r efx_channel_get_rx_queue |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/sfc/rx_common.c efx_fini_rx_queue() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/rx_common.c efx_init_rx_queue() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->tx_queue_len | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/rx_common.c efx_probe_rx_queue() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/rx_common.c efx_remove_rx_queue() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/mcdi_functions.c efx_mcdi_rx_fini() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/mcdi_functions.c efx_mcdi_rx_init() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->tx_queue_len | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/mcdi_functions.c efx_mcdi_rx_init() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->tx_queue_len | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/mcdi_functions.c efx_mcdi_rx_init() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->tx_queue_len | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/mcdi_functions.c efx_mcdi_rx_init() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->tx_queue_len | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/mcdi_functions.c efx_mcdi_rx_init() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->tx_queue_len | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/rx.c efx_rx_packet__check_len() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | (-1),448 |
| BUF_SIZE | 0 | rx_queue | (-1),448 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/siena/farch.c efx_farch_flush_rx_queue() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/siena/farch.c efx_farch_handle_generated_event() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/siena/farch.c efx_farch_handle_generated_event() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/siena/farch.c efx_farch_handle_rx_flush_done() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| DATA_SOURCE | 0 | rx_queue | r efx_channel_get_rx_queue |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/siena/farch.c efx_farch_rx_defer_refill() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/farch.c efx_farch_rx_fini() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/siena/farch.c efx_farch_rx_init() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->tx_queue_len | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/siena/farch.c efx_farch_rx_init() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| CAPPED_DATA | 0 | rx_queue->rxd.entries | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->tx_queue_len | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/siena/farch.c efx_farch_rx_init() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| CAPPED_DATA | 0 | rx_queue->rxd.entries | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->tx_queue_len | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/siena/farch.c efx_farch_rx_write() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| CAPPED_DATA | 0 | rx_queue->added_count | 1 |
| CAPPED_DATA | 0 | rx_queue->fast_fill_trigger | 1 |
| CAPPED_DATA | 0 | rx_queue->notified_count | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| PARAM_COMPARE | 0 | rx_queue->added_count | == $0->notified_count |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/rx_common.c efx_siena_fini_rx_queue() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/siena/rx_common.c efx_siena_init_rx_queue() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->tx_queue_len | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/siena/rx_common.c efx_siena_probe_rx_queue() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/rx_common.c efx_siena_remove_rx_queue() -> efx_rx_queue_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |