linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Mason <jon.mason@intel.com>
To: chetan loke <loke.chetan@gmail.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	linux-pci@vger.kernel.org, Dave Jiang <dave.jiang@intel.com>
Subject: Re: [RFC v2 1/2] PCI-Express Non-Transparent Bridge Support
Date: Tue, 31 Jul 2012 10:27:09 -0700	[thread overview]
Message-ID: <20120731172709.GB14080@jonmason-lab> (raw)
In-Reply-To: <CAAsGZS5kOyQ5FQ7Jg3HxOmmPNYS+F6XcB-_3tm=rcgDV7wAvRQ@mail.gmail.com>

On Tue, Jul 31, 2012 at 12:02:20PM -0400, chetan loke wrote:
> On Tue, Jul 31, 2012 at 9:45 AM, Bjorn Helgaas <bhelgaas@google.com> wrote:
> > On Mon, Jul 30, 2012 at 12:15 PM, Jon Mason <jon.mason@intel.com> wrote:
> >>
> >> I've tried to make it all generic enough that non-Intel NTBs should plug in with
> >> minimal changes to ntb_hw.c.  If their design is too divergent, then a slight
> >> redesign of ntb_hw.c might be necessary.  But from what I've seen of other
> >> designs on the internet, they appear to be extremely similar.  The transport and
> >> client drivers were written with the hardware abstracted away as much as
> >> possible to prevent the need to modify it for different hardware.  If there is
> >> anything which is Intel hardware specific, I'd be happy to change it to make it
> >> more generic.
> >
> > That makes sense from a technical point of view, but I think it's
> > going to cause maintenance issues.  For example, assume PLX NTB
> > support is added.  Will PLX be happy about having to convince you to
> > accept changes?  Will Intel be happy about having to release a new
> 
> Do you mean convince Intel? Well, if we think of ntb as the class
> driver then the onus is on the community to vet the changes and NOT
> intel.
> And since this is the first NTB part for which the support is
> introduced the class driver design could be a moving target. As
> someone else mentioned, the async/sync tx-dma is another hook that
> could change the class driver's design.
> 
> 
> > driver for their hardware just to incorporate a PLX bug fix?  Will
> > users of PLX hardware accept a new driver release that only benefits
> > Intel users?
> 
> May be till the class driver is stable, the client(intel/PLX) drivers
> might have to be modified.  This is a cue for other vendors to
> chime-in and review this design?
> Just thinking if this could sit in staging for some time(so that
> others get a chance to review/suggest changes as well) and then get
> promoted out of staging.

I don't see the benefit of having the driver in staging.  Any vendors
who would notice the ntb driver in staging would be sitting on these
mailing lists and hopefully have planety of comments on the design.
Stashing the driver in staging while waiting for these comments (which
may never come) doesn't seem the best course of action.

Thanks,
Jon

> 
> Chetan Loke

  parent reply	other threads:[~2012-07-31 17:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30  0:26 [RFC v2 0/2] PCI-Express Non-Transparent Bridge Support Jon Mason
2012-07-30  0:26 ` [RFC v2 1/2] " Jon Mason
2012-07-30 16:50   ` Bjorn Helgaas
2012-07-30 18:15     ` Jon Mason
2012-07-31  3:35       ` Jianbin Kang
2012-07-31 16:33         ` Jon Mason
2012-08-01  2:10           ` Jianbin Kang
2012-08-01  2:18             ` Jiang, Dave
2012-07-31 13:45       ` Bjorn Helgaas
2012-07-31 16:02         ` chetan loke
2012-07-31 17:03           ` Bjorn Helgaas
2012-07-31 17:27           ` Jon Mason [this message]
2012-07-31 18:02             ` chetan loke
2012-08-02  1:43               ` Jon Mason
2012-07-31 17:10         ` Jon Mason
2012-07-31 16:14   ` chetan loke
2012-07-31 22:23   ` Greg KH
2012-07-31 22:51     ` Jon Mason
2012-07-31 23:14       ` Greg KH
2012-07-31 22:25   ` Greg KH
2012-08-02  1:49     ` Jon Mason
2012-07-30  0:26 ` [RFC v2 2/2] net: Add support for NTB virtual ethernet device Jon Mason
2012-07-30 14:02   ` Jiri Pirko
2012-07-30 18:19     ` Jon Mason
2012-07-30 20:09       ` Jiri Pirko
2012-07-31 22:28   ` Greg KH

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=20120731172709.GB14080@jonmason-lab \
    --to=jon.mason@intel.com \
    --cc=bhelgaas@google.com \
    --cc=dave.jiang@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=loke.chetan@gmail.com \
    --cc=netdev@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).