[PATCH v4 2/4] lapi: Add pkt_sched.h fallback
Andrea Cervesato <[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
From: Andrea Cervesato <andrea.cervesato-IBi9RG/[email protected]> Reviewed-by: Petr Vorel <[email protected]> Signed-off-by: Andrea Cervesato <andrea.cervesato-IBi9RG/[email protected]> --- include/lapi/pkt_sched.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/include/lapi/pkt_sched.h b/include/lapi/pkt_sched.h new file mode 100644 index 0000000000000000000000000000000000000000..4d7b2860df4a478214385f248995361f6f1cf282 --- /dev/null +++ b/include/lapi/pkt_sched.h @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2026 SUSE LLC Andrea Cervesato <andrea.cervesato-IBi9RG/[email protected]> + */ + +#ifndef LAPI_PKT_SCHED_H__ +#define LAPI_PKT_SCHED_H__ + +#include <linux/pkt_sched.h> + +#ifndef TC_H_CLSACT +# define TC_H_CLSACT TC_H_INGRESS +#endif + +#ifndef TC_H_MIN_EGRESS +# define TC_H_MIN_EGRESS 0xFFF3U +#endif + +#endif /* LAPI_PKT_SCHED_H__ */ -- 2.51.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp