Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/net/dsa/bcm_sf2_cfp.c, line 400
- drivers/net/dsa/yt921x.c, line 1969
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c, line 97
- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_fd.c, line 2269
- drivers/net/ethernet/intel/ice/ice_tc_lib.c, line 1884
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c, line 753
- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c, line 551
- drivers/net/ethernet/microchip/vcap/vcap_tc.c, line 394
- drivers/net/ethernet/netronome/nfp/flower/conntrack.c
- drivers/net/ethernet/netronome/nfp/flower/match.c, line 224
- net/core/flow_offload.c, line 124
Smatch caller information:
drivers/net/ethernet/sfc/tc.c efx_tc_flower_parse_match() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 6517914244384018432 |
| DATA_SOURCE | 0 | rule | $1 |
| NOCHECK_CALL |
drivers/net/ethernet/sfc/tc.c efx_tc_flower_parse_match() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 6517914244384018432 |
| DATA_SOURCE | 0 | rule | $1 |
| NOCHECK_CALL |
drivers/net/ethernet/microchip/vcap/vcap_tc.c vcap_tc_flower_handler_ip_usage() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 2945487497217019904 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c dpaa2_switch_flower_parse_key() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 6247427015524253696 |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/intel/ice/ice_tc_lib.c ice_parse_cls_flower() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 624374894924312576 |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c otx2_tc_prepare_flow() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 2291797510968905728 |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c __parse_cls_flower() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 530186898076495872 |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_tc_verify_tunnel_ecn() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 1572509132079804416 |
| BUF_SIZE | 0 | rule | (-1),4-s32max |
| BUF_SIZE | 0 | rule | (-1),4-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c cxgb4_process_flow_match() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 1047969729009418240 |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| CAPPED_DATA | 0 | rule->action.num_entries | 1 |
| DATA_SOURCE | 0 | rule | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c cxgb4_validate_flow_match() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 4845283459635466240 |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| CAPPED_DATA | 0 | rule->action.num_entries | 1 |
| DATA_SOURCE | 0 | rule | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/dsa/yt921x.c yt921x_acl_rule_ext_parse_flow_entries() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 8576385360606224384 |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/netronome/nfp/flower/match.c nfp_flower_compile_ip_ext() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 1940205516780232704 |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| DATA_SOURCE | 0 | rule | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &priv->nfp_fl_lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c mlxsw_sp_flower_parse_ip() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 8312846454220304384 |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_ipv4_rule_set() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 4317560531867750400 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &priv->cfp.lock |
drivers/net/ethernet/netronome/nfp/flower/conntrack.c get_mangled_tos_ttl() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 7284998752553975808 |
| DATA_SOURCE | 0 | rule | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/flower/conntrack.c nfp_ct_merge_check() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 3896247515344297984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/flower/conntrack.c nfp_ct_merge_check() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 1961201572698566656 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_fd.c hclge_get_cls_key_ip_tos() -> flow_rule_match_ip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rule | 4096-ptr_max |
| PARAM_VALUE | 0 | rule->match.dissector | 4096-ptr_max |
| PARAM_VALUE | 1 | out | 4831823066926469120 |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| BUF_SIZE | 0 | rule | (-1),32-s32max |
| DATA_SOURCE | 0 | rule | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |