dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org>
To: David Marchand <david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
Cc: "dev-VfR2kkLFssw@public.gmane.org"
	<dev-VfR2kkLFssw@public.gmane.org>,
	Stephen Hemminger
	<shemming-43mecJUBy8ZBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH 1/4] pci: allow access to PCI config space
Date: Tue, 10 Feb 2015 15:49:47 -0800	[thread overview]
Message-ID: <20150210154947.34d0e292@uryu.home.lan> (raw)
In-Reply-To: <CALwxeUu7Ur-yXMcKu7Zkq16zqR6f5vU8DEX4Z8CET9G2ttjKgA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Mon, 9 Feb 2015 10:45:01 +0100
David Marchand <david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> wrote:

> Hello Stephen, 
> 
> - It looks a bit odd to me, we end up with something asymetric between uio / vfio wrt pci config space.
> Can we an api consistent between the two ?
> Does this mean that your pmd cannot work / has not been used with vfio ?
> 
> - Anyway, I suppose we could reuse this api to remove the RTE_PCI_CONFIG #ifdef / hardcoded stuff from linux eal / igb_uio.
> Opinion ?
> 
> 
> -- 
> David Marchand

Ok, please send patches to VFIO to use this API.
It is not possible to do VFIO style config access through older UIO.
Therefore a wrapper like this is needed.

  parent reply	other threads:[~2015-02-10 23:49 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06 18:36 [PATCH 0/4] Broadcom 10G NIC Poll Mode Driver Stephen Hemminger
     [not found] ` <1423247795-22399-1-git-send-email-stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org>
2015-02-06 18:36   ` [PATCH 1/4] pci: allow access to PCI config space Stephen Hemminger
     [not found]     ` <1423247795-22399-2-git-send-email-stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org>
2015-02-09  9:45       ` David Marchand
     [not found]         ` <CALwxeUu7Ur-yXMcKu7Zkq16zqR6f5vU8DEX4Z8CET9G2ttjKgA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-10 23:49           ` Stephen Hemminger [this message]
     [not found]     ` <c058fdefd5564f3f96bd21593c9ea19a@BRMWP-EXMB11.corp.brocade.com>
     [not found]       ` <c058fdefd5564f3f96bd21593c9ea19a-sI283RzA5cMA50eAn2D9H4CDckiq/fhJZeezCHUQhQ4@public.gmane.org>
2015-02-11  1:23         ` Stephen Hemminger
2015-02-06 18:36   ` [PATCH 2/4] bcm: add BCM pci device ids Stephen Hemminger
2015-02-06 18:36   ` [PATCH 3/4] bcm: new poll mode driver Stephen Hemminger
2015-02-06 18:36   ` [PATCH 4/4] bcm: enable BCM poll mode driver in config Stephen Hemminger
2015-02-07  9:15   ` [PATCH 0/4] Broadcom 10G NIC Poll Mode Driver Jun Xiao
     [not found]     ` <CACyt=TG8EgADhVpiWN4cu56z904hBFH4LyUJAPvgrWhddqemBQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-07 15:15       ` Stephen Hemminger
     [not found]         ` <CAOaVG17Yb0yYVxrpm_qo1w3mEyZXDzXN+LX2K8GAZ=7pc5Hv_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-07 16:05           ` Jun Xiao
     [not found]             ` <CACyt=TFiM3m3GkDs8HhoYRat7GEf6TE4hJYn31rR-TU=+=N4EQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-07 22:23               ` Stephen Hemminger
2015-02-12 14:00           ` Thomas Monjalon
2015-02-12 14:33             ` Stephen Hemminger
     [not found]               ` <20150212063353.6fb8d6a6-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org>
2015-02-12 14:56                 ` Thomas Monjalon
     [not found]               ` <0a8c8ae93e354bf0a74dd8ade9d1cc70@BRMWP-EXMB11.corp.brocade.com>
     [not found]                 ` <0a8c8ae93e354bf0a74dd8ade9d1cc70-sI283RzA5cMA50eAn2D9H4CDckiq/fhJZeezCHUQhQ4@public.gmane.org>
2015-02-12 21:45                   ` Stephen Hemminger
     [not found]                     ` <20150212164550.0a2b8e2a-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org>
2015-02-13  8:31                       ` Thomas Monjalon
  -- strict thread matches above, loose matches on Subject: below --
2015-05-07 23:25 [PATCH 0/4 v4] bnx2x: new poll mode driver Stephen Hemminger
     [not found] ` <1431041135-6289-1-git-send-email-stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org>
2015-05-07 23:25   ` [PATCH 1/4] pci: allow access to PCI config space Stephen Hemminger
2015-05-11 12:54     ` Neil Horman
     [not found]     ` <38426478085b4e779e18967cd1b6ae4f@BRMWP-EXMB11.corp.brocade.com>
2015-05-11 15:23       ` Stephen Hemminger
2015-05-11 15:37         ` Neil Horman
2015-05-11 17:30           ` Stephen Hemminger
2015-05-11 17:31       ` Stephen Hemminger
2015-05-12  9:56         ` Bruce Richardson

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=20150210154947.34d0e292@uryu.home.lan \
    --to=stephen-otpzqlsittunbdjkjebofr2eb7je58tq@public.gmane.org \
    --cc=david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=shemming-43mecJUBy8ZBDgjK7y7TUQ@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).