[dpdk-dev] [PATCH v2 1/2] lpm: extend ip4 next_hop and add config structure

Hunt, David david.hunt at intel.com
Thu Feb 18 11:02:05 CET 2016


On 1/29/2016 12:12 PM, Michal Kobylinski wrote:
> As next_hop field for IPv4 is increased now the maximum number of tbl8s is 2^24.
> A new rte_lpm_config structure is used so LPM library will allocate
> exactly the amount of memory which is necessary to hold application’s rules.
>
> Changed structures in LPM library:
> rte_lpm_tbl24_entry and rte_lpm_tbl8_entry to one structure
> rte_lpm_tbl_entry.
>
> Signed-off-by: Michal Kobylinski <michalx.kobylinski at intel.com>

Acked-by: David Hunt<david.hunt at intel.com>





More information about the dev mailing list