Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1929006pxb; Mon, 12 Apr 2021 09:52:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBA0KFuiRHSvb+TN4T31ulNvOGR6Mf30bDcumoxd+kSaDa26LNsgzWiAuXby4rt9dFwyxb X-Received: by 2002:a17:907:75d5:: with SMTP id jl21mr8303978ejc.408.1618246338380; Mon, 12 Apr 2021 09:52:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618246338; cv=none; d=google.com; s=arc-20160816; b=pAEMYTrkxw8F9yNgtersdBup1CA3WB619PvrwhLAJAdemecRlW4VNNKfwKrx8IxG3z 2qVe55prpgqsvRya5IA9GuCAOmj/TcjnbWk/idchJrqdM3nx/GrWXU6o7Aq/DiJACA67 DspGQZ1Byoy9pN3gIniEELpZwETXvXAPcgkSscAor6WopeCltH7M1cRKrtFhWzRu4LDe AFAkv4pmqhAOahkqEtjIuJ29CIoy5yYKHVyq9VGD7N8Fc/5pfwoisv8gW+e/VB9kX07R 6nwBq/Hc5bmh+yr52a/mWeKqEUHb8HxgST9QiIT2Zh+Kgumqj/yuhuIJsqjScyXzZLDc JMBA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8z+/ms9HXXuc1u59TPf3kgky3kvFQaPstoWisAaXMAg=; b=EEBb7Wp3HQhdw0iTc9OLvgmhIXzAwWkNw+xU+KbF+ssxhoWqT+PSBznSym+wH8OqrT ihU8opQfIU94m/1/Iib+rNzqmpjqsEnSfAmdV8AsCnE79VvhoSFKdefDIQL9VlsCkzcn Tn6cKN47rrw7Uv3D6FlR1hQ/M5eL5bbD4cmo0tlosFCAb3Z88SlFsFRMmCFSeMyajzm3 zrVV7oqMSfE+LD6NQWB7Dffld18YJVXQEIQY6oGbgFY6/a2sya1MvUVnBy09Fg2cQaKe q1EjH7ksyqWvpyse7RHFpQi+5c12ltwfKi830OXWl6uOi+lABvXOLZO+5Wp2OEN4NZhW UETQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GheD5xk6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d29si8970793edn.33.2021.04.12.09.51.54; Mon, 12 Apr 2021 09:52:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GheD5xk6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239716AbhDLQsk (ORCPT + 99 others); Mon, 12 Apr 2021 12:48:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245760AbhDLQl4 (ORCPT ); Mon, 12 Apr 2021 12:41:56 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7683EC06123B; Mon, 12 Apr 2021 09:32:27 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id s14so2080895pjl.5; Mon, 12 Apr 2021 09:32:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8z+/ms9HXXuc1u59TPf3kgky3kvFQaPstoWisAaXMAg=; b=GheD5xk6FCX0Y3/HoHa1l6VnTCdijSOTbozl3pVjfAakw4z8Yx4yOk5DkGxIGMAsns sqCXNRWBgE/wFdwUAstG39HV71yl0aiKw/UfJR98CnqAQYvrUqY2b4V26E8w7xu+B3os TN0R0pPyWAo9NwepW36QyckWHZokzXBsmX6kVl8VCxVviPy0ZksmtWYp0F/YNnpMaykK nkEU2ITHRX5rt9tdCGEanffiie6HJzBxWPTzC3nvx7wmpfZxR2Ydpa05LMtXDHyE+sjZ eqE94OaG+Y6bnoF8ee1Pleh1cqlJPoiWaWlxCfabUsqLQRT1C9vLeEX9LqQ7eZHZTfNz pO1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8z+/ms9HXXuc1u59TPf3kgky3kvFQaPstoWisAaXMAg=; b=DMJ32vlGWkIsNEF7S/+1wVricCNtDb9qvi4Dmt2lZlko1G2qUL+jeGpKNvL0zP/xTs xhl+igUsHjmjZIpCOG5bDe4p8TW5gREc+iehoykDchMagUeUFFKRgz+iyATOLtugeTCT RQgPg4IjVrVIZPB4k3dttfvm7h7nkREjDytK/Vf4KcQAlkPPhI4Mrecq6oOpPGpme29z Isznf4RVR3DqEGB58hx4ln0sdeX+IODYhjAhQth9wglMbQRqpzIxh0UZ3jSXOP5hzQk4 Jzl4GxyyFDLgTBpUx2Znyxzvf9b+TvbIvlwTqAI69Z7m1UGZPab+h7xt0PC4TpKy36+b Xuqg== X-Gm-Message-State: AOAM530wE0f9PdWCwU6sSbZNYRoi29SBfPn8UgIewkCA7ptC6N5IdVy0 r2dRLOAtW8fiC2Mc6YFJz3c= X-Received: by 2002:a17:90a:8815:: with SMTP id s21mr29369762pjn.200.1618245146911; Mon, 12 Apr 2021 09:32:26 -0700 (PDT) Received: from skbuf (5-12-16-165.residential.rdsnet.ro. [5.12.16.165]) by smtp.gmail.com with ESMTPSA id e11sm9725487pfv.48.2021.04.12.09.32.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Apr 2021 09:32:26 -0700 (PDT) Date: Mon, 12 Apr 2021 19:32:11 +0300 From: Vladimir Oltean To: DENG Qingfang Cc: Marek Behun , Ansuel Smith , netdev@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Andrew Lunn , Vivien Didelot , Florian Fainelli , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Eric Dumazet , Wei Wang , Cong Wang , Taehee Yoo , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , zhang kai , Weilong Chen , Roopa Prabhu , Di Zhu , Francis Laniel , linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC net-next 0/3] Multi-CPU DSA support Message-ID: <20210412163211.jrqtwwz2f7ftyli6@skbuf> References: <20210410133454.4768-1-ansuelsmth@gmail.com> <20210411200135.35fb5985@thinkpad> <20210411185017.3xf7kxzzq2vefpwu@skbuf> <20210412150045.929508-1-dqfext@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210412150045.929508-1-dqfext@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 12, 2021 at 11:00:45PM +0800, DENG Qingfang wrote: > On Sun, Apr 11, 2021 at 09:50:17PM +0300, Vladimir Oltean wrote: > > > > So I'd be tempted to say 'tough luck' if all your ports are not up, and > > the ones that are are assigned statically to the same CPU port. It's a > > compromise between flexibility and simplicity, and I would go for > > simplicity here. That's the most you can achieve with static assignment, > > just put the CPU ports in a LAG if you want better dynamic load balancing > > (for details read on below). > > > > Many switches such as mv88e6xxx only support MAC DA/SA load balancing, > which make it not ideal in router application (Router WAN <--> ISP BRAS > traffic will always have the same DA/SA and thus use only one port). Is this supposed to make a difference? Choose a better switch vendor!