From: Bob Biloxi <iambobbiloxi@gmail.com>
To: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: Can a PF driver access the VF config space, BAR(MMIO) etc?
Date: Wed, 24 Sep 2014 22:10:01 +0530 [thread overview]
Message-ID: <CANwwZzUvLHVGshgqrf_w4Pz8wP1H95YAXWLpWFTLD1hWKE_voA@mail.gmail.com> (raw)
Hi,
I am new to writing pci sriov drivers. So i could use your help and
expertise here....
As I understand once sriov is enabled, the PF driver can access the
PF(Physical Function) configuration space, BAR(MMIO) etc and the VF
driver can access the VF(Virtual Function) configuration space,
BAR(MMIO)...
Is it possible for a PF driver to access the VF config space, BAR(MMIO)?
If yes, can you please point me as to what needs to be done in order
to do it(existing driver sources will be really helpful).
Now as to why this requirement is if the PF driver is ready and the VF
driver is still under development, and I want to simulate the VF
functionality from PF itself.
It would be of immense help to me if anyone can help me understand my
aforementioned query.
Thanks a lot!!!
Best Regards,
Bob
next reply other threads:[~2014-09-24 16:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-24 16:40 Bob Biloxi [this message]
2014-09-24 17:42 ` Can a PF driver access the VF config space, BAR(MMIO) etc? Sunil Kovvuri
2014-09-25 6:50 ` Bob Biloxi
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=CANwwZzUvLHVGshgqrf_w4Pz8wP1H95YAXWLpWFTLD1hWKE_voA@mail.gmail.com \
--to=iambobbiloxi@gmail.com \
--cc=linux-pci@vger.kernel.org \
--cc=linux-rdma@vger.kernel.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).