]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/net/ethernet/mscc/ocelot_tc.c
net: flow_offload: rename TCF_BLOCK_BINDER_TYPE_* to FLOW_BLOCK_BINDER_TYPE_*
[mirror_ubuntu-hirsute-kernel.git] / drivers / net / ethernet / mscc / ocelot_tc.c
index c84942ef8e7beef3cce22b4e1bd1b79cd2091b14..58a0b5f8850cba02521fa6ec1d596ea3a40c553d 100644 (file)
@@ -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;