]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bonding'
authorDavid S. Miller <davem@davemloft.net>
Sat, 4 Jan 2014 02:03:27 +0000 (21:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jan 2014 02:03:27 +0000 (21:03 -0500)
commit3a5ddd536758aaecb3be648c24a99275a1d9acb3
tree9b760e38d559ae6ac7611bc03e4b7f418cf2c7f4
parent69941daac41ccabac357a4794b92619deea658d9
parent6cdb030ab70d746fc5a675a65ab634168f27e39a
Merge branch 'bonding'

Scott Feldman says:

====================
bonding: final set of netlink patches

v2:

 - per Jiri's comment, fix ad_select checking against parm table by
   spliting bond_parse_parm() into several funcs.  Go ahead and apply
   same technique to all parameters using parm table.

 - fix netlink msg size to including missing nest attr

 - drop the last patch for active_slaves.  This patch needs to be
   reworked per Jiri's comments and shouldn't hold up finalizing
   the conversion of the existing parameter to netlink attributes.

Ding, assuming this patch set goes in, you should have all you
need to start converting module parameter setting/checking over to
funcs in *_options.c.

I'll send iproute2 patch for bonding netlink support once this patch
set is accepted.

v1:

The following series implements the last set of bonding netlink attributes
for 802.3ad mode:

lacp_rate
ad_select
ad_info, nest of:
ad_aggregator
ad_num_ports
ad_actor_key
ad_partner_key
ad_partner_mac

The last patch adds an additional netlink attribute, active_slaves, which
is a nested list of ifindices for current active slaves.  We're using this
list to enable/disable hashing of ports in a hardware LAG implementation.
In the same way bonding driver includes/excludes ports for 802.3ad egress
hashing, hardware ports are included/excluded from egress hashing by
hardware based on port active status.  Yes, data path offloaded to
hardware, control path remains in kernel via bonding driver.
====================

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