Defined in 2 files as a function:
- drivers/net/ethernet/sfc/filter.h, line 178 (as a function)
- drivers/net/ethernet/sfc/siena/filter.h, line 178 (as a function)
Referenced in 9 files:
- drivers/net/ethernet/sfc/ethtool_common.c, line 952
- drivers/net/ethernet/sfc/mcdi_filters.c
- drivers/net/ethernet/sfc/ptp.c, line 1247
- drivers/net/ethernet/sfc/rx_common.c, line 936
- drivers/net/ethernet/sfc/siena/ethtool_common.c, line 943
- drivers/net/ethernet/sfc/siena/ptp.c
- drivers/net/ethernet/sfc/siena/rx_common.c, line 927
- drivers/net/ethernet/sfc/siena/siena_sriov.c, line 365
- drivers/net/ethernet/sfc/tc.c
Smatch caller information:
drivers/net/ethernet/sfc/ethtool_common.c efx_ethtool_set_class_rule() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 3328408795372498944 |
| PARAM_VALUE | 1 | priority | 2 |
| PARAM_VALUE | 2 | flags | 0-3 |
| PARAM_VALUE | 3 | rxq_id | 0-4294967294 |
| CAPPED_DATA | 3 | rxq_id | 1 |
| FUZZY_MAX | 2 | flags | 0 |
| FUZZY_MAX | 3 | rxq_id | 4095 |
| NOCHECK_CALL | |||
| USER_DATA | 3 | rxq_id | 0-s32max[c] |
| UNITS | 3 | rxq_id | unit_array_size |
drivers/net/ethernet/sfc/tc.c efx_tc_insert_rep_filters() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 5520322513357103104 |
| PARAM_VALUE | 1 | priority | 3 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | rxq_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &efx->mac_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/tc.c efx_tc_insert_rep_filters() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 3457002053672300544 |
| PARAM_VALUE | 1 | priority | 3 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | rxq_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &efx->mac_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/siena/siena_sriov.c efx_siena_sriov_reset_rx_filter() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 5071720196919922688 |
| PARAM_VALUE | 1 | priority | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &vf->status_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/siena/ptp.c efx_ptp_insert_multicast_filters() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 8318860367481982976 |
| PARAM_VALUE | 1 | priority | 3 |
| PARAM_VALUE | 2 | flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/sfc/siena/ptp.c efx_ptp_insert_multicast_filters() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 8318860367481982976 |
| PARAM_VALUE | 0 | spec->encap_type | 0 |
| PARAM_VALUE | 0 | spec->ether_type | 2048 |
| PARAM_VALUE | 0 | spec->flags | 8 |
| PARAM_VALUE | 0 | spec->inner_vid | 0 |
| PARAM_VALUE | 0 | spec->ip_proto | 17 |
| PARAM_VALUE | 0 | spec->loc_port | 319 |
| PARAM_VALUE | 0 | spec->match_flags | 610 |
| PARAM_VALUE | 0 | spec->outer_vid | 0 |
| PARAM_VALUE | 0 | spec->priority | 3 |
| PARAM_VALUE | 0 | spec->rem_port | 0 |
| PARAM_VALUE | 0 | spec->rss_context | 0 |
| PARAM_VALUE | 1 | priority | 3 |
| PARAM_VALUE | 2 | flags | 0 |
| MEM_ZERO | 0 | spec | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/sfc/ptp.c efx_ptp_init_filter() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 1853992591471779840,1890423528624537600,4188804330542698496 |
| PARAM_VALUE | 1 | priority | 3 |
| PARAM_VALUE | 2 | flags | 0 |
| DATA_SOURCE | 0 | spec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/sfc/siena/ethtool_common.c efx_ethtool_set_class_rule() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 6223677244507824128 |
| PARAM_VALUE | 1 | priority | 2 |
| PARAM_VALUE | 2 | flags | 0-3 |
| PARAM_VALUE | 3 | rxq_id | 0-4294967294 |
| CAPPED_DATA | 3 | rxq_id | 1 |
| FUZZY_MAX | 2 | flags | 0 |
| FUZZY_MAX | 3 | rxq_id | 4095 |
| NOCHECK_CALL | |||
| USER_DATA | 3 | rxq_id | 0-s32max[c] |
| UNITS | 3 | rxq_id | unit_array_size |
drivers/net/ethernet/sfc/rx_common.c efx_filter_rfs() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 4096-ptr_max |
| PARAM_VALUE | 1 | priority | 0 |
| PARAM_VALUE | 2 | flags | 0,2 |
| DATA_SOURCE | 3 | rxq_id | $2 |
| FUZZY_MAX | 2 | flags | 2 |
| BIT_INFO | 2 | flags | 0x0,0x2 |
| HARD_MAX | 2 | flags | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/sfc/mcdi_filters.c efx_mcdi_filter_insert_addr_list() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 1348227764951592960 |
| PARAM_VALUE | 1 | priority | 1 |
| PARAM_VALUE | 2 | flags | 0-1 |
| PARAM_VALUE | 3 | rxq_id | 0 |
| FUZZY_MAX | 2 | flags | 1 |
| HARD_MAX | 2 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | spec->outer_vid | 1-4094 |
| LOCK2 | &efx->filter_sem | ||
| HALF_LOCKED2 | &efx->mac_lock | ||
| TYPE_LOCK | (struct efx_nic)->filter_sem |
drivers/net/ethernet/sfc/mcdi_filters.c efx_mcdi_filter_insert_addr_list() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 1348227764951592960 |
| PARAM_VALUE | 1 | priority | 1 |
| PARAM_VALUE | 2 | flags | 0-1 |
| PARAM_VALUE | 3 | rxq_id | 0 |
| FUZZY_MAX | 2 | flags | 1 |
| HARD_MAX | 2 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | spec->outer_vid | 1-4094 |
| LOCK2 | &efx->filter_sem | ||
| HALF_LOCKED2 | &efx->mac_lock | ||
| TYPE_LOCK | (struct efx_nic)->filter_sem |
drivers/net/ethernet/sfc/mcdi_filters.c efx_mcdi_filter_insert_def() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 3705315640188710912 |
| PARAM_VALUE | 1 | priority | 1 |
| PARAM_VALUE | 2 | flags | 0-1 |
| PARAM_VALUE | 3 | rxq_id | 0 |
| FUZZY_MAX | 2 | flags | 1 |
| HARD_MAX | 2 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &efx->filter_sem | ||
| HALF_LOCKED2 | &efx->mac_lock | ||
| TYPE_LOCK | (struct efx_nic)->filter_sem |
drivers/net/ethernet/sfc/mcdi_filters.c efx_mcdi_filter_insert_def() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 3705315640188710912 |
| PARAM_VALUE | 0 | spec->dmaq_id | 0 |
| PARAM_VALUE | 0 | spec->encap_type | 0 |
| PARAM_VALUE | 0 | spec->ether_type | 0 |
| PARAM_VALUE | 0 | spec->flags | 8-9 |
| PARAM_VALUE | 0 | spec->inner_vid | 0 |
| PARAM_VALUE | 0 | spec->ip_proto | 0 |
| PARAM_VALUE | 0 | spec->loc_port | 0 |
| PARAM_VALUE | 0 | spec->match_flags | 1024,1280,3328 |
| PARAM_VALUE | 0 | spec->outer_vid | 0-65534 |
| PARAM_VALUE | 0 | spec->priority | 1 |
| PARAM_VALUE | 0 | spec->rem_port | 0 |
| PARAM_VALUE | 0 | spec->rss_context | 0 |
| PARAM_VALUE | 0 | spec->vport_id | 0 |
| PARAM_VALUE | 1 | priority | 1 |
| PARAM_VALUE | 2 | flags | 0-1 |
| PARAM_VALUE | 3 | rxq_id | 0 |
| FUZZY_MAX | 2 | flags | 1 |
| HARD_MAX | 2 | flags | 1 |
| MEM_ZERO | 0 | spec | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | spec->outer_vid | 1-4094 |
| LOCK2 | &efx->filter_sem | ||
| HALF_LOCKED2 | &efx->mac_lock | ||
| TYPE_LOCK | (struct efx_nic)->filter_sem |
drivers/net/ethernet/sfc/siena/rx_common.c efx_siena_filter_rfs() -> efx_filter_init_rx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spec | 4096-ptr_max |
| PARAM_VALUE | 1 | priority | 0 |
| PARAM_VALUE | 2 | flags | 0,2 |
| DATA_SOURCE | 3 | rxq_id | $2 |
| FUZZY_MAX | 2 | flags | 2 |
| BIT_INFO | 2 | flags | 0x0,0x2 |
| HARD_MAX | 2 | flags | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |