All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: "Pattan, Reshma" <reshma.pattan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [PATCH v7] distributor_app: new sample app
Date: Thu, 13 Nov 2014 22:30:16 +0100	[thread overview]
Message-ID: <2996275.IBF3pFpS8C@xps13> (raw)
In-Reply-To: <E115CCD9D858EF4F90C690B0DCB4D89726832624-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>

Hi Reshma,

> > From: Reshma Pattan <reshma.pattan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> > 
> > A new sample app that shows the usage of the distributor library. This
> > app works as follows:
> > 
> > * An RX thread runs which pulls packets from each ethernet port in turn
> >   and passes those packets to worker using a distributor component.
> > * The workers take the packets in turn, and determine the output port
> >   for those packets using basic l2forwarding doing an xor on the source
> >   port id.
> > * The RX thread takes the returned packets from the workers and enqueue
> >   those packets into an rte_ring structure.
> > * A TX thread pulls the packets off the rte_ring structure and then
> >   sends each packet out the output port specified previously by the worker
> > * Command-line option support provided only for portmask.
> > 
> > v5 change:
> > * Handled gracefull shutdown of rx and tx threads upon SIGINT.
> > 
> > v6 change:
> > * modified graceful shutdown logic to handle all threads upon SIGINT
> > * removed call to rte_eal_pci_probe()
> > * added seperate print_stats function
> > 
> > v7 change:
> > * passing NULL as rxconf/txconf parameter for rx/tx queue setup
> > * removed zero-ed fields from port conf structure
> > * fixed style related comments
> > 
> > 
> > Signed-off-by: Bruce Richardson <bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> > Signed-off-by: Reshma Pattan <reshma.pattan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Before applying this patch, I have 2 comments:
- Other examples directories don't have _app suffix.
- checkpatch reports "switch and case should be at the same indent"

If you agree I will fix these 2 minor issues before applying.

Thanks
-- 
Thomas

  parent reply	other threads:[~2014-11-13 21:30 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-16 12:13 [PATCH 0/3] distributor_app: new sample application for distributor library reshmapa
     [not found] ` <1410869607-16842-1-git-send-email-reshma.pattan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-09-16 12:13   ` [PATCH 1/3] distributor_app: new sample app reshmapa
2014-09-16 12:13   ` [PATCH 2/3] distributor_app: code review comments implementation reshmapa
2014-09-16 12:13   ` [PATCH 3/3] distributor_app: removed extra spaces reshmapa
2014-09-23 12:55   ` [PATCH 0/3] distributor_app: new sample application for distributor library Bruce Richardson
2014-09-24 14:16   ` [PATCH v2] distributor_app: new sample app reshmapa
     [not found]     ` <1411568210-2555-1-git-send-email-reshma.pattan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-09-26 15:11       ` De Lara Guarch, Pablo
     [not found]         ` <E115CCD9D858EF4F90C690B0DCB4D89722626933-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-26 15:51           ` Ananyev, Konstantin
     [not found]             ` <2601191342CEEE43887BDE71AB9772582137D8B1-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-29 12:39               ` Pattan, Reshma
     [not found]                 ` <3AEA2BF9852C6F48A459DA490692831FE20598-kPTMFJFq+rHjxeytcECX8bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-29 13:06                   ` Ananyev, Konstantin
     [not found]                     ` <2601191342CEEE43887BDE71AB97725821387654-kPTMFJFq+rGvNW/NfzhIbrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-29 13:35                       ` De Lara Guarch, Pablo
     [not found]                         ` <E115CCD9D858EF4F90C690B0DCB4D8972262823A-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-29 14:35                           ` Neil Horman
2014-09-30  8:02                           ` Pattan, Reshma
     [not found]                             ` <3AEA2BF9852C6F48A459DA490692831FE208B3-kPTMFJFq+rHjxeytcECX8bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-09-30  9:21                               ` Ananyev, Konstantin
2014-09-30 10:39       ` [PATCH v3] " reshmapa
     [not found]         ` <1412073577-12248-1-git-send-email-reshma.pattan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-09-30 11:34           ` Neil Horman
     [not found]             ` <20140930113445.GB2193-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-09-30 12:18               ` Bruce Richardson
2014-09-30 13:39                 ` Neil Horman
     [not found]                   ` <20140930133958.GG2193-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-10-01 14:47                     ` Pattan, Reshma
     [not found]                       ` <3AEA2BF9852C6F48A459DA490692831FE20FB6-kPTMFJFq+rHjxeytcECX8bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-01 14:56                         ` Neil Horman
     [not found]                           ` <20141001145620.GB24028-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2014-10-01 15:37                             ` Bruce Richardson
2014-10-01 16:07                               ` Neil Horman
     [not found]                                 ` <20141001160746.GF24028-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2014-10-06 14:16                                   ` Pattan, Reshma
     [not found]                                     ` <3AEA2BF9852C6F48A459DA490692831FE2177E-kPTMFJFq+rHjxeytcECX8bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-06 14:44                                       ` Neil Horman
     [not found]                                         ` <20141006144448.GB22304-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2014-10-06 17:34                                           ` Pattan, Reshma
     [not found]                                             ` <3AEA2BF9852C6F48A459DA490692831FE21865-kPTMFJFq+rHjxeytcECX8bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-10-06 19:02                                               ` Neil Horman
2014-10-02  9:04                               ` Ananyev, Konstantin
2014-10-01 13:33           ` [PATCH v4] distributor_app: gracefull shutdown of tx/rx threads on SIGINT reshmapa
     [not found]             ` <1412170427-7245-1-git-send-email-reshma.pattan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-01 13:46               ` Pattan, Reshma
2014-10-01 13:49               ` Thomas Monjalon
2014-10-01 14:33               ` [PATCH v5] distributor_app: new sample app reshmapa
     [not found]                 ` <1412174020-15117-1-git-send-email-reshma.pattan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-17 13:59                   ` [PATCH v6] " Reshma Pattan
     [not found]                     ` <1413554380-22809-1-git-send-email-reshma.pattan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-11-02 20:08                       ` De Lara Guarch, Pablo
2014-11-03 15:49                       ` [PATCH v7] " Reshma Pattan
     [not found]                         ` <1415029784-16638-1-git-send-email-reshma.pattan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-11-03 16:03                           ` De Lara Guarch, Pablo
     [not found]                             ` <E115CCD9D858EF4F90C690B0DCB4D89726832624-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-13 21:30                               ` Thomas Monjalon [this message]
2014-11-14  8:44                                 ` Pattan, Reshma
     [not found]                                   ` <3AEA2BF9852C6F48A459DA490692831FE35F2D-kPTMFJFq+rHjxeytcECX8bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-16 21:59                                     ` Thomas Monjalon

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=2996275.IBF3pFpS8C@xps13 \
    --to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=reshma.pattan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.