[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eff0021c-5a9b-5c44-3fb7-24387cf13e16@kernel.org>
Date: Thu, 17 Mar 2022 12:49:54 -0600
From: David Ahern <dsahern@...nel.org>
To: Sun Shouxin <sunshouxin@...natelecom.cn>, j.vosburgh@...il.com,
vfalico@...il.com, andy@...yhouse.net, davem@...emloft.net,
kuba@...nel.org, yoshfuji@...ux-ipv6.org, oliver@...kum.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
huyd12@...natelecom.cn
Subject: Re: [PATCH v4] net:bonding:Add support for IPV6 RLB to balance-alb
mode
On 3/17/22 12:15 AM, Sun Shouxin wrote:
> This patch is implementing IPV6 RLB for balance-alb mode.
>
> Suggested-by: Hu Yadi <huyd12@...natelecom.cn>
> Signed-off-by: Sun Shouxin <sunshouxin@...natelecom.cn>
> ---
> changelog:
> v1-->v2:
> -Remove ndisc_bond_send_na and refactor ndisc_send_na.
> -In rlb_nd_xmit, if the lladdr is not local, return curr_active_slave.
> -Don't send neighbor advertisement message when receiving
> neighbor advertisement message in rlb6_update_entry_from_na.
>
> v2-->v3:
> -Don't export ndisc_send_na.
> -Use ipv6_stub->ndisc_send_na to replace ndisc_send_na
> in rlb6_update_client.
>
> v3-->v4:
> -Submit all code at a whole patch.
you misunderstood Jakub's comment. The code should evolve with small,
focused patches and each patch needs to compile and function correctly
(ie., no breakage).
You need to respond to Jiri's question about why this feature is needed.
After that:
1. patch 1 adds void *data to ndisc_send_na stub function and
ndisc_send_na direct function. Update all places that use both
ndisc_send_na to pass NULL as the data parameter.
2. patch 2 refactors ndisc_send_na to handle the new data argument
3. patch 3 exports any IPv6 functions. explain why each needs to be
exported.
4. patch 4 .... bonding changes. (bonding folks can respond on how to
introduce that change).
Powered by blists - more mailing lists