Skip to content

Commit

Permalink
doc: fix numbers power of 2 in LPM6 guide
Browse files Browse the repository at this point in the history
[ upstream commit e0ad8d2 ]

Fixes: fc1f275 ("doc: programmers guide")

Signed-off-by: Ben Pfaff <blp@ovn.org>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
  • Loading branch information
blp authored and cpaelzer committed Nov 30, 2021
1 parent a7be123 commit fc80aaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/guides/prog_guide/lpm6_lib.rst
Expand Up @@ -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,
Expand Down

0 comments on commit fc80aaf

Please sign in to comment.