X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fnics%2Fmvpp2.rst;h=e40fed72868cc6ee954b4378e507c5209ef925a6;hb=bc778a17fa46f1ec69180c7f660585155eefc318;hp=324a1702aab2227c52f0f25d031efaeca0991a72;hpb=c2b5ae61c07e747dae3cbf067087a783b69e3987;p=dpdk.git diff --git a/doc/guides/nics/mvpp2.rst b/doc/guides/nics/mvpp2.rst index 324a1702aa..e40fed7286 100644 --- a/doc/guides/nics/mvpp2.rst +++ b/doc/guides/nics/mvpp2.rst @@ -208,8 +208,17 @@ Configuration syntax ebs = cbs = + [parser udf ] + proto = + field = + key = + mask = + offset = + [port default] - dsa_mode = + start_hdr = + forward_bad_frames = + fill_bpool_buffs = default_tc = mapping_priority = @@ -240,9 +249,25 @@ Configuration syntax Where: +- ````: Logical UDF id. + +- ````: Indicate the preceding hdr before the UDF header (`eth` or `udp`). + +- ````: Indicate the field of the hdr (`type` (eth) or `dport` (udp). + +- ````: UDF key in string format starting with '0x'. + +- ````: UDF mask in string format starting with '0x'. + +- ````: Starting UDF offset from the hdr. + - ````: DPDK Port number (0..n). -- ````: Indicate what is the dsa header mode (`none`, `dsa`, or `ext_dsa`). +- ````: Indicate what is the start header mode (`none` (eth), `dsa`, `ext_dsa` or `custom`). + +- ````: Indicate whether to forward or drop l2 bad packets (0 or 1). + +- ````: Control the amount of refill buffers (default is 64). - ````: Default traffic class (e.g. 0) @@ -348,6 +373,18 @@ Configuration file example rate_limit = 10000 burst_size = 2000 +Configuration file example with UDF +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. code-block:: console + + [parser udf 0] + proto = eth + field = type + key = 0x8842 + mask = 0xffff + offset = 6 + Usage example ^^^^^^^^^^^^^ @@ -375,6 +412,7 @@ Following flow action items are supported by the driver: * DROP * QUEUE +* METER Supported flow items ~~~~~~~~~~~~~~~~~~~~