On 13 Jan 2025, at 21:45, Frode Nordahl wrote:

> In preparation for adding support for parsing routes with multiple
> next hops per destination, we need dynamic storage for them.
>
> Storage for the primary next hop is set aside in struct route_data
> to avoid unnecessary memory allocations for the common case of one
> next hop.
>
> The ovs-router module does not support storing multiple next hop
> information, and the existing parser does not understand them, so
> we retain this behavior by only passing single next hop routes for
> storage in ovs-router.
>
> This patch makes this change in isolation so that it is easier to
> review subsequent patches.
>
> Signed-off-by: Frode Nordahl <[email protected]>

Thanks for the changes. This patch looks good to me.

Acked-by: Eelco Chaudron <[email protected]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to