Documented in 2 files:
- drivers/net/ethernet/sfc/net_driver.h, line 323
- drivers/net/ethernet/sfc/siena/net_driver.h, line 312
Defined in 2 files as a struct:
- drivers/net/ethernet/sfc/net_driver.h, line 335 (as a struct)
- drivers/net/ethernet/sfc/siena/net_driver.h, line 324 (as a struct)
Defined in 2 files as a function:
- drivers/net/ethernet/sfc/net_driver.h, line 1699 (as a function)
- drivers/net/ethernet/sfc/siena/net_driver.h, line 1582 (as a function)
Referenced in 13 files:
- drivers/net/ethernet/sfc/ef10.c
- drivers/net/ethernet/sfc/ef100_rep.c, line 432
- drivers/net/ethernet/sfc/ef100_rep.h, line 67
- drivers/net/ethernet/sfc/ef100_rx.c
- drivers/net/ethernet/sfc/net_driver.h
- drivers/net/ethernet/sfc/rx.c
- drivers/net/ethernet/sfc/rx_common.c
- drivers/net/ethernet/sfc/rx_common.h
- drivers/net/ethernet/sfc/siena/net_driver.h
- drivers/net/ethernet/sfc/siena/rx.c
- drivers/net/ethernet/sfc/siena/rx_common.c
- drivers/net/ethernet/sfc/siena/rx_common.h
- drivers/net/ethernet/sfc/tc_counters.c
Smatch caller information:
drivers/net/ethernet/sfc/ef10.c efx_ef10_build_rx_desc() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| CAPPED_DATA | 0 | rx_queue->fast_fill_trigger | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->proto_down |
drivers/net/ethernet/sfc/siena/rx.c __efx_siena_rx_packet() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/siena/rx.c efx_rx_buf_next() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | (-1),320 |
| BUF_SIZE | 0 | rx_queue | (-1),320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/rx.c efx_rx_buf_next() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | rx_queue | (-1),320 |
| BUF_SIZE | 0 | rx_queue | (-1),320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/rx.c efx_siena_rx_packet() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/siena/rx.c efx_siena_rx_packet() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| DATA_SOURCE | 1 | index | $1 |
| 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_packet() -> efx_rx_buffer()
| 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/ef100_rx.c ef100_rx_packet() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| DATA_SOURCE | 1 | index | $1 |
| 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_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| CAPPED_DATA | 0 | rx_queue->fast_fill_trigger | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/tc_counters.c efx_tc_rx() -> efx_rx_buffer()
| 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 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/rx_common.c efx_fini_rx_queue() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | rx_queue->buffer | 1-u64max |
| PARAM_VALUE | 1 | index | 0-4294967294 |
| BUF_SIZE | 0 | rx_queue | 448 |
| CAPPED_DATA | 0 | &rx_queue->slow_fill | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| BIT_INFO | 1 | index | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/rx_common.c efx_init_rx_buffers() -> efx_rx_buffer()
| 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 |
| CAPPED_DATA | 0 | rx_queue->min_fill | 1 |
| CAPPED_DATA | 1 | index | 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 |
drivers/net/ethernet/sfc/rx_common.c efx_rx_buf_next() -> efx_rx_buffer()
| 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 |
drivers/net/ethernet/sfc/rx_common.c efx_rx_buf_next() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| 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 |
drivers/net/ethernet/sfc/rx.c __efx_rx_packet() -> efx_rx_buffer()
| 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/rx.c efx_rx_buf_next() -> efx_rx_buffer()
| 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 |
drivers/net/ethernet/sfc/rx.c efx_rx_buf_next() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| 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 |
drivers/net/ethernet/sfc/rx.c efx_rx_packet() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/rx.c efx_rx_packet() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 448 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| DATA_SOURCE | 1 | index | $1 |
| 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_build_rx_desc() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| CAPPED_DATA | 0 | rx_queue->fast_fill_trigger | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rx_queue->xdp_rxq_info.dev->proto_down |
drivers/net/ethernet/sfc/siena/rx_common.c efx_init_rx_buffers() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | 320 |
| CAPPED_DATA | 0 | rx_queue->min_fill | 1 |
| CAPPED_DATA | 1 | index | 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 |
drivers/net/ethernet/sfc/siena/rx_common.c efx_rx_buf_next() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| BUF_SIZE | 0 | rx_queue | (-1),320 |
| BUF_SIZE | 0 | rx_queue | (-1),320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/rx_common.c efx_rx_buf_next() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0 |
| BUF_SIZE | 0 | rx_queue | (-1),320 |
| BUF_SIZE | 0 | rx_queue | (-1),320 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/siena/rx_common.c efx_siena_fini_rx_queue() -> efx_rx_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rx_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | rx_queue->buffer | 1-u64max |
| PARAM_VALUE | 1 | index | 0-4294967294 |
| BUF_SIZE | 0 | rx_queue | 320 |
| CAPPED_DATA | 0 | &rx_queue->slow_fill | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | rx_queue | $0 |
| BIT_INFO | 1 | index | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |