]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bonding-team-offload'
authorDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 16:49:30 +0000 (11:49 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 16:49:30 +0000 (11:49 -0500)
commit8e5aa54be6812f6eb8ce27a54eda38ba1b5c21af
tree0bf3c28491ba01fb85311e4550c8637614539e3e
parente46743fd46e3c8eaf269bf73855332e11421d920
parent0f770cfce6ba754926bb51f48e471fae4e616660
Merge branch 'bonding-team-offload'

Jiri Pirko says:

====================
bonding/team offload + mlxsw implementation

This patchset introduces needed infrastructure for link aggregation
offload - for both team and bonding. It also implements the offload
in mlxsw driver.

Particulary, this patchset introduces possibility for upper driver
(bond/team/bridge/..) to pass type-specific info down to notifier listeners.
Info is passed along with NETDEV_CHANGEUPPER/NETDEV_PRECHANGEUPPER
notifiers. Listeners (drivers of netdevs being enslaved) can react
accordingly.

Other extension is for run-time use. This patchset introduces
new netdev notifier type - NETDEV_CHANGELOWERSTATE. Along with this
notification, the upper driver (bond/team/bridge/..) can pass some
information about lower device change, particulary link-up and
TX-enabled states. Listeners (drivers of netdevs being enslaved)
can react accordingly.

The last part of the patchset is implementation of LAG offload in mlxsw,
using both previously introduced infrastructre extensions.

Note that bond-speficic (and ugly) NETDEV_BONDING_INFO used by mlx4
can be removed and mlx4 can use the extensions this patchset adds.
I plan to convert it and get rid of NETDEV_BONDING_INFO in
a follow-up patchset.

v2->v3:
- one small fix in patch 1
v1->v2:
- added patch 1 and 2 per Andy's request
- couple of more or less cosmetic changes described in couple other patches
====================

Signed-off-by: David S. Miller <davem@davemloft.net>