linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Or Gerlitz <or.gerlitz@gmail.com>
To: Bob Biloxi <iambobbiloxi@gmail.com>
Cc: "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	Jack Morgenstein <jackm@dev.mellanox.co.il>
Subject: Re: mlx4 - query regarding PF VF functionality division
Date: Wed, 25 Jun 2014 23:43:20 +0300	[thread overview]
Message-ID: <CAJZOPZK0naRu_rv-MMPp9y9Eg_baEJXSGzdERQLWvi3Bh9qD+g@mail.gmail.com> (raw)
In-Reply-To: <CANwwZzXc2UyYxGX2X+O38jTVki70HrP71FBWbc4dTyt9nEN0nA@mail.gmail.com>

On Tue, Jun 24, 2014 at 4:42 PM, Bob Biloxi <iambobbiloxi@gmail.com> wrote:
>
> > Not really, but let's take EIM approach, what's your goal/mission?
> Let's say I am going through code to understand only the PF related
> functionality without bothering about VF, what are the things I need
> to keep in mind.



I see, by the nature of the mlx4 SRIOV architecture under which
there's no dedicated/separated PF vs VF driver, this is indeed a
non-trivial task, need to think how to make it easier for you

Or.


>
> I mean do i need to :
>
> a. Go through all the files in mlx4
> b. If the code is not specifically under mlx4_is_master, I still need
> to understand it because it is also part of PF driver
> c. I can ignore the logic which executes if mlx4_is_master is false,
> because that would be the VF code
>
> Thanks for the help!!
>
>
>
>
> On Mon, Jun 23, 2014 at 5:30 PM, Or Gerlitz <or.gerlitz@gmail.com> wrote:
> > On Mon, Jun 23, 2014 at 12:33 PM, Bob Biloxi <iambobbiloxi@gmail.com> wrote:
> > [...]
> >> Is there any way we can clearly separate the files that are used by PF
> >> vs the files that are used by VF in the (drivers/net/ethernet/mlx4
> >> sub-directory)?
> > [...]
> >
> > Not really, but let's take EIM approach, what's your goal/mission?
> >
> > Or.

  reply	other threads:[~2014-06-25 20:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-23  9:33 mlx4 - query regarding PF VF functionality division Bob Biloxi
2014-06-23 12:00 ` Or Gerlitz
2014-06-24 13:42   ` Bob Biloxi
2014-06-25 20:43     ` Or Gerlitz [this message]
2014-06-26  9:03       ` 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=CAJZOPZK0naRu_rv-MMPp9y9Eg_baEJXSGzdERQLWvi3Bh9qD+g@mail.gmail.com \
    --to=or.gerlitz@gmail.com \
    --cc=iambobbiloxi@gmail.com \
    --cc=jackm@dev.mellanox.co.il \
    --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).