[dpdk-dev] [PATCH v7 1/6] ethdev: introduce Rx buffer split

Ajit Khaparde ajit.khaparde at broadcom.com
Fri Oct 16 00:01:38 CEST 2020


On Thu, Oct 15, 2020 at 1:33 PM Thomas Monjalon <thomas at 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

>
>
>


More information about the dev mailing list