05/02/2018 07:17, Yang, Zhiyong: > > > -----Original Message----- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Shreyansh Jain > > Sent: Monday, February 5, 2018 2:22 PM > > To: dev@dpdk.org > > Cc: Yigit, Ferruh <ferruh.yi...@intel.com>; tho...@monjalon.net; > > Richardson, Bruce <bruce.richard...@intel.com>; Ananyev, Konstantin > > <konstantin.anan...@intel.com>; hemant.agra...@nxp.com; > > ma...@mellanox.com; Shreyansh Jain <shreyansh.j...@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.j...@nxp.com> > > Acked-by: Hemant Agrawal <hemant.agra...@nxp.com> > > Acked-by: Andrew Rybchenko <arybche...@solarflare.com> > > Acked-by: Bruce Richardson <bruce.richard...@intel.com> > > --- > > Acked-by: Zhiyong Yang <zhiyong.y...@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 <tho...@monjalon.net>