Lines Matching refs:tcb
75 struct flow_block_offload *tcb, struct efx_rep *efv) in efx_tc_setup_block() argument
81 if (tcb->binder_type != FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS) in efx_tc_setup_block()
87 switch (tcb->command) { in efx_tc_setup_block()
89 binding = efx_tc_create_binding(efx, efv, net_dev, tcb->block); in efx_tc_setup_block()
104 flow_block_cb_add(block_cb, tcb); in efx_tc_setup_block()
110 block_cb = flow_block_cb_lookup(tcb->block, in efx_tc_setup_block()
114 flow_block_cb_remove(block_cb, tcb); in efx_tc_setup_block()
144 struct flow_block_offload *tcb = type_data; in efx_tc_indr_setup_cb() local
154 if (tcb->binder_type != FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS && in efx_tc_indr_setup_cb()
155 tcb->binder_type != FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS) in efx_tc_indr_setup_cb()
159 if (tcb->binder_type == FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS && in efx_tc_indr_setup_cb()
168 switch (tcb->command) { in efx_tc_indr_setup_cb()
170 binding = efx_tc_create_binding(efx, NULL, net_dev, tcb->block); in efx_tc_indr_setup_cb()
175 tcb, net_dev, sch, data, binding, in efx_tc_indr_setup_cb()
185 flow_block_cb_add(block_cb, tcb); in efx_tc_indr_setup_cb()
192 block_cb = flow_block_cb_lookup(tcb->block, in efx_tc_indr_setup_cb()
197 flow_indr_block_cb_remove(block_cb, tcb); in efx_tc_indr_setup_cb()