2015-07-31 15:39, Zhang, Helin: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2015-07-31 15:29, Zhang, Helin: > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > Can we remove i40e bulk alloc option? > > > > > > As the receiving functions are different for bulk_alloc or not, we need > > > this flag. > > > > What brings the non bulk alloc function? > > Bulk-alloc means it will allocate mbufs in bulk, which was added before we > supporting > Vector PMD long long ago, to show the possible better performance. > I think all was disabled by default, and later it is enabled by default for > Linux.
Yes, I know that. My question was: Why not removing the non bulk alloc Rx in i40e? Who needs to disable I40E_RX_ALLOW_BULK_ALLOC? I think you understand that the goal is remove some options and code useless nowadays (maintenance stuff).