[dpdk-dev,v7,16/17] doc: distributor library changes for new burst api

Message ID 1487647073-129064-17-git-send-email-david.hunt@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail Compilation issues

Commit Message

Hunt, David Feb. 21, 2017, 3:17 a.m. UTC
  Signed-off-by: David Hunt <david.hunt@intel.com>
---
 doc/guides/prog_guide/packet_distrib_lib.rst | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

John McNamara Feb. 21, 2017, 4:18 p.m. UTC | #1
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of David Hunt
> Sent: Tuesday, February 21, 2017 3:18 AM
> To: dev@dpdk.org
> Cc: Richardson, Bruce <bruce.richardson@intel.com>; Hunt, David
> <david.hunt@intel.com>
> Subject: [dpdk-dev] [PATCH v7 16/17] doc: distributor library changes for
> new burst api
> 
> Signed-off-by: David Hunt <david.hunt@intel.com>
> ---
>  doc/guides/prog_guide/packet_distrib_lib.rst | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/doc/guides/prog_guide/packet_distrib_lib.rst
> b/doc/guides/prog_guide/packet_distrib_lib.rst
> index b5bdabb..c070eaa 100644
> --- a/doc/guides/prog_guide/packet_distrib_lib.rst
> +++ b/doc/guides/prog_guide/packet_distrib_lib.rst
> @@ -42,6 +42,9 @@ 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 optiomised 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.

It is better to use fixed width backquotes for function names like:

    type field in the ``rte_distributor_create()`` function.

Apart from that.

Acked-by: John McNamara <john.mcnamara@intel.com>
  

Patch

diff --git a/doc/guides/prog_guide/packet_distrib_lib.rst b/doc/guides/prog_guide/packet_distrib_lib.rst
index b5bdabb..c070eaa 100644
--- a/doc/guides/prog_guide/packet_distrib_lib.rst
+++ b/doc/guides/prog_guide/packet_distrib_lib.rst
@@ -42,6 +42,9 @@  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 optiomised 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
 --------------------------