HI Thomas and David, We can remove one of the code branches if you guys feel strongly about it.
The reason we recommended to keep both is because both of them are working, and we wanted to keep both of them for a while to get some feedback from other people about which one they prefer. It might be that some apps would prefer one over the other for performance reasons. But again, we can resend this patch with only one code path present. Regards, Cristian > -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Sunday, May 17, 2015 10:45 PM > To: Jastrzebski, MichalX K; Gajdzica, MaciejX T > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/3] port: added WRITER_APPROACH == 1 > implementation to ring port > > 2015-04-30 13:58, Michal Jastrzebski: > > From: Maciej Gajdzica <maciejx.t.gajdzica at intel.com> > > > > Added better optimized implementation of tx_bulk for ring writer port > > based on > > similar solution in ethdev_writer port. New implementation sends burst > > without > > copying data to internal buffer if it is possible. > > > > Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica at intel.com> > [...] > > +#if RTE_PORT_RING_WRITER_APPROACH == 0 > > Nack > Maybe you missed the previous comment: > http://dpdk.org/ml/archives/dev/2015-March/015999.html