dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Ravi Kerur <rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Thomas Monjalon
	<thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
Cc: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: [PATCH v5 6/8] Move common functions in eal_pci.c
Date: Thu, 16 Apr 2015 15:12:57 -0700	[thread overview]
Message-ID: <CAFb4SLBy-y-q9xFGZfQKVGmDFSU8BEh_ZJsqZySh9g_n4sj8nA@mail.gmail.com> (raw)
In-Reply-To: <1432996.oUgD5RRFGj@xps13>

On Thu, Apr 16, 2015 at 2:02 AM, Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
wrote:

> This patch is very sensible and difficult to follow.
> I'm really afraid that some nasty bugs could be hidden.
> Please could you try to split it in several steps?
> Thanks
>

Sure, will drop eal_pci_uio.c and eal_pci_vfio.c  changes and will send out
new version.

>
> 2015-04-09 12:40, Ravi Kerur:
> > Changes in v5
> > Rebase to latest code.
> > Removed RTE_EXEC_ENV_BSDAPP from earlier changes.
> >
> > Changes in v4
> > Move common functions in eal_pci.c to librte_eal/common/
> > eal_common_pci.c file.
> >
> > Following functions are moved to eal_common_pci.c file.
> >
> > void *pci_map_resource(void *requested_addr, const int vfio_fd,
> >       const char *devname, off_t offset, size_t size);
> > int pci_addr_comparison(struct rte_pci_addr *addr,
> >                         struct rte_pci_addr *addr2);
> > int rte_eal_pci_probe_one_driver(struct rte_pci_driver *dr,
> >                         struct rte_pci_device *dev);
> >
> > Use RTE_EXEC_ENV_BSDAPP to differentiate minor differences in
> > common function.
> > Fix checkpatch warnings and errors.
> >
> > Changes in v3
> > N/A
> >
> > Changes in v2
> > N/A
> >
> > Changes in v1
> > N/A
> >
> > Signed-off-by: Ravi Kerur <rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > ---
> >  lib/librte_eal/bsdapp/eal/eal_pci.c        | 122
> ++++-----------------------
> >  lib/librte_eal/common/eal_common_pci.c     | 130
> ++++++++++++++++++++++++++++-
> >  lib/librte_eal/common/eal_private.h        |  48 +++++++++++
> >  lib/librte_eal/linuxapp/eal/eal_pci.c      | 100 +---------------------
> >  lib/librte_eal/linuxapp/eal/eal_pci_init.h |   6 --
> >  lib/librte_eal/linuxapp/eal/eal_pci_uio.c  |  36 ++------
> >  lib/librte_eal/linuxapp/eal/eal_pci_vfio.c |  17 ++--
> >  7 files changed, 212 insertions(+), 247 deletions(-)
>
>

      reply	other threads:[~2015-04-16 22:12 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09 19:38 [PATCH v5 0/8] Move common functions in EAL Ravi Kerur
     [not found] ` <1428608301-31033-1-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-09 19:40   ` Ravi Kerur
     [not found]     ` <1428608412-31191-1-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-09 19:40       ` [PATCH v5 1/8] Move common functions in eal_thread.c Ravi Kerur
     [not found]         ` <1428608412-31191-2-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-14 13:59           ` Thomas Monjalon
2015-04-14 21:35             ` Ravi Kerur
     [not found]               ` <CAFb4SLBUrSviEu3+f-vv3j4OktjodM5Dy0AUbxrpa2QtxpAVWQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-16 22:19                 ` Ravi Kerur
2015-04-09 19:40       ` [PATCH v5 2/8] Move common functions in eal.c Ravi Kerur
     [not found]         ` <1428608412-31191-3-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16  8:24           ` Thomas Monjalon
2015-04-16 22:08             ` Ravi Kerur
     [not found]               ` <CAFb4SLCt6HAnL7tb7HJB2HBvHPoMghkv-e-pCiK_EyjYB_p9ew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-16 22:22                 ` Ravi Kerur
2015-04-09 19:40       ` [PATCH v5 3/8] Move common functions in eal_lcore.c Ravi Kerur
     [not found]         ` <1428608412-31191-4-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16  8:39           ` Thomas Monjalon
2015-04-16 22:10             ` Ravi Kerur
2015-04-09 19:40       ` [PATCH v5 4/8] Move common functions in eal_timer.c Ravi Kerur
     [not found]         ` <1428608412-31191-5-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16  8:46           ` Thomas Monjalon
2015-04-16 22:11             ` Ravi Kerur
2015-04-09 19:40       ` [PATCH v5 5/8] Move common functions in eal_memory.c Ravi Kerur
     [not found]         ` <1428608412-31191-6-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16  8:52           ` Thomas Monjalon
2015-04-16 22:11             ` Ravi Kerur
2015-04-09 19:40       ` [PATCH v5 6/8] Move common functions in eal_pci.c Ravi Kerur
     [not found]         ` <1428608412-31191-7-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16  9:02           ` Thomas Monjalon
2015-04-16 22:12             ` Ravi Kerur [this message]

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=CAFb4SLBy-y-q9xFGZfQKVGmDFSU8BEh_ZJsqZySh9g_n4sj8nA@mail.gmail.com \
    --to=rkerur-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@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 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).