diff options
author | Jakub Urbańczyk <xthaid@gmail.com> | 2020-07-31 00:15:51 +0200 |
---|---|---|
committer | Jakub Urbańczyk <xthaid@gmail.com> | 2020-08-10 21:57:04 +0200 |
commit | 18f60fe9990db3c9313e579497d36e44a9818629 (patch) | |
tree | d1225f6a7aa08e3247d866eb818409e4d732167f /zebra/zebra_mpls_netlink.c | |
parent | zebra: netlink message batching (diff) | |
download | frr-18f60fe9990db3c9313e579497d36e44a9818629.tar.xz frr-18f60fe9990db3c9313e579497d36e44a9818629.zip |
zebra: remove old kernel one-update-at-a-time api
The old one is replaced by the api that is suitable for the batching.
Signed-off-by: Jakub Urbańczyk <xthaid@gmail.com>
Diffstat (limited to 'zebra/zebra_mpls_netlink.c')
-rw-r--r-- | zebra/zebra_mpls_netlink.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/zebra/zebra_mpls_netlink.c b/zebra/zebra_mpls_netlink.c index 742b08c37..3b2279c66 100644 --- a/zebra/zebra_mpls_netlink.c +++ b/zebra/zebra_mpls_netlink.c @@ -55,15 +55,6 @@ static ssize_t netlink_lsp_msg_encoder(struct zebra_dplane_ctx *ctx, void *buf, return netlink_mpls_multipath_msg_encode(cmd, ctx, buf, buflen); } -/* - * The communication with the kernel is done using the message batching - * interface, so return a failure. - */ -enum zebra_dplane_result kernel_lsp_update(struct zebra_dplane_ctx *ctx) -{ - return ZEBRA_DPLANE_REQUEST_FAILURE; -} - enum netlink_msg_status netlink_put_lsp_update_msg(struct nl_batch *bth, struct zebra_dplane_ctx *ctx) { @@ -71,15 +62,6 @@ enum netlink_msg_status netlink_put_lsp_update_msg(struct nl_batch *bth, } /* - * The communication with the kernel is done using the message batching - * interface, so return a failure. - */ -enum zebra_dplane_result kernel_pw_update(struct zebra_dplane_ctx *ctx) -{ - return ZEBRA_DPLANE_REQUEST_FAILURE; -} - -/* * Pseudowire update api - not supported by netlink as of 12/18, * but note that the default has been to report 'success' for pw updates * on unsupported platforms. |