]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: Remove badly backported TC code
authorDonald Sharp <sharpd@nvidia.com>
Tue, 13 Dec 2022 20:11:05 +0000 (15:11 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 13 Dec 2022 20:13:37 +0000 (15:13 -0500)
Some TC code for the dplane got backported that should
not have been.  Remove it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_script.c

index 5c67ad4f1674d3cebe66a2dbf21615de59056134..e9e8857a0934ff79f5bb8b7a44dc2a77197cc576 100644 (file)
@@ -417,17 +417,12 @@ void lua_pushzebra_dplane_ctx(lua_State *L, const struct zebra_dplane_ctx *ctx)
        case DPLANE_OP_INTF_INSTALL:
        case DPLANE_OP_INTF_UPDATE:
        case DPLANE_OP_INTF_DELETE:
-       case DPLANE_OP_TC_QDISC_INSTALL:
-       case DPLANE_OP_TC_QDISC_UNINSTALL:
-       case DPLANE_OP_TC_CLASS_ADD:
-       case DPLANE_OP_TC_CLASS_DELETE:
-       case DPLANE_OP_TC_CLASS_UPDATE:
-       case DPLANE_OP_TC_FILTER_ADD:
-       case DPLANE_OP_TC_FILTER_DELETE:
-       case DPLANE_OP_TC_FILTER_UPDATE:
                /* Not currently handled */
        case DPLANE_OP_INTF_NETCONFIG: /*NYI*/
        case DPLANE_OP_NONE:
+       case DPLANE_OP_TC_INSTALL:
+       case DPLANE_OP_TC_UPDATE:
+       case DPLANE_OP_TC_DELETE:
                break;
        } /* Dispatch by op code */
 }