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

Thomas Monjalon thomas at monjalon.net
Thu Oct 15 22:33:25 CEST 2020


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?





More information about the dev mailing list