diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-04 15:20:56 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-04 15:20:56 +0300 |
| commit | ff542b22d219107bede01c74b426ddda87c7a31d (patch) | |
| tree | cd8a2a63973fc488b7d452b547035ebac82a2c1a /zebra/zebra_dplane.h | |
| parent | 640b59a8b0d87337fef336950e7ebf94a3344a7f (diff) | |
| parent | 7b8a4249ea9481ced4a5c29a7b5cacc0e3acb80d (diff) | |
Merge pull request #14340 from mjstapp/txqlen_info
lib,zebra: add tx queuelen to interface struct
Diffstat (limited to 'zebra/zebra_dplane.h')
| -rw-r--r-- | zebra/zebra_dplane.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_dplane.h b/zebra/zebra_dplane.h index c006522e01..4d4a17bbae 100644 --- a/zebra/zebra_dplane.h +++ b/zebra/zebra_dplane.h @@ -672,6 +672,8 @@ void dplane_ctx_set_intf_dest(struct zebra_dplane_ctx *ctx, bool dplane_ctx_intf_has_label(const struct zebra_dplane_ctx *ctx); const char *dplane_ctx_get_intf_label(const struct zebra_dplane_ctx *ctx); void dplane_ctx_set_intf_label(struct zebra_dplane_ctx *ctx, const char *label); +void dplane_ctx_set_intf_txqlen(struct zebra_dplane_ctx *ctx, uint32_t txqlen); +uint32_t dplane_ctx_get_intf_txqlen(const struct zebra_dplane_ctx *ctx); /* Accessors for MAC information */ vlanid_t dplane_ctx_mac_get_vlan(const struct zebra_dplane_ctx *ctx); |
