[dpdk-dev] [PATCH] net/ark: export ark timestamp dynfield offset
Thomas Monjalon
thomas at monjalon.net
Sun Dec 6 16:52:56 CET 2020
04/12/2020 23:31, Stephen Hemminger:
> On Fri, 4 Dec 2020 15:27:45 -0500
> Ed Czeck <ed.czeck at atomicrules.com> wrote:
>
> > Access to mbuf dynfields in application code requires variable
> > export through header and dynamic library.
> >
> > Fixes: a926951a606f ("net/ark: switch Rx timestamp to dynamic mbuf field")
> > Cc: thomas at monjalon.net
> >
> > Signed-off-by: Ed Czeck <ed.czeck at atomicrules.com>
>
> Not happy with having offsets exposed from driver.
>
> Expopsing weird offsets for their special fields
> is worse than the old model.
>
> Why not use standardized field name and have the application lookup that?
> There is an API already for that.
Yes lookup should be used.
More information about the dev
mailing list