summaryrefslogtreecommitdiff
path: root/doc/guides/prog_guide/packet_distrib_lib.rst
diff options
context:
space:
mode:
authorDavid Hunt <david.hunt@intel.com>2017-03-20 10:08:40 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-03-29 16:46:58 +0200
commit7e0bb29923bb315ac05f5c765b8f3e94e2d5d6a1 (patch)
tree4463540df632b584c1acc8eb31212004b89460c1 /doc/guides/prog_guide/packet_distrib_lib.rst
parente80046e5ac37b4747b99f557bf88cbdfd50a20b5 (diff)
downloaddpdk-7e0bb29923bb315ac05f5c765b8f3e94e2d5d6a1.zip
dpdk-7e0bb29923bb315ac05f5c765b8f3e94e2d5d6a1.tar.gz
dpdk-7e0bb29923bb315ac05f5c765b8f3e94e2d5d6a1.tar.xz
doc: update distributor lib guide for new burst API
Signed-off-by: David Hunt <david.hunt@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'doc/guides/prog_guide/packet_distrib_lib.rst')
-rw-r--r--doc/guides/prog_guide/packet_distrib_lib.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guides/prog_guide/packet_distrib_lib.rst b/doc/guides/prog_guide/packet_distrib_lib.rst
index b5bdabb..ee2b1a6 100644
--- a/doc/guides/prog_guide/packet_distrib_lib.rst
+++ b/doc/guides/prog_guide/packet_distrib_lib.rst
@@ -42,6 +42,10 @@ The model of operation is shown in the diagram below.
Packet Distributor mode of operation
+There are two modes of operation of the API in the distributor library,
+one which sends one packet at a time to workers using 32-bits for flow_id,
+and an optimized mode which sends bursts of up to 8 packets at a time to workers, using 15 bits of flow_id.
+The mode is selected by the type field in the ``rte_distributor_create()`` function.
Distributor Core Operation
--------------------------