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