[dpdk-dev] [PATCH] net: add rte_ipv4_hdr_len()
Thomas Monjalon
thomas at monjalon.net
Tue Oct 13 19:55:25 CEST 2020
13/10/2020 19:40, Ferruh Yigit:
> On 10/12/2020 3:55 PM, Michael Pfeiffer wrote:
> > Add a function to calculate the length of an IPv4 header as suggested
> > on the mailing list [1]. Call where appropriate.
> >
> > [1] https://mails.dpdk.org/archives/dev/2020-October/184471.html
> >
> > Suggested-by: Thomas Monjalon <thomas at monjalon.net>
> > Signed-off-by: Michael Pfeiffer <michael.pfeiffer at tu-ilmenau.de>
>
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
>
> Applied to dpdk-next-net/main, thanks.
> Updated patch title to "net: add function to calculate IPv4 header length"
>
>
> Since you are already on it, a similar function to get the version also can be
> useful, if you have time for it.
Ah ah, we keep asking more to Michael :)
Hope you enjoy the ride Michael, otherwise feel free to say no.
More information about the dev
mailing list