* [PATCH net-next v2 0/5] bonding: final set of netlink patches
@ 2014-01-03 22:18 Scott Feldman
2014-01-04 2:03 ` David Miller
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Scott Feldman @ 2014-01-03 22:18 UTC (permalink / raw)
To: vfalico, fubar, andy; +Cc: netdev, roopa, shm, jiri, dingtianhong
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.
---
Scott Feldman (5):
bonding: add lacp_rate attribute netlink support
bonding: add ad_select attribute netlink support
bonding: add ad_info attribute netlink support
bonding: fix netlink msg size
bonding: add bounds checking for tbl params
drivers/net/bonding/bond_main.c | 45 +++++++++++------
drivers/net/bonding/bond_netlink.c | 67 +++++++++++++++++++++++++
drivers/net/bonding/bond_options.c | 96 ++++++++++++++++++++++++++++++++----
drivers/net/bonding/bond_sysfs.c | 69 +++++++++-----------------
drivers/net/bonding/bonding.h | 3 +
include/uapi/linux/if_link.h | 14 +++++
6 files changed, 221 insertions(+), 73 deletions(-)
--
Signature
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next v2 0/5] bonding: final set of netlink patches
2014-01-03 22:18 [PATCH net-next v2 0/5] bonding: final set of netlink patches Scott Feldman
@ 2014-01-04 2:03 ` David Miller
2014-01-04 10:39 ` Jiri Pirko
2014-01-06 0:52 ` Ding Tianhong
2014-01-06 2:28 ` Ding Tianhong
2 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2014-01-04 2:03 UTC (permalink / raw)
To: sfeldma; +Cc: vfalico, fubar, andy, netdev, roopa, shm, jiri, dingtianhong
From: Scott Feldman <sfeldma@cumulusnetworks.com>
Date: Fri, 03 Jan 2014 14:18:34 -0800
> The following series implements the last set of bonding netlink attributes
> for 802.3ad mode:
Series applied, thanks Scott.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next v2 0/5] bonding: final set of netlink patches
2014-01-04 2:03 ` David Miller
@ 2014-01-04 10:39 ` Jiri Pirko
0 siblings, 0 replies; 5+ messages in thread
From: Jiri Pirko @ 2014-01-04 10:39 UTC (permalink / raw)
To: David Miller
Cc: sfeldma, vfalico, fubar, andy, netdev, roopa, shm, dingtianhong
Sat, Jan 04, 2014 at 03:03:54AM CET, davem@davemloft.net wrote:
>From: Scott Feldman <sfeldma@cumulusnetworks.com>
>Date: Fri, 03 Jan 2014 14:18:34 -0800
>
>> The following series implements the last set of bonding netlink attributes
>> for 802.3ad mode:
>
>Series applied, thanks Scott.
Just for the record:
Set
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next v2 0/5] bonding: final set of netlink patches
2014-01-03 22:18 [PATCH net-next v2 0/5] bonding: final set of netlink patches Scott Feldman
2014-01-04 2:03 ` David Miller
@ 2014-01-06 0:52 ` Ding Tianhong
2014-01-06 2:28 ` Ding Tianhong
2 siblings, 0 replies; 5+ messages in thread
From: Ding Tianhong @ 2014-01-06 0:52 UTC (permalink / raw)
To: Scott Feldman, vfalico, fubar, andy; +Cc: netdev, roopa, shm, jiri
On 2014/1/4 6:18, Scott Feldman wrote:
> 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.
>
OK, thanks!
Regards
Ding
> 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.
>
> ---
>
> Scott Feldman (5):
> bonding: add lacp_rate attribute netlink support
> bonding: add ad_select attribute netlink support
> bonding: add ad_info attribute netlink support
> bonding: fix netlink msg size
> bonding: add bounds checking for tbl params
>
>
> drivers/net/bonding/bond_main.c | 45 +++++++++++------
> drivers/net/bonding/bond_netlink.c | 67 +++++++++++++++++++++++++
> drivers/net/bonding/bond_options.c | 96 ++++++++++++++++++++++++++++++++----
> drivers/net/bonding/bond_sysfs.c | 69 +++++++++-----------------
> drivers/net/bonding/bonding.h | 3 +
> include/uapi/linux/if_link.h | 14 +++++
> 6 files changed, 221 insertions(+), 73 deletions(-)
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next v2 0/5] bonding: final set of netlink patches
2014-01-03 22:18 [PATCH net-next v2 0/5] bonding: final set of netlink patches Scott Feldman
2014-01-04 2:03 ` David Miller
2014-01-06 0:52 ` Ding Tianhong
@ 2014-01-06 2:28 ` Ding Tianhong
2 siblings, 0 replies; 5+ messages in thread
From: Ding Tianhong @ 2014-01-06 2:28 UTC (permalink / raw)
To: Scott Feldman, vfalico, fubar, andy; +Cc: netdev, roopa, shm, jiri
On 2014/1/4 6:18, Scott Feldman wrote:
> 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.
>
Hi scott:
I have reviewed the bond_options.c and the function bond_option_xxx_set(), I
found I miss something that the operand bond is not exist when bond_param_check(),
so I could not use the existed bond_option_xxx_set(), if I want to convert the
module paramter setting/checking, I need to modify the bond_option_xxx_set() or
add new funcs.
Regards
Ding
> 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.
>
> ---
>
> Scott Feldman (5):
> bonding: add lacp_rate attribute netlink support
> bonding: add ad_select attribute netlink support
> bonding: add ad_info attribute netlink support
> bonding: fix netlink msg size
> bonding: add bounds checking for tbl params
>
>
> drivers/net/bonding/bond_main.c | 45 +++++++++++------
> drivers/net/bonding/bond_netlink.c | 67 +++++++++++++++++++++++++
> drivers/net/bonding/bond_options.c | 96 ++++++++++++++++++++++++++++++++----
> drivers/net/bonding/bond_sysfs.c | 69 +++++++++-----------------
> drivers/net/bonding/bonding.h | 3 +
> include/uapi/linux/if_link.h | 14 +++++
> 6 files changed, 221 insertions(+), 73 deletions(-)
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-01-06 2:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-03 22:18 [PATCH net-next v2 0/5] bonding: final set of netlink patches Scott Feldman
2014-01-04 2:03 ` David Miller
2014-01-04 10:39 ` Jiri Pirko
2014-01-06 0:52 ` Ding Tianhong
2014-01-06 2:28 ` 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).