[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230402151031.531534-1-zahari.doychev@linux.com>
Date: Sun, 2 Apr 2023 17:10:29 +0200
From: Zahari Doychev <zahari.doychev@...ux.com>
To: netdev@...r.kernel.org
Cc: jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, hmehrtens@...linear.com,
aleksander.lobakin@...el.com,
Zahari Doychev <zdoychev@...linear.com>
Subject: [PATCH net-next v2 0/2] net: flower: add cfm support
From: Zahari Doychev <zdoychev@...linear.com>
The first patch adds cfm support to the flower classifier.
The second adds a selftest for the flower cfm functionality.
iproute2 changes will come in follow up patches.
---
v1->v2:
- add missing comments
- improve cfm packet dissection
- move defines to header file
- fix code formatting
- remove unneeded attribute defines
rfc->v1:
- add selftest to the makefile TEST_PROGS.
Zahari Doychev (2):
net: flower: add support for matching cfm fields
selftests: net: add tc flower cfm test
include/net/flow_dissector.h | 21 +++
include/uapi/linux/pkt_cls.h | 9 +
net/core/flow_dissector.c | 29 +++
net/sched/cls_flower.c | 108 ++++++++++-
.../testing/selftests/net/forwarding/Makefile | 1 +
.../selftests/net/forwarding/tc_flower_cfm.sh | 175 ++++++++++++++++++
6 files changed, 342 insertions(+), 1 deletion(-)
create mode 100755 tools/testing/selftests/net/forwarding/tc_flower_cfm.sh
--
2.40.0
Powered by blists - more mailing lists