vxlan, geneve, gre, gretap matching support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/216 patches 1 replyIn review
- v2 posting 1/26 patches 0 repliesSuperseded
- v14 patches 0 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | src: add eval_proto_ctx()include/ include/ src/ +1 more | +154 | 0 replies | |
| 2/16 | src: add dl_proto_ctx()include/ src/ src/ | +78 | 0 replies | |
| 3/16 | src: add vxlan matching supportinclude/ include/ include/ +13 more | +521 | 0 replies | |
| 4/16 | tests: py: add vxlan teststests/ tests/ | +137 | 0 replies | |
| 5/16 | tests: shell: add vxlan set teststests/ tests/ | +43 | 0 replies | |
| 6/16 | doc: add vxlan matching expressiondoc/ | +71 | 0 replies | |
| 7/16 | src: display (inner) tag in --debug=proto-ctxinclude/ src/ src/ +2 more | +12 | 0 replies | |
| 8/16 | src: add gre supportinclude/ include/ include/ +6 more | +205 | 0 replies | |
| 9/16 | tests: py: add gre teststests/ tests/ | +100 | 0 replies | |
| 10/16 | doc: add gre matching expressiondoc/ | +30 | 0 replies | |
| 11/16 | src: add geneve matching supportinclude/ src/ src/ +1 more | +72 | 0 replies | |
| 12/16 | tests: py: add geneve teststests/ tests/ | +137 | 0 replies | |
| 13/16 | doc: add geneve matching expressiondoc/ | +33 | 0 replies | |
| 14/16 | src: add gretap supportinclude/ src/ src/ +2 more | +35 | 0 replies | |
| 15/16 | tests: py: add gretap teststests/ tests/ | +108 | 0 replies | |
| 16/16 | doc: add gretap matching expressiondoc/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH nft,v2 00/16] vxlan, geneve, gre, gretap matching support
Hi,
The following patchset adds support for vxlan, geneve, gre and gretap. This patchset includes tests and documentation update.
1) Add eval_proto_ctx() to prepare for multiple protocol context to track inner and outer headers for the evaluation path.
2) Add dl_proto_ctx() to deal with multiple protocol context to track inner and outer header for the delinearize path.
3) Add vxlan support. This includes initial infrastructure for the new in-kernel inner expression. A protocol description is added to payload and meta expressions.
4) Add tests/py for vxlan.
5) Add tests/shell for vxlan.
6) Update vxlan documentation in nft(8) manpage.
7) Annotate --debug=proto-ctx for easier debugging of inner and outer protocol tracking.
8) Add gre support.
9) Add gre tests.
10) Update gre documentation in nft(8) manpage.
11) Add geneve support.
12) Add tests/py for geneve.
13) Update geneve documentation in nft(8) manpage.
14) Add gretap support
15) Add tests/py for gretap.
16) Update gretap documentation in nft(8) manpage.
Pablo Neira Ayuso (16):
src: add eval_proto_ctx()
src: add dl_proto_ctx()
src: add vxlan matching support
tests: py: add vxlan tests
tests: shell: add vxlan set tests
doc: add vxlan matching expression
src: display (inner) tag in --debug=proto-ctx
src: add gre support
tests: py: add gre tests
doc: add gre matching expression
src: add geneve matching support
tests: py: add geneve tests
doc: add geneve matching expression
src: add gretap support
tests: py: add gretap tests
doc: add gretap matching expression
doc/payload-expression.txt | 154 ++++++++++ include/expression.h | 2 + include/linux/netfilter/nf_tables.h | 27 ++ include/netlink.h | 11 +- include/parser.h | 1 + include/payload.h | 4 + include/proto.h | 58 +++- include/rule.h | 3 +- src/evaluate.c | 286 ++++++++++++----- src/expression.c | 1 + src/meta.c | 21 +- src/netlink.c | 2 +- src/netlink_delinearize.c | 308 ++++++++++++++++--- src/netlink_linearize.c | 80 ++++- src/parser_bison.y | 115 +++++++ src/payload.c | 142 +++++++-- src/proto.c | 133 +++++++- src/rule.c | 3 +- src/scanner.l | 13 +- src/xt.c | 8 +- tests/py/inet/geneve.t | 23 ++ tests/py/inet/geneve.t.payload | 114 +++++++ tests/py/inet/gre.t | 22 ++ tests/py/inet/gre.t.payload | 78 +++++ tests/py/inet/gretap.t | 21 ++ tests/py/inet/gretap.t.payload | 87 ++++++ tests/py/inet/vxlan.t | 23 ++ tests/py/inet/vxlan.t.payload | 114 +++++++ tests/shell/testcases/sets/dumps/inner_0.nft | 18 ++ tests/shell/testcases/sets/inner_0 | 25 ++ 30 files changed, 1721 insertions(+), 176 deletions(-) create mode 100644 tests/py/inet/geneve.t create mode 100644 tests/py/inet/geneve.t.payload create mode 100644 tests/py/inet/gre.t create mode 100644 tests/py/inet/gre.t.payload create mode 100644 tests/py/inet/gretap.t create mode 100644 tests/py/inet/gretap.t.payload create mode 100644 tests/py/inet/vxlan.t create mode 100644 tests/py/inet/vxlan.t.payload create mode 100644 tests/shell/testcases/sets/dumps/inner_0.nft create mode 100755 tests/shell/testcases/sets/inner_0
--
2.30.2