DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "Dumitrescu, Cristian" <cristian.dumitrescu@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2 1/3] port: added WRITER_APPROACH == 1 implementation to ring port
Date: Wed, 20 May 2015 01:19:05 +0200	[thread overview]
Message-ID: <5551241.fJIiJj5JWx@xps13> (raw)
In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D891263236A14B@IRSMSX108.ger.corp.intel.com>

Hi Cristian,

2015-05-19 22:49, Dumitrescu, Cristian:
> HI Thomas and David,
> 
> We can remove one of the code branches if you guys feel strongly about it.

We don't feel strongly as we are not authors nor testers of this new code.
But we want to avoid the maintenance nightmare of #ifdef.

> 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.

In general, RFC patches are used to request feedbacks.
I think it's better to have only one implementation at a time.
Comments are welcome.

> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon
> > Sent: Sunday, May 17, 2015 10:45 PM
> > To: Jastrzebski, MichalX K; Gajdzica, MaciejX T
> > Cc: dev@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@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@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

  reply	other threads:[~2015-05-19 23:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30 11:58 [dpdk-dev] [PATCH v2 0/3] port: added ethdev_writer_nodrop and ring_writer_nodrop ports Michal Jastrzebski
2015-04-30 11:58 ` [dpdk-dev] [PATCH v2 1/3] port: added WRITER_APPROACH == 1 implementation to ring port Michal Jastrzebski
2015-05-17 21:44   ` Thomas Monjalon
2015-05-19 22:49     ` Dumitrescu, Cristian
2015-05-19 23:19       ` Thomas Monjalon [this message]
2015-04-30 11:58 ` [dpdk-dev] [PATCH v2 2/3] port: added ethdev_writer_nodrop port Michal Jastrzebski
2015-04-30 11:58 ` [dpdk-dev] [PATCH v2 3/3] port: added ring_writer_nodrop port Michal Jastrzebski
2015-05-05 15:06 ` [dpdk-dev] [PATCH v2 0/3] port: added ethdev_writer_nodrop and ring_writer_nodrop ports Dumitrescu, Cristian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5551241.fJIiJj5JWx@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=cristian.dumitrescu@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).