04/12/2020 23:31, Stephen Hemminger: > On Fri, 4 Dec 2020 15:27:45 -0500 > Ed Czeck <ed.cz...@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: tho...@monjalon.net > > > > Signed-off-by: Ed Czeck <ed.cz...@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.