]> git.ipfire.org Git - thirdparty/iproute2.git/commit
f_flower: implement pfcp opts
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
Mon, 22 Apr 2024 12:05:51 +0000 (14:05 +0200)
committerDavid Ahern <dsahern@kernel.org>
Tue, 23 Apr 2024 15:34:19 +0000 (15:34 +0000)
commit976dca372e4c3c0685d2d6af5a305493baa4fdad
tree8c94876d28e47a2cbc8bb940afc486e52c413948
parenta25f6771bef3b1c06135ae5e0c2668b29a499472
f_flower: implement pfcp opts

Allow adding tc filter for PFCP header.

Add support for parsing TCA_FLOWER_KEY_ENC_OPTS_PFCP.
Options are as follows: TYPE:SEID.

TYPE is a 8-bit value represented in hex and can be  1
for session header and 0 for node header. In PFCP packet
this is S flag in header.

SEID is a 64-bit session id value represented in hex.

This patch enables adding hardware filters using PFCP fields, see [1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=d823265dd45bbf14bd67aa476057108feb4143ce

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
include/libnetlink.h
man/man8/tc-flower.8
tc/f_flower.c