Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 25 files:
- drivers/net/ethernet/broadcom/bnxt/bnxt.c, line 15761
- drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c, line 177
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c, line 3710
- drivers/net/ethernet/freescale/enetc/enetc_qos.c, line 1634
- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c, line 2728
- drivers/net/ethernet/intel/i40e/i40e_main.c, line 8994
- drivers/net/ethernet/intel/iavf/iavf_main.c, line 4387
- drivers/net/ethernet/intel/ice/ice_main.c, line 9430
- drivers/net/ethernet/intel/ice/ice_repr.c, line 257
- drivers/net/ethernet/intel/igb/igb_main.c, line 2876
- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c, line 10466
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c, line 1599
- drivers/net/ethernet/marvell/octeontx2/nic/rep.c, line 139
- drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c, line 4023
- drivers/net/ethernet/microchip/lan966x/lan966x_tc.c, line 115
- drivers/net/ethernet/microchip/sparx5/sparx5_tc.c, line 59
- drivers/net/ethernet/netronome/nfp/abm/cls.c, line 270
- drivers/net/ethernet/netronome/nfp/bpf/main.c, line 172
- drivers/net/ethernet/qlogic/qede/qede_main.c, line 678
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c, line 6430
- drivers/net/ethernet/ti/am65-cpsw-qos.c, line 1197
- drivers/net/ethernet/ti/cpsw_priv.c, line 1583
- drivers/net/netdevsim/tc.c, line 87
- net/core/flow_offload.c, line 373
Smatch caller information:
drivers/net/ethernet/netronome/nfp/bpf/main.c nfp_bpf_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | driver_block_list | 5309755547049037824 |
| PARAM_VALUE | 2 | cb | 412533484240277504 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| BUF_SIZE | 0 | f | (-1),8,12,16,24,32,48,64,80,176,368,480,720 |
| DATA_SOURCE | 0 | f | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/marvell/octeontx2/nic/rep.c rvu_rep_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 3302368185995390976 |
| PARAM_VALUE | 2 | cb | 6365121477277470720 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/netdevsim/tc.c nsim_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 9039785427223064576 |
| PARAM_VALUE | 2 | cb | 700650906144362496 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c mlx5e_rep_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | driver_block_list | 3341533893949366272 |
| PARAM_VALUE | 2 | cb | 7711529541702471680 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c mlx5e_rep_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 1 | driver_block_list | 9009376275342053376 |
| PARAM_VALUE | 2 | cb | 8666558838001860608 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c bnxt_vf_rep_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 883888027934556160 |
| PARAM_VALUE | 2 | cb | 631248278822019072 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/netronome/nfp/abm/cls.c nfp_abm_setup_cls_block() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | driver_block_list | 4648825195883429888 |
| PARAM_VALUE | 2 | cb | 545235788055965696 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| BUF_SIZE | 0 | f | (-1),8,12,16,24,32,48,64,80,176,368,480,720 |
| BUF_SIZE | 0 | f | (-1),8,12,16,24,32,48,64,80,176,368,480,720 |
| DATA_SOURCE | 0 | f | $2 |
| DATA_SOURCE | 3 | cb_ident | $1 |
| DATA_SOURCE | 4 | cb_priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/freescale/enetc/enetc_qos.c enetc_setup_tc_psfp() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 9132899171965014016 |
| PARAM_VALUE | 2 | cb | 8337136723336990720 |
| PARAM_VALUE | 3 | cb_ident | 4096-ptr_max |
| PARAM_VALUE | 4 | cb_priv | 4096-ptr_max |
| PARAM_VALUE | 5 | ingress_only | 1 |
| BUF_SIZE | 0 | f | 80 |
| DATA_SOURCE | 0 | f | $1 |
| DATA_SOURCE | 3 | cb_ident | $0 |
| DATA_SOURCE | 4 | cb_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/intel/ice/ice_main.c ice_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 327783809734713344 |
| PARAM_VALUE | 2 | cb | 2804773042523316224,4726811201203548160 |
| PARAM_VALUE | 3 | cb_ident | 4096-ptr_max |
| PARAM_VALUE | 4 | cb_priv | 4096-ptr_max |
| PARAM_VALUE | 5 | ingress_only | 0 |
| DATA_SOURCE | 0 | f | $2 |
| BIT_INFO | 2 | cb | 0x88003848112000,0x67fd8fbeeb33b000 |
| BIT_INFO | 2 | cb | 0x88003848112000,0x67fd8fbeeb33b000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 5047176471953698816 |
| PARAM_VALUE | 2 | cb | 3272553244013162496 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_nic_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 6964991705392414720 |
| PARAM_VALUE | 2 | cb | 2961567434538930176 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 477808023304839168 |
| PARAM_VALUE | 2 | cb | 3282266008383373312 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c __ixgbe_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 5793098103637913600 |
| PARAM_VALUE | 2 | cb | 122259342074146816 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| DATA_SOURCE | 3 | cb_ident | r ixgbe_from_netdev |
| DATA_SOURCE | 4 | cb_priv | r ixgbe_from_netdev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cxgb_setup_tc_block() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 2283172139101954048 |
| PARAM_VALUE | 2 | cb | 6100794344620752896,7495769889392906240 |
| PARAM_VALUE | 3 | cb_ident | 4096-ptr_max |
| PARAM_VALUE | 4 | cb_priv | 4096-ptr_max |
| DATA_SOURCE | 0 | f | $1 |
| DATA_SOURCE | 4 | cb_priv | $0 |
| PARAM_COMPARE | 3 | cb_ident | == $4->priv |
| BIT_INFO | 2 | cb | 0x4002400006550000,0x7cae73220fd55000 |
| BIT_INFO | 2 | cb | 0x4002400006550000,0x7cae73220fd55000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 8380517091001397248 |
| PARAM_VALUE | 2 | cb | 4575908363646713856 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| BUF_SIZE | 0 | f | 80 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/intel/igb/igb_main.c igb_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 6561043382034264064 |
| PARAM_VALUE | 2 | cb | 2645908074289401856 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c otx2_setup_tc_block() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 0 | f->binder_type | 1-2 |
| PARAM_VALUE | 0 | f->block_shared | 0 |
| PARAM_VALUE | 1 | driver_block_list | 5209100534867922944 |
| PARAM_VALUE | 2 | cb | 3810947565984583680,7139528086929981440 |
| DATA_SOURCE | 0 | f | $1 |
| FUZZY_MAX | 0 | f->binder_type | 2 |
| BIT_INFO | 2 | cb | 0x2000309698228000,0x77f7b6fffd66d000 |
| BIT_INFO | 2 | cb | 0x2000309698228000,0x77f7b6fffd66d000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/qlogic/qede/qede_main.c qede_setup_tc_offload() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 3968494333872816128 |
| PARAM_VALUE | 2 | cb | 8531910171355594752 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/microchip/lan966x/lan966x_tc.c lan966x_tc_setup_block() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 0 | f->binder_type | 1-2 |
| PARAM_VALUE | 1 | driver_block_list | 4619859901987545088 |
| PARAM_VALUE | 2 | cb | 6870471724801957888,7865080333565890560 |
| DATA_SOURCE | 0 | f | $1 |
| DATA_SOURCE | 3 | cb_ident | $0 |
| DATA_SOURCE | 4 | cb_priv | $0 |
| FUZZY_MAX | 0 | f->binder_type | 2 |
| BIT_INFO | 2 | cb | 0x4d0040a0640b0000,0x7f7ef1e5f43fb000 |
| BIT_INFO | 2 | cb | 0x4d0040a0640b0000,0x7f7ef1e5f43fb000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/intel/iavf/iavf_main.c iavf_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 1831598756091985920 |
| PARAM_VALUE | 2 | cb | 6331752825934041088 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 4883783749576728576 |
| PARAM_VALUE | 2 | cb | 550645784600014848 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/intel/i40e/i40e_main.c __i40e_setup_tc() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 5152917923433910272 |
| PARAM_VALUE | 2 | cb | 5878573439331561472 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/ti/cpsw_priv.c cpsw_qos_setup_tc_block() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 1 | driver_block_list | 5747076774592905216 |
| PARAM_VALUE | 2 | cb | 5387576440717402112 |
| PARAM_VALUE | 5 | ingress_only | 1 |
| DATA_SOURCE | 0 | f | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/microchip/sparx5/sparx5_tc.c sparx5_tc_setup_block() -> flow_block_cb_setup_simple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 1893042152874979328,6243769477725855744 |
| PARAM_VALUE | 0 | f->binder_type | 1-2 |
| PARAM_VALUE | 1 | driver_block_list | 4034962507514806272 |
| PARAM_VALUE | 2 | cb | 6095202110196084736,8874205625716121600 |
| PARAM_VALUE | 3 | cb_ident | 4096-ptr_max |
| PARAM_VALUE | 4 | cb_priv | 4096-ptr_max |
| PARAM_VALUE | 5 | ingress_only | 0 |
| DATA_SOURCE | 0 | f | $1 |
| DATA_SOURCE | 3 | cb_ident | $0 |
| DATA_SOURCE | 4 | cb_priv | $0 |
| FUZZY_MAX | 0 | f->binder_type | 2 |
| BIT_INFO | 2 | cb | 0x5006820680102000,0x7fb782ffc4f7f000 |
| BIT_INFO | 2 | cb | 0x5006820680102000,0x7fb782ffc4f7f000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |