doc: fix numbers power of 2 in LPM6 guide

Fixes: fc1f2750a3 ("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>
This commit is contained in:
Ben Pfaff 2021-09-13 11:46:43 -07:00 committed by Thomas Monjalon
parent ca0c25bbc9
commit e0ad8d2bda

View File

@ -64,9 +64,9 @@ that are most commonly used in IPv6.
The main data structure is built using the following elements: 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, 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, while the rest of the tables, called tbl8s,