netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hardware capabilities and bonding offload
@ 2015-11-16  9:29 Premkumar Jonnala
  2015-11-16 15:30 ` Jiri Pirko
  0 siblings, 1 reply; 8+ messages in thread
From: Premkumar Jonnala @ 2015-11-16  9:29 UTC (permalink / raw)
  To: netdev@vger.kernel.org

Hello,

I am looking to offload bond interfaces to hardware for forwarding.  Linux allows for configuring 
a variety of parameters on bonds or slave interfaces.  Not all configurations can be offloaded to 
hardware.  For example, certain hardware cannot support bonds with mode of adaptive load balancing.

When such a configuration is provided by user, we have two options at hand (for platforms supporting
hardware offloads):

1. Reject the configuration.  

2. Handle the bond interface in software.  In a scenario where this bond interface is part
of a bridge interface, for simplicity purpose, all other interfaces in the bridge need to be 
handled in software - which results in a very low packet processing performance.

I'm writing to gather feedback on the approach to take, including any other suggestions.
We have discussed this briefly in our weekly netdev meeting, and I received votes for
option #1.

Thanks
Prem

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-11-18 14:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-16  9:29 Hardware capabilities and bonding offload Premkumar Jonnala
2015-11-16 15:30 ` Jiri Pirko
2015-11-16 16:10   ` John Fastabend
2015-11-17 22:03     ` Simon Horman
2015-11-18  0:57       ` John Fastabend
2015-11-18 14:05         ` Andrew Lunn
2015-11-18 14:29           ` Jiri Pirko
2015-11-18 14:50             ` Andrew Lunn

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).