[dpdk-dev] [PATCH v3] doc: add preferred burst size support

Thomas Monjalon thomas at monjalon.net
Wed Feb 14 00:55:55 CET 2018


05/02/2018 07:17, Yang, Zhiyong:
> 
> > -----Original Message-----
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Shreyansh Jain
> > Sent: Monday, February 5, 2018 2:22 PM
> > To: dev at dpdk.org
> > Cc: Yigit, Ferruh <ferruh.yigit at intel.com>; thomas at monjalon.net;
> > Richardson, Bruce <bruce.richardson at intel.com>; Ananyev, Konstantin
> > <konstantin.ananyev at intel.com>; hemant.agrawal at nxp.com;
> > matan at mellanox.com; Shreyansh Jain <shreyansh.jain at nxp.com>
> > Subject: [dpdk-dev] [PATCH v3] doc: add preferred burst size support
> > 
> > rte_eth_rx_burst(..,nb_pkts) function has semantic that if return value is
> > smaller than requested, application can consider it end of packet stream.
> > Some hardware can only support smaller burst sizes which need to be
> > advertised. Similar is the case for Tx burst.
> > 
> > This patch adds deprecation notice for rte_eth_dev_info structure as new
> > members, for preferred Rx and Tx burst and ring size would be added -
> > impacting the size of the structure.
> > 
> > Signed-off-by: Shreyansh Jain <shreyansh.jain at nxp.com>
> > Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> > Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>
> > Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> > ---
> 
> Acked-by: Zhiyong Yang <zhiyong.yang at intel.com>

Maybe that we want to re-use the same struct to define min, max
and preferred sizes.

For the global idea,
Acked-by: Thomas Monjalon <thomas at monjalon.net>





More information about the dev mailing list