Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8944171pxu; Mon, 28 Dec 2020 02:13:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwx+iNsvuoOZUM2vPJeCc7gfojZKui02t/MBo/rkiopo4ioqXJFb/0d2/cXaLgoDp8nzWMQ X-Received: by 2002:a17:906:b74b:: with SMTP id fx11mr41039629ejb.410.1609150420014; Mon, 28 Dec 2020 02:13:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609150420; cv=none; d=google.com; s=arc-20160816; b=ExuabXGFmArRRvwA+ycGRFr6WmrczhUGMqrwuRT4sWxZa6Fd0D4IlM/L/JBRAvsEhw Hj1Bil0G642aS1Mm5qbks5Y5jVbpKnxUziQFE+WKkONCPs4OUO0BcdZvHgc2bXGeteB4 a7q7wbRqcLV7YGsMT2qa11zCKpciI8gggG8wQUyX8OopqTabh1M7vIXS5ActkWMMq6c2 uuKVaOGX6tV+LXW+icm0hWLsJ09wuoib18ymlC5yETpWvg724t7mkPjc4QhG398M9XlB JKpSatcK5PO+Vz35g0AlQ2DdyUjQRa316OQFHlcxq+gzeUkkw7Y76t9y5gfrpsSdiawy mtzA== 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=MdQ/D46RCr2gXEW9dmoWKE5z9/ANQwkSP5KORk8yc40=; b=bY8DKEdIr0ZN+9KcvvHZ2gHiFGesMpU2nJt3NBrR/iQDQFY1cW6Xt+whSl59Qud+AN e8xqtEoaK6RPABNlpAQqFMMML/P3c7S5G9/vI5NCq3wXyrTpoWhCO7Uh4EjFWMmN2zJU SxRm46p2dHZv8necEmNuKzyBRX7kjdsVfMUiQvaKhCVIP9I/NSWXogc48a2K1Ykh8mlJ l2Z9ltQY4oqX7H3nxOIocNAhpVP7QmfxJUPyElgbVqy0hdrELNN81MNYEOwh6eswNWic Bo4Yblm2aNFSZWAnXkBIDTdUhKqtbEXsBgbfT2Pq3qwV89B81Fw+PY45d0lVJfWTXiKG NlGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=ZBuKDesR; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb5si21939639edb.393.2020.12.28.02.13.16; Mon, 28 Dec 2020 02:13:39 -0800 (PST) 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=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=ZBuKDesR; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727034AbgL1KM3 (ORCPT + 99 others); Mon, 28 Dec 2020 05:12:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726944AbgL1KM3 (ORCPT ); Mon, 28 Dec 2020 05:12:29 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76882C061794 for ; Mon, 28 Dec 2020 02:11:48 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id dk8so9321926edb.1 for ; Mon, 28 Dec 2020 02:11:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=MdQ/D46RCr2gXEW9dmoWKE5z9/ANQwkSP5KORk8yc40=; b=ZBuKDesRddgX9RuM0o93raruELuqg8VG7S9kK93UqTMa+aks62BN7/+4o//wzVUEBh qivzEiNeTLfajSJaZvGzJFLYS91CJyuMy1vK6xu91HjRGkvqTUJCxNSzLfdCspYqLb+w EqBzSdBsJIewfU/F9vkeMKceMOcSBYu4944ZBdpRyqAn7zGEWn31Gkf3KYGqJXNL1wuv 14bjishNlU0BYaYxRsocQQqsVDHKbmpI5ZIOvS6L1aNs2TiIvgLK5dQr5hROvFPYJ4a4 4iQ0OizTb5qe2A58Mt8b2ugNilPKaFLLx6DFZ9BAyEp8qAX8chL4eLNJ6zGhO9kkhyfF LzSw== 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=MdQ/D46RCr2gXEW9dmoWKE5z9/ANQwkSP5KORk8yc40=; b=PSKbZGSRrKc3f2qlwmkpo9tb4ubaytKJAX42uz7d8qD6qRSuogRcGxbyV80qOE++k0 m3r4AMKtesgw/aCs6xJL7+j2dFlWgtg5p2jIKdE9QZE9hx7O6gqvlDuYF999sn2bEBPj 0KX8BGZ7dNkABA1GPa+KZVCtm9tVvO+IMzo3nnGI3yVii/+cb0Rflh8lWzLbFIWWPBaV U4DZFCScaLKNjI0eUHqZEUPZairNz0UOkwJ9lopobukU9J5VQ1MGBxN8PCDzY1I1veOG DTJzI/xCaVyPydeTqO4CRd33tE3W2+HXh1HHHPSAw1nZZMzk6SbutRWg7PWUgZI8q4bT TzXQ== X-Gm-Message-State: AOAM5322Rym0DRi+4+hF8Rww/Vx4PIAunkRW/24/7p8VFya82AvJd3me G23e75VkiEIv1JAKJn0kIceERg== X-Received: by 2002:a50:d5d5:: with SMTP id g21mr42913750edj.41.1609150306867; Mon, 28 Dec 2020 02:11:46 -0800 (PST) Received: from localhost ([86.61.181.4]) by smtp.gmail.com with ESMTPSA id ca4sm35731648edb.80.2020.12.28.02.11.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Dec 2020 02:11:46 -0800 (PST) Date: Mon, 28 Dec 2020 11:11:45 +0100 From: Jiri Pirko To: Jarod Wilson Cc: linux-kernel@vger.kernel.org, Jay Vosburgh , Veaceslav Falico , Andy Gospodarek , "David S. Miller" , Jakub Kicinski , Thomas Davis , netdev@vger.kernel.org Subject: Re: [RFC PATCH net-next] bonding: add a vlan+srcmac tx hashing option Message-ID: <20201228101145.GC3565223@nanopsycho.orion> References: <20201218193033.6138-1-jarod@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201218193033.6138-1-jarod@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fri, Dec 18, 2020 at 08:30:33PM CET, jarod@redhat.com wrote: >This comes from an end-user request, where they're running multiple VMs on >hosts with bonded interfaces connected to some interest switch topologies, >where 802.3ad isn't an option. They're currently running a proprietary >solution that effectively achieves load-balancing of VMs and bandwidth >utilization improvements with a similar form of transmission algorithm. > >Basically, each VM has it's own vlan, so it always sends its traffic out >the same interface, unless that interface fails. Traffic gets split >between the interfaces, maintaining a consistent path, with failover still >available if an interface goes down. > >This has been rudimetarily tested to provide similar results, suitable for >them to use to move off their current proprietary solution. > >Still on the TODO list, if these even looks sane to begin with, is >fleshing out Documentation/networking/bonding.rst. Jarod, did you consider using team driver instead ? :)