[dpdk-dev] [PATCH] net: introduce IPv4 ihl and version fields

Gregory Etelson getelson at nvidia.com
Thu Jun 3 06:59:29 CEST 2021


> On Thu, 3 Jun 2021 08:58:42 +0800
> "Min Hu (Connor)" <humin29 at huawei.com> wrote:
> 
> > Hi, Morten and all,
> >       I have a questions which has bothering me for a long time.
> >       What's the difference between API and ABI?
> >       Why does this patch does not breake ABI, but break API(maybe)?
> >
> >       Hope for your reply, thanks.
> 
> The API being fixed, that a user can in confidence recompile their source
> code and it will compile without any new errors.
> 
> The ABI guarantee means, that an application dynamically linked to DPDK
> shared libraries will work without problem if the DPDK libraries are
> updated.

Hello Stephen,

Thank you for the clarification.

According to the above statements, the patch introduces alternative
access method to IPv4 version & ihl fields without breaking existing API.

Regards,
Gregory


More information about the dev mailing list