mbox series

[iproute2-next,0/2] PPPoE support in tc-flower

Message ID 20220714082522.54913-1-wojciech.drewek@intel.com (mailing list archive)
Headers show
Series PPPoE support in tc-flower | expand

Message

Wojciech Drewek July 14, 2022, 8:25 a.m. UTC
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