Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2270947pxp; Fri, 18 Mar 2022 07:08:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjSr8gHhp+tZVWSLPoC+RMDfmh/pAVl8p84e07mLTljTDwTGqZQiir2GxIRGW6loSTVofN X-Received: by 2002:a05:6402:3712:b0:416:13bf:4fc5 with SMTP id ek18-20020a056402371200b0041613bf4fc5mr9758437edb.115.1647612520589; Fri, 18 Mar 2022 07:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647612520; cv=none; d=google.com; s=arc-20160816; b=Rar6S2qQLuTxa9cU9CIHkFI+JXy6uq+I4HXO6fTWpL1h9I1Xhbo+SUr2mTYPXz4xGp IE33/zmOsP0EeGBYkRiJ7Ta0nYLb/3x2AKHhhdmJnQMlFXTPLhiNjWy38dGm46W7NWCb n2kJbhdne307VxnnWDgEVUAMasJaGa0WqOIPrJqsVsgkdKqyj1c43IMu1zgoctQIl0HV ZRyeZOBJ001MHKOqU3LOUibhCTnhg7Y8U7W9BQxHZMwngGG14nssq5lqVNCKJx+1pBTY IhbU/ECV0HPtzxbcBNJG+guMRPKqVDYapAfqZ52ekyerVqgiSL/Cu+J1ePAmF9Hvwnia 2BRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:hmm_source_type:hmm_attache_num:hmm_source_ip; bh=9sJlo6/0oLy7JTc+nq+NpQZzLFuS9mSf4Pu9k4dIGyQ=; b=wHmSlpLr6nUBamB0G4+/RRrAEg+IOe7No3NqbcaWNAJv9amFRKwB4AKhvwtUzkfE+Y O5uLDDit6jPkNfsNA40Mm15alZHoaNypJUd9ypeH6G3Z0UxqO8lVHpzzWCsRoConiHYD 6ERnPGMep8H45PHGgYKrMym+Yp5nbwRmB6TUlEmgollzkFLdKfWS/h3AfojPERAq3h1u gUbtiiva8VmO0ChYMPxatB9hjUAwUJXcnSfONx/eQa5LKLnUV5+ZzPzcThjlnd0VYILe osdp1GNA2Sev1aLE6fzCDTmp2L9bxyfGK7ced4SC6xBO2rDyf+9j+htHkrLXSslVtBR4 7gjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t15-20020a50ab4f000000b00418e9aea66esi3445866edc.180.2022.03.18.07.07.51; Fri, 18 Mar 2022 07:08:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234620AbiCRJvf (ORCPT + 99 others); Fri, 18 Mar 2022 05:51:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234552AbiCRJvd (ORCPT ); Fri, 18 Mar 2022 05:51:33 -0400 Received: from chinatelecom.cn (prt-mail.chinatelecom.cn [42.123.76.226]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4A4F11788C6; Fri, 18 Mar 2022 02:50:14 -0700 (PDT) HMM_SOURCE_IP: 172.18.0.218:60254.308099466 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-10.133.11.244 (unknown [172.18.0.218]) by chinatelecom.cn (HERMES) with SMTP id 9A0EE2800A3; Fri, 18 Mar 2022 17:50:06 +0800 (CST) X-189-SAVE-TO-SEND: sunshouxin@chinatelecom.cn Received: from ([172.18.0.218]) by app0025 with ESMTP id 45b732299e52413c94b77503edb2fa0c for dsahern@kernel.org; Fri, 18 Mar 2022 17:50:13 CST X-Transaction-ID: 45b732299e52413c94b77503edb2fa0c X-Real-From: sunshouxin@chinatelecom.cn X-Receive-IP: 172.18.0.218 X-MEDUSA-Status: 0 Sender: sunshouxin@chinatelecom.cn Message-ID: Date: Fri, 18 Mar 2022 17:50:06 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v4] net:bonding:Add support for IPV6 RLB to balance-alb mode To: David Ahern , j.vosburgh@gmail.com, vfalico@gmail.com, andy@greyhouse.net, davem@davemloft.net, kuba@kernel.org, yoshfuji@linux-ipv6.org, oliver@neukum.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, huyd12@chinatelecom.cn References: <20220317061521.23985-1-sunshouxin@chinatelecom.cn> From: =?UTF-8?B?5a2Z5a6I6ZGr?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2022/3/18 2:49, David Ahern 写道: > On 3/17/22 12:15 AM, Sun Shouxin wrote: >> This patch is implementing IPV6 RLB for balance-alb mode. >> >> Suggested-by: Hu Yadi >> Signed-off-by: Sun Shouxin >> --- >> 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). Thanks your warmly instruction for newbee, I'll resend soon. Thanks again.