net: flow_offload: rename TCF_BLOCK_BINDER_TYPE_* to FLOW_BLOCK_BINDER_TYPE_*
Rename from TCF_BLOCK_BINDER_TYPE_* to FLOW_BLOCK_BINDER_TYPE_* and remove temporary tcf_block_binder_type alias. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
9c0e189ec9
commit
32f8c4093a
@@ -306,7 +306,7 @@ int ocelot_setup_tc_block_flower_bind(struct ocelot_port *port,
|
||||
struct tcf_block_cb *block_cb;
|
||||
int ret;
|
||||
|
||||
if (f->binder_type == TCF_BLOCK_BINDER_TYPE_CLSACT_EGRESS)
|
||||
if (f->binder_type == FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS)
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
block_cb = tcf_block_cb_lookup(f->block,
|
||||
|
@@ -137,10 +137,10 @@ static int ocelot_setup_tc_block(struct ocelot_port *port,
|
||||
netdev_dbg(port->dev, "tc_block command %d, binder_type %d\n",
|
||||
f->command, f->binder_type);
|
||||
|
||||
if (f->binder_type == TCF_BLOCK_BINDER_TYPE_CLSACT_INGRESS) {
|
||||
if (f->binder_type == FLOW_BLOCK_BINDER_TYPE_CLSACT_INGRESS) {
|
||||
cb = ocelot_setup_tc_block_cb_ig;
|
||||
port->tc.block_shared = tcf_block_shared(f->block);
|
||||
} else if (f->binder_type == TCF_BLOCK_BINDER_TYPE_CLSACT_EGRESS) {
|
||||
} else if (f->binder_type == FLOW_BLOCK_BINDER_TYPE_CLSACT_EGRESS) {
|
||||
cb = ocelot_setup_tc_block_cb_eg;
|
||||
} else {
|
||||
return -EOPNOTSUPP;
|
||||
|
Reference in New Issue
Block a user