[dpdk-dev] [PATCH v4 1/2] mbuf: support attaching external buffer to mbuf

Stephen Hemminger stephen at networkplumber.org
Wed Apr 25 17:06:29 CEST 2018


On Tue, 24 Apr 2018 22:22:45 +0200
Thomas Monjalon <thomas at monjalon.net> wrote:

> > > 
> > > I guess the problem that it changes INDIRECT semantics since EXTBUF
> > > is added as well. I think strictly speaking it is an API change.
> > > Is it OK to make it without announcement?  
> > 
> > In any case, there will be an ABI change, because an application
> > compiled for 18.02 will not be able to handle these new kind of
> > mbuf.
> > 
> > So unfortunatly yes, I think this kind of changes should first be
> > announced.
> > 
> > Thomas, what do you think?  
> 
> What is the impact for the application developer?
> Is there something to change in the application after this patch?

Maybe the use of external buffers should be negotiated as a receiver
flag (per queue) in the device driver.  If device wants external buffers
it sets that in capability flag, and only uses it application requests
it. This allows old applications to work with no semantic surprises.


More information about the dev mailing list