On Thu, Oct 15, 2020 at 1:33 PM Thomas Monjalon <tho...@monjalon.net> wrote: > > 15/10/2020 22:17, Viacheslav Ovsiienko: > > /** > > + * Ethernet device Rx buffer segmentation capabilities. > > + */ > > +struct rte_eth_rxseg_capa { > > + uint16_t max_seg; /**< Maximum amount of segments to split. */ > > + uint8_t multi_pools; /**< Supports receiving to multiple pools.*/ > > + uint8_t offset_allowed; /**< Supports buffer offsets. */ > > + uint8_t offset_align_log2; /**< Required offset alignment. */ > > +}; > > Why not having bit fields for these last three? +1
> > >