]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: PFCP device support
authorWojciech Drewek <wojciech.drewek@intel.com>
Mon, 22 Apr 2024 12:05:50 +0000 (14:05 +0200)
committerDavid Ahern <dsahern@kernel.org>
Tue, 23 Apr 2024 15:31:23 +0000 (15:31 +0000)
Packet Forwarding Control Protocol is a 3GPP Protocol defined in
TS 29.244 [1]. Add support for PFCP device type in ip link.
It is capable of receiving PFCP messages and extracting its
metadata (session ID).

Its only purpose is to be used together with tc flower to create
SW/HW filters.

PFCP module does not take any netlink attributes so there is no
need to parse any args. Add new sections to the man to let the
user know about new device type.

[1] https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3111

Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/iplink.c
man/man8/ip-link.8.in

index 1bb4a99863b0f4dfee94860b2fe673f4cc6b7fe8..96f294a23752e39036cd20ce59318aded17e48bb 100644 (file)
@@ -44,7 +44,7 @@ void iplink_types_usage(void)
                "          ip6erspan | ip6gre | ip6gretap | ip6tnl |\n"
                "          ipip | ipoib | ipvlan | ipvtap |\n"
                "          macsec | macvlan | macvtap | netdevsim |\n"
-               "          netkit | nlmon | rmnet | sit | team | team_slave |\n"
+               "          netkit | nlmon | pfcp | rmnet | sit | team | team_slave |\n"
                "          vcan | veth | vlan | vrf | vti | vxcan | vxlan | wwan |\n"
                "          xfrm | virt_wifi }\n");
 }
index 066ad874eb0d6cc1d96f7b489a712a6e8cd0da05..b981ac9125fa474bf8c2d2fea500574b9b9616fd 100644 (file)
@@ -250,6 +250,7 @@ ip-link \- network device configuration
 .BR netdevsim " |"
 .BR netkit " |"
 .BR nlmon " |"
+.BR pfcp " |"
 .BR rmnet " |"
 .BR sit " |"
 .BR vcan " | "
@@ -392,6 +393,9 @@ Link types:
 .BR nlmon
 - Netlink monitoring device
 .sp
+.BR pfcp
+- Packet Forwarding Control Protocol device
+.sp
 .BR rmnet
 - Qualcomm rmnet device
 .sp
@@ -2125,6 +2129,12 @@ the following additional arguments are supported:
 .BI restart_count " RESTART_COUNT "
 - GTP instance restart counter
 
+.TP
+PFCP Type Support
+For a link of type
+.I PFCP
+no additional arguments are supported
+
 .in -8
 
 .SS ip link delete - delete virtual link