[dpdk-dev] [RFC 0/8] mbuf: structure reorganization

Ananyev, Konstantin konstantin.ananyev at intel.com
Thu Feb 9 17:56:18 CET 2017



> -----Original Message-----
> From: Morten Brørup [mailto:mb at smartsharesystems.com]
> Sent: Thursday, February 9, 2017 4:20 PM
> To: Ananyev, Konstantin <konstantin.ananyev at intel.com>
> Cc: Olivier Matz <olivier.matz at 6wind.com>; dev at dpdk.org
> Subject: RE: [dpdk-dev] [RFC 0/8] mbuf: structure reorganization
> 
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ananyev, Konstantin
> >
> > >
> > > The main changes are:
> > > ...
> > > - change port and nb_segs to 16 bits
> >
> > Not that I am completely against it,
> > but changing nb_segs to 16 bits seems like an overkill to me.
> > I think we can keep and extra 8bits for something more useful in
> > future.
> 
> If I recall correctly, this was discussed at DPDK Userspace: If mbuf->nb_segs is used for multicasting (or port flooding), it should have the
> same size as mbuf->port.
> 
> Someone please correct me if I'm mixing things up. The mbuf discussion is important!

I think that's for refcnt not nb_segs.
Actually a question - does anyone really do use/see a packets that have >=  256 segments?
Konstantin

> 
> 
> Med venlig hilsen / kind regards
> - Morten Brørup


More information about the dev mailing list