Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2258486pxp; Mon, 21 Mar 2022 15:10:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFqng3ppxSEy5uFUP5aYpKmgGx65W0Dqt3KNYZ7WDzV0W1E1qgCCcWU6YJRpkzMdSyqcdj X-Received: by 2002:a63:2f41:0:b0:382:26ba:8855 with SMTP id v62-20020a632f41000000b0038226ba8855mr15165448pgv.310.1647900619995; Mon, 21 Mar 2022 15:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647900619; cv=none; d=google.com; s=arc-20160816; b=gJIEM3AEmbMipcJTWTsG+EX4fqq7qmGqgtsJaKjx+4Kps9a5M+HhYnQpPBLWcV9paM pisnEFLX983B8tNeY4A/n4BlZRfNV3FHokP3nSh/Og5qjPyg5dIoXMblCWW0ndqG60oa 0kHSWvKlzTihNcmukTEl8AMC6Uk6ngj8DMFmHy3ztALOjpDQ2Qu0ycADPQXFK6i3eb1I t9RgJXCCixB4xUZnylV5EC+5AhRu+wbdX3WNDW/8AeJgp07zjHRVfDGtR9ei7lwUCxPa sIknQs4kt10fVmSD+jk8tMksKOysm0zdSpuxdH9EWKlYk5iczxwH4uyKz14/+I2DkBQx BMyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DC935hNdJZg7Mae6w6qpYtJ84MUCDnWV3o5C6lnKsKI=; b=luGmu5F3MmZurRD5EZzbshPKdCkvcSljW3h2ze/Uq7ElXF+lrpDVc3ztkhSC8IkIGj yN08VC3mh797EHfhXQ9Umd2Ai4ElyPDiOTOFXs3tmLydBZaTrQWY503j8+OhS9uRXUst WMvfO7khIebhrpe/PIVeWibI3eC+6Fosd7j7jVDbpGhlqg5+w4a4AwxZL00D86+D97f7 so0KaRgDi3c386KJ6CHTqIwSiI708PSHjFgpzT1wGMhb4NfWMntkC1om+vew+Y+ugVea DRuuXlZedlZ3V6icVrriRhfJ4hF16upnGQvIP+wyRjbuzptqVpFeNiHRqmAQBXj0nosp 0xOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=VKyHserT; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id y23-20020a17090ad71700b001c68e9e0e68si466253pju.36.2022.03.21.15.10.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:10:19 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=VKyHserT; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DC7B5203A7B; Mon, 21 Mar 2022 14:30:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346033AbiCUJyL (ORCPT + 99 others); Mon, 21 Mar 2022 05:54:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346031AbiCUJyE (ORCPT ); Mon, 21 Mar 2022 05:54:04 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 981E59F6E5 for ; Mon, 21 Mar 2022 02:52:38 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id r23so17197223edb.0 for ; Mon, 21 Mar 2022 02:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=DC935hNdJZg7Mae6w6qpYtJ84MUCDnWV3o5C6lnKsKI=; b=VKyHserT+1U5tbxrdYbVF91hsVxJ2hcKxQjgOuBFswAj4w2IqsOaPRHzx4s3b1btex EGVyzOLTZ2+73xVhEf2smpJThhxQ1VQC7AV3r40AxaoqeECwy27Q7AoPOH0ps/+YmPZw OEgLhcX+A5N/FTxvXAJZ+PkrQmTHyUz/kOmqiodd0pJt7GX/e4YXOKyqP6EcUzVjzxjI OqrO0fbIvoFYIeUFaU77HeLqKJCbB1O8dm0dQ+L2fpFySif4/P05Y7Jd2qZY1ddIpIbT uMz9hxV3dobTsA4GjNoyPM7yk8A07f8EXuI6OBH6/J7csgMvWqDNlrpOnO907Zvtq4Gt N25w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=DC935hNdJZg7Mae6w6qpYtJ84MUCDnWV3o5C6lnKsKI=; b=r+mP48zjvPXi7dnB4qVfoOUkJDN3WX9W+gQ2Dt1rfVCwA9pcEStK/XUQPw19oGA5CZ rTdNN/sbFQSPGju5+8sLFwon1+DvNu1RqEnZj2KIfI6EeZNL3qXtaD4XflSAcOMYk2pj KLWlNqjWovOeHgez1+cqVaMNxxoo37SUVvYAa/6PYPEY04SaMeee4r2NPg+ahYp2G0B1 pdWr5BR/adJBcGTWUV6RngzaOdasKxXcewTwl3WTGKonQfRmuDQoeAs0xvPGTY22SWnG sgYng+Ogdl1m0W2fOEjYp2hvYv+6UN+eMiILvSNfXWZadYKbbQf/MUKYW7spk/HZvRrR izQA== X-Gm-Message-State: AOAM533QwsXPYP4IF2/dhlRcKO1S8Bjw92wsutnrz2AmaDrUrdLdvMnB E3+HkyrP61hjND3ADGWSIE5xRA== X-Received: by 2002:aa7:d553:0:b0:416:4dfc:126d with SMTP id u19-20020aa7d553000000b004164dfc126dmr21526998edr.213.1647856357101; Mon, 21 Mar 2022 02:52:37 -0700 (PDT) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id f5-20020a1709067f8500b006da68bfdfc7sm6657289ejr.12.2022.03.21.02.52.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 02:52:36 -0700 (PDT) Date: Mon, 21 Mar 2022 10:52:35 +0100 From: Jiri Pirko To: =?utf-8?B?5a2Z5a6I6ZGr?= Cc: j.vosburgh@gmail.com, vfalico@gmail.com, andy@greyhouse.net, davem@davemloft.net, kuba@kernel.org, yoshfuji@linux-ipv6.org, dsahern@kernel.org, oliver@neukum.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, huyd12@chinatelecom.cn Subject: Re: [PATCH v4] net:bonding:Add support for IPV6 RLB to balance-alb mode Message-ID: References: <20220317061521.23985-1-sunshouxin@chinatelecom.cn> <1f7b15a6-861f-9762-a159-73d16c95eebc@chinatelecom.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, Mar 21, 2022 at 02:17:34AM CET, sunshouxin@chinatelecom.cn wrote: > >在 2022/3/18 19:34, Jiri Pirko 写道: >> Fri, Mar 18, 2022 at 10:49:02AM CET, sunshouxin@chinatelecom.cn wrote: >> > 在 2022/3/17 16:11, Jiri Pirko 写道: >> > > Thu, Mar 17, 2022 at 07:15:21AM CET, sunshouxin@chinatelecom.cn wrote: >> > > > This patch is implementing IPV6 RLB for balance-alb mode. >> > > > >> > > > Suggested-by: Hu Yadi >> > > > Signed-off-by: Sun Shouxin >> > > Could you please reply to my question I asked for v1: >> > > Out of curiosity, what is exactly your usecase? I'm asking because >> > > I don't see any good reason to use RLB/ALB modes. I have to be missing >> > > something. >> > > >> > > This is adding a lot of code in bonding that needs to be maintained. >> > > However, if there is no particular need to add it, why would we? >> > > >> > > Could you please spell out why exactly do you need this? I'm pretty sure >> > > that in the end well find out, that you really don't need this at all. >> > > >> > > Thanks! >> > >> > This patch is certainly aim fix one real issue in ou lab. >> > For historical inheritance, the bond6 with ipv4 is widely used in our lab. >> > We started to support ipv6 for all service last year, networking operation >> > and maintenance team >> > think it does work with ipv6 ALB capacity take it for granted due to bond6's >> > specification >> > but it doesn't work in the end. as you know, it is impossible to change link >> > neworking to LACP >> > because of huge cost and effective to online server. >> I don't follow. Why exactly can't you use LACP? Every switch supports >> it. > > >Hi jiri > > >Changing to Lacp means risk  to our online service requring high available. > >Also,we have multiple DCs installed bond6,it is huge cost to change it. So? This is 0 argument in this discussion. I believe that adding this amount of code to bonding for use case that could be simply replaced by LACP is wrong and we should not do that. The oridingal ALB/RLB implementation was done when LACP was not that widely used. But now it is 2022 - different story.