Lines Matching refs:tcb
74 struct flow_block_offload *tcb, struct efx_rep *efv) in efx_tc_setup_block() argument
80 if (tcb->binder_type != FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS) in efx_tc_setup_block()
86 switch (tcb->command) { in efx_tc_setup_block()
88 binding = efx_tc_create_binding(efx, efv, net_dev, tcb->block); in efx_tc_setup_block()
103 flow_block_cb_add(block_cb, tcb); in efx_tc_setup_block()
109 block_cb = flow_block_cb_lookup(tcb->block, in efx_tc_setup_block()
113 flow_block_cb_remove(block_cb, tcb); in efx_tc_setup_block()
143 struct flow_block_offload *tcb = type_data; in efx_tc_indr_setup_cb() local
153 if (tcb->binder_type != FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS && in efx_tc_indr_setup_cb()
154 tcb->binder_type != FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS) in efx_tc_indr_setup_cb()
158 if (tcb->binder_type == FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS && in efx_tc_indr_setup_cb()
167 switch (tcb->command) { in efx_tc_indr_setup_cb()
169 binding = efx_tc_create_binding(efx, NULL, net_dev, tcb->block); in efx_tc_indr_setup_cb()
174 tcb, net_dev, sch, data, binding, in efx_tc_indr_setup_cb()
184 flow_block_cb_add(block_cb, tcb); in efx_tc_indr_setup_cb()
191 block_cb = flow_block_cb_lookup(tcb->block, in efx_tc_indr_setup_cb()
196 flow_indr_block_cb_remove(block_cb, tcb); in efx_tc_indr_setup_cb()