netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] bonding: final set of netlink patches
@ 2013-12-28  7:15 Scott Feldman
  2013-12-28 15:11 ` Ding Tianhong
  0 siblings, 1 reply; 2+ messages in thread
From: Scott Feldman @ 2013-12-28  7:15 UTC (permalink / raw)
  To: vfalico, fubar, andy; +Cc: netdev, roopa, shm, jiri

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.

---

Scott Feldman (4):
      bonding: add lacp_rate attribute netlink support
      bonding: add ad_select attribute netlink support
      bonding: add ad_info attribute netlink support
      bonding: add active_slaves attribute


 drivers/net/bonding/bond_netlink.c |  100 +++++++++++++++++++++++++++++++++
 drivers/net/bonding/bond_options.c |   51 +++++++++++++++++
 drivers/net/bonding/bond_sysfs.c   |  108 +++++++++++++++++++++---------------
 drivers/net/bonding/bonding.h      |    2 +
 include/uapi/linux/if_link.h       |   15 +++++
 5 files changed, 229 insertions(+), 47 deletions(-)

-- 
Signature

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

* Re: [PATCH net-next 0/4] bonding: final set of netlink patches
  2013-12-28  7:15 [PATCH net-next 0/4] bonding: final set of netlink patches Scott Feldman
@ 2013-12-28 15:11 ` Ding Tianhong
  0 siblings, 0 replies; 2+ messages in thread
From: Ding Tianhong @ 2013-12-28 15:11 UTC (permalink / raw)
  To: Scott Feldman, vfalico, fubar, andy; +Cc: netdev, roopa, shm, jiri

于 2013/12/28 15:15, Scott Feldman 写道:
> 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.
> 
> ---
> 
> Scott Feldman (4):
>       bonding: add lacp_rate attribute netlink support
>       bonding: add ad_select attribute netlink support
>       bonding: add ad_info attribute netlink support
>       bonding: add active_slaves attribute
> 
> 
>  drivers/net/bonding/bond_netlink.c |  100 +++++++++++++++++++++++++++++++++
>  drivers/net/bonding/bond_options.c |   51 +++++++++++++++++
>  drivers/net/bonding/bond_sysfs.c   |  108 +++++++++++++++++++++---------------
>  drivers/net/bonding/bonding.h      |    2 +
>  include/uapi/linux/if_link.h       |   15 +++++
>  5 files changed, 229 insertions(+), 47 deletions(-)
> 

Reviewed-by: Ding Tianhong <dingtianhong@huawei.com>

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

end of thread, other threads:[~2013-12-28 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-28  7:15 [PATCH net-next 0/4] bonding: final set of netlink patches Scott Feldman
2013-12-28 15:11 ` Ding Tianhong

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