[PATCH dpdk v1 00/15] IPv6 APIs overhaul

Stephen Hemminger stephen at networkplumber.org
Thu Aug 22 16:13:52 CEST 2024


On Wed, 21 Aug 2024 18:25:17 +0200
Robin Jarry <rjarry at redhat.com> wrote:

> Hi everyone,
> 
> As discussed recently [1], here is a first draft of the IPv6 APIs rework. The
> API change was announced before the 24.07 release [2]. This series is intended
> for 24.11.
> 
> [1] http://inbox.dpdk.org/dev/D2SR8T1H39CJ.JRQFI6JEH0OX@redhat.com/
> [2] https://git.dpdk.org/dpdk/commit/?id=835d4c41e0ab58a115c2170c886ba6d3cc1b5764
> 
> I tried to keep the patches as small as possible; unfortunately some of them
> are quite big and cannot be broken down if we want to preserve a bisectable
> tree.
> 
> Let me know what you think.

Let me ask a couple of questions about this.

Why does DPDK need to have its own definitions of IPv4 and IPv6 addresses?
The structures in_addr and in6_addr exist on Linux, BSD, and Windows.
It creates lots of code reimplementation (see inet_ntop etc).


What advantage is there to having our own definitions?



More information about the dev mailing list