netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick Simmons <linuxrocks123@netscape.net>
To: Andy Gospodarek <gospo@cumulusnetworks.com>,
	Jay Vosburgh <jay.vosburgh@canonical.com>
Cc: Michal Kubecek <mkubecek@suse.cz>,
	netdev@vger.kernel.org, Veaceslav Falico <vfalico@gmail.com>
Subject: Re: [PATCH] Experimental new bonding driver mode=batman
Date: Wed, 20 May 2015 18:48:14 -0400	[thread overview]
Message-ID: <555D0F2E.90708@netscape.net> (raw)
In-Reply-To: <20150520200420.GN9559@gospo.home.greyhouse.net>

On 05/20/2015 04:04 PM, Andy Gospodarek wrote:
>
> Well I can now delete most of my initial response.  :)
>
> Overall I would say this is really cool functionality.  Even if you do
> not want it merged, I think it is great that you shared it with the
> community this way.  I got a chance to look at is a bit this morning and
> I agree additional explanation of the algorithm you are using would
> probably be nice for those checking this out for the first time.

Thanks :)  I explained the algorithm in my last email to the list, so I 
won't repeat it here.

>
> I also think if you would be able to leverage the exiting bonding infra
> for using skb->queue_mapping you could probably add the same
> functionality (though it might be higher in the stack), but I totally
> understand if you want to just keep using what you are using as-is.
>
>

I didn't know about the queue_mapping thing.  Thanks for the pointer.

One thing I considered doing that I didn't ultimately do was try to 
implement this as a TUN device.  Userspace coding is always easier and, 
in retrospect, finding some way to manually parse IP and TCP packet 
headers would likely have been trying to debug kernel memory corruption 
bugs.  But another downside would have been that I'm pretty sure all the 
slaves would have had to have been set to promiscuous mode to make it work.

--Patrick Simmons

-- 
If I'm not here, I've gone out to find myself.  If I get back before I 
return, please keep me here.

  reply	other threads:[~2015-05-20 22:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19  6:09 [PATCH] Experimental new bonding driver mode=batman Patrick Simmons
2015-05-19  7:49 ` Michal Kubecek
2015-05-19  8:29   ` Patrick Simmons
2015-05-20  7:32     ` Michal Kubecek
2015-05-20 17:45       ` Jay Vosburgh
2015-05-20 20:04         ` Andy Gospodarek
2015-05-20 22:48           ` Patrick Simmons [this message]
2015-05-20 22:37         ` Patrick Simmons
2015-05-19  7:58 ` Jonathan Toppins

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=555D0F2E.90708@netscape.net \
    --to=linuxrocks123@netscape.net \
    --cc=gospo@cumulusnetworks.com \
    --cc=jay.vosburgh@canonical.com \
    --cc=mkubecek@suse.cz \
    --cc=netdev@vger.kernel.org \
    --cc=vfalico@gmail.com \
    /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).