[PATCH iproute-next v2 0/3] PPPoE support in tc-flower
From: Wojciech Drewek <hidden>
Date: 2022-07-28 08:46:39
This patchset implements support for matching on PPPoE specific fields using tc-flower. First patch introduces small refactor which allows to use same mechanism of finding protocol for both ppp and ether protocols. Second patch adds support for parsing ppp protocols. Last patch is about parsing PPPoE fields. Kernel changes: https://lore.kernel.org/netdev/20220726203133.2171332-1-anthony.l.nguyen@intel.com/T/#t (local) Wojciech Drewek (3): lib: refactor ll_proto functions lib: Introduce ppp protocols f_flower: Introduce PPPoE support include/rt_names.h | 3 ++ include/uapi/linux/pkt_cls.h | 3 ++ include/uapi/linux/ppp_defs.h | 37 ++++++++++++++++++++++ include/utils.h | 10 ++++++ lib/Makefile | 2 +- lib/ll_proto.c | 33 +++++--------------- lib/ppp_proto.c | 52 +++++++++++++++++++++++++++++++ lib/utils.c | 34 ++++++++++++++++++++ man/man8/tc-flower.8 | 17 +++++++++- tc/f_flower.c | 58 +++++++++++++++++++++++++++++++++++ 10 files changed, 222 insertions(+), 27 deletions(-) create mode 100644 include/uapi/linux/ppp_defs.h create mode 100644 lib/ppp_proto.c -- 2.31.1