All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Premkumar Jonnala <pjonnala@broadcom.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH] bonding: Offloading bonds to hardware
Date: Fri, 13 Nov 2015 22:11:32 +0100	[thread overview]
Message-ID: <20151113211132.GE20320@lunn.ch> (raw)
In-Reply-To: <77EF4405DD4BB54AACCE7DB593DF6A9A9FD653@SJEXCHMB14.corp.ad.broadcom.com>

On Thu, Nov 12, 2015 at 04:02:18PM +0000, Premkumar Jonnala wrote:
> Packet forwarding to/from bond interfaces is done in software.
> 
> This patch enables certain platforms to bridge traffic to/from
> bond interfaces in hardware.  Notifications are sent out when 
> the "active" slave set for a bond interface is updated in 
> software.  Platforms use the notifications to program the 
> hardware accordingly.

Hi Premkumar

I can think of three use cases of binding with hardware offload
engines:

1) External user ports of the switch are bonded together into a trunk.

2) Host Ethernet ports connected to the switch are bonded together so
you get double the bandwidth between the host and the switch.

3) In DSA setups where you have a cluster of switches, some switch
ports connect to other switch ports, so forming the cluster. You can
bond ports together to double the bandwidth between switches in the
cluster.

The requirements here are quite different in each case. 
Which of these uses cases are you trying to address?

      Thanks
	Andrew

  parent reply	other threads:[~2015-11-13 21:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12 16:02 [PATCH] bonding: Offloading bonds to hardware Premkumar Jonnala
2015-11-12 17:08 ` Andrew Lunn
2015-11-14  9:40   ` Jiri Pirko
2015-11-13 18:38 ` Florian Fainelli
2015-11-13 19:10   ` David Miller
2015-11-16  6:12     ` Premkumar Jonnala
2015-11-16  6:51       ` David Miller
2015-11-16  6:49     ` Premkumar Jonnala
2015-11-16  6:54       ` David Miller
2015-11-16  6:10   ` Premkumar Jonnala
2015-11-13 21:11 ` Andrew Lunn [this message]
2015-11-16  6:15   ` Premkumar Jonnala
2015-11-14  9:39 ` Jiri Pirko
2015-11-15  5:51   ` John Fastabend
2015-11-15  9:01     ` Jiri Pirko
2015-11-16 16:24       ` John Fastabend
2015-11-16  6:48   ` Premkumar Jonnala
2015-11-16  7:46     ` Jiri Pirko

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=20151113211132.GE20320@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=netdev@vger.kernel.org \
    --cc=pjonnala@broadcom.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.