netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Love <robert.w.love@intel.com>
To: David Miller <davem@davemloft.net>
Cc: "jpirko@redhat.com" <jpirko@redhat.com>,
	"James.Bottomley@suse.de" <James.Bottomley@suse.de>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"devel@open-fcoe.org" <devel@open-fcoe.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"fubar@us.ibm.com" <fubar@us.ibm.com>,
	"joe.eykholt@gmail.com" <joe.eykholt@gmail.com>
Subject: Re: fcoe: correct checking for bonding
Date: Mon, 14 Mar 2011 12:04:07 -0700	[thread overview]
Message-ID: <1300129447.19083.258.camel@fritz> (raw)
In-Reply-To: <20110312.105944.193725929.davem@davemloft.net>

On Sat, 2011-03-12 at 10:59 -0800, David Miller wrote:
> From: Jiri Pirko <jpirko@redhat.com>
> Date: Sat, 12 Mar 2011 13:01:10 +0100
> 
> > Thu, Mar 03, 2011 at 02:09:18AM CET, robert.w.love@intel.com wrote:
> >>On Wed, 2011-03-02 at 01:55 -0800, Jiri Pirko wrote:
> >>> Or perhaps this should be applied to net-next?
> >>> 
> >>I think this should go through scsi-misc as all the other
> >>libfc/libfcoe/fcoe patches do.
> >>
> >>> Wed, Mar 02, 2011 at 07:05:35AM CET, jpirko@redhat.com wrote:
> >>> >Check for bonding master and refuse to use that.
> >>> >
> >>> >Signed-off-by: Jiri Pirko <jpirko@redhat.com>
> >>> >---
> >>> > drivers/scsi/fcoe/fcoe.c |    4 +---
> >>> > 1 files changed, 1 insertions(+), 3 deletions(-)
> >>> >
> >>> >diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
> >>> >index 9f9600b..3becc6a 100644
> >>> >--- a/drivers/scsi/fcoe/fcoe.c
> >>> >+++ b/drivers/scsi/fcoe/fcoe.c
> >>> >@@ -285,9 +285,7 @@ static int fcoe_interface_setup(struct fcoe_interface *fcoe,
> >>> > 	}
> >>> > 
> >>> > 	/* Do not support for bonding device */
> >>> >-	if ((netdev->priv_flags & IFF_MASTER_ALB) ||
> >>> >-	    (netdev->priv_flags & IFF_SLAVE_INACTIVE) ||
> >>> >-	    (netdev->priv_flags & IFF_MASTER_8023AD)) {
> >>> >+	if (netdev->priv_flags & IFF_BONDING && netdev->flags & IFF_MASTER) {
> >>> > 		FCOE_NETDEV_DBG(netdev, "Bonded interfaces not supported\n");
> >>> > 		return -EOPNOTSUPP;
> >>> > 	}
> >>> >-- 
> >>> >1.7.3.4
> >>> >
> >>
> >>James, feel free to pick up this patch. I don't have anything in my fcoe
> >>tree right now that it would conflict with. I'll also put it in my tree
> >>and resend if you don't put it into scsi-misc directly.
> > 
> > What's the status of this? Maybe this should rather go thru net-next
> 
> Sure, I can take this.  I'll look at it later.

Hi Dave,

   I'd rather have this patch go through scsi-misc. Most, if not all,
libfc, libfcoe and fcoe patches have taken this path. The way it has
been working is that I have been collecting fcoe patches and re-posting
them to scsi-misc after I have reviewed them and done some basic
testing.

   Taking a patch like this through net{-next} could cause a merge
problem at Linus' level if a later patch makes it though the normal
process and conflicts. This is what I want to avoid.

   This patch, although appreciated, isn't critical. I have collected it
into my tree and will re-post it to scsi-misc. I see no reason to treat
this patch differently from other patches.

   Ultimately I just want things to go smoothly, so I'll leave it up to
James and you to figure out what to do.

Thanks, //Rob


  reply	other threads:[~2011-03-14 19:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02  6:05 fcoe: correct checking for bonding Jiri Pirko
2011-03-02  9:55 ` Jiri Pirko
2011-03-03  1:09   ` Robert Love
2011-03-12 12:01     ` Jiri Pirko
2011-03-12 18:59       ` David Miller
2011-03-14 19:04         ` Robert Love [this message]
2011-03-14 19:22           ` Jiri Pirko
2011-03-14 20:20             ` David Miller
2011-03-14 20:53               ` James Bottomley
2011-03-14 21:04                 ` David Miller

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=1300129447.19083.258.camel@fritz \
    --to=robert.w.love@intel.com \
    --cc=James.Bottomley@suse.de \
    --cc=davem@davemloft.net \
    --cc=devel@open-fcoe.org \
    --cc=fubar@us.ibm.com \
    --cc=joe.eykholt@gmail.com \
    --cc=jpirko@redhat.com \
    --cc=linux-scsi@vger.kernel.org \
    --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).