doc: fix numbers power of 2 in LPM6 guide
authorBen Pfaff <blp@ovn.org>
Mon, 13 Sep 2021 18:46:43 +0000 (11:46 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 23 Sep 2021 10:49:23 +0000 (12:49 +0200)
Fixes: fc1f2750a3ec ("doc: programmers guide")
Cc: stable@dpdk.org
Signed-off-by: Ben Pfaff <blp@ovn.org>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
doc/guides/prog_guide/lpm6_lib.rst

index d1aea91..8425d14 100644 (file)
@@ -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,