From: Ben Pfaff Date: Mon, 13 Sep 2021 18:46:43 +0000 (-0700) Subject: doc: fix numbers power of 2 in LPM6 guide X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e0ad8d2bdafcd74eb960bf96507fed11cc97d58c;p=dpdk.git doc: fix numbers power of 2 in LPM6 guide Fixes: fc1f2750a3ec ("doc: programmers guide") Cc: stable@dpdk.org Signed-off-by: Ben Pfaff Reviewed-by: David Marchand Acked-by: Vladimir Medvedkin --- diff --git a/doc/guides/prog_guide/lpm6_lib.rst b/doc/guides/prog_guide/lpm6_lib.rst index d1aea91ca9..8425d14805 100644 --- a/doc/guides/prog_guide/lpm6_lib.rst +++ b/doc/guides/prog_guide/lpm6_lib.rst @@ -64,9 +64,9 @@ that are most commonly used in IPv6. The main data structure is built using the following elements: -* A table with 224 entries +* A table with 2^24 entries -* A number of tables, configurable by the user through the API, with 28 entries +* A number of tables, configurable by the user through the API, with 2^8 entries The first table, called tbl24, is indexed using the first 24 bits of the IP address be looked up, while the rest of the tables, called tbl8s,