[dpdk-dev] [PATCH] net/ark: export ark timestamp dynfield offset

Stephen Hemminger stephen at networkplumber.org
Fri Dec 4 23:31:20 CET 2020


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.



More information about the dev mailing list