[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220714082522.54913-1-wojciech.drewek@intel.com>
Date: Thu, 14 Jul 2022 10:25:20 +0200
From: Wojciech Drewek <wojciech.drewek@...el.com>
To: netdev@...r.kernel.org
Cc: dsahern@...il.com, stephen@...workplumber.org
Subject: [PATCH iproute2-next 0/2] PPPoE support in tc-flower
This patchset implements support for matching
on PPPoE specific fields using tc-flower.
First patch adds support for parsing ppp protocols
and it also introduces small refactor which allows
to use same mechanism of finding protocol for
both ppp and ether protocols. Second patch
is about parsing PPPoE fields.
Kernel changes:
https://lore.kernel.org/netdev/20220708122421.19309-1-marcin.szycik@linux.intel.com/T/#t
Wojciech Drewek (2):
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 | 56 +++++++++++++++++++++++++++++++++++
10 files changed, 220 insertions(+), 27 deletions(-)
create mode 100644 include/uapi/linux/ppp_defs.h
create mode 100644 lib/ppp_proto.c
--
2.31.1
Powered by blists - more mailing lists