mbox series

[iproute-next,v3,0/3] PPPoE support in tc-flower

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

Message

Wojciech Drewek July 28, 2022, 11:01 a.m. UTC
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 (merged):
https://lore.kernel.org/netdev/20220726203133.2171332-1-anthony.l.nguyen@intel.com/T/#t

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