X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Ftestpmd_app_ug%2Ftestpmd_funcs.rst;fp=doc%2Fguides%2Ftestpmd_app_ug%2Ftestpmd_funcs.rst;h=5bb12a51bae087819e051d9080aa572f9554b589;hb=ecbc8570131de834a611286b5bdc1710d56271e6;hp=95f4f069dbabd949f00ac57f3efee2324e19bd70;hpb=edec6dd83824ca02a10edb24a8f7c9ad31ab7a17;p=dpdk.git diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 95f4f069db..5bb12a51ba 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -3991,6 +3991,11 @@ This section lists supported pattern items and their attributes, if any. - ``spi {unsigned}``: security parameters index. +- ``pfcp``: match PFCP header. + + - ``s_field {unsigned}``: S field. + - ``seid {unsigned}``: session endpoint identifier. + Actions list ^^^^^^^^^^^^ @@ -4840,6 +4845,21 @@ AH rules can be created by the following commands:: testpmd> flow create 0 ingress pattern eth / ipv6 / udp / ah spi is 1 / end actions queue index 3 / end +Sample PFCP rules +~~~~~~~~~~~~~~~~~ + +PFCP rules can be created by the following commands(s_field need to be 1 +if seid is set):: + + testpmd> flow create 0 ingress pattern eth / ipv4 / pfcp s_field is 0 / end + actions queue index 3 / end + testpmd> flow create 0 ingress pattern eth / ipv4 / pfcp s_field is 1 + seid is 1 / end actions queue index 3 / end + testpmd> flow create 0 ingress pattern eth / ipv6 / pfcp s_field is 0 / end + actions queue index 3 / end + testpmd> flow create 0 ingress pattern eth / ipv6 / pfcp s_field is 1 + seid is 1 / end actions queue index 3 / end + BPF Functions --------------