> -----Original Message----- > From: Morten Brørup [mailto:m...@smartsharesystems.com] > Sent: Thursday, February 9, 2017 4:20 PM > To: Ananyev, Konstantin <konstantin.anan...@intel.com> > Cc: Olivier Matz <olivier.m...@6wind.com>; dev@dpdk.org > Subject: RE: [dpdk-dev] [RFC 0/8] mbuf: structure reorganization > > > From: dev [mailto:dev-boun...@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