Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1680450pxa; Thu, 13 Aug 2020 14:39:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtd3rjzOgxYUUkxQVCvr0artt7LnU501kRR1JVZB2DdYYAHkPYSr6eF48bLedVWM7nKBoq X-Received: by 2002:a17:906:d288:: with SMTP id ay8mr6589601ejb.373.1597354762447; Thu, 13 Aug 2020 14:39:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597354762; cv=none; d=google.com; s=arc-20160816; b=UrPw1eFw8kOW2meiCxjqgX+JYgsLLmZivpzYlEMdJrfuRNtQmdqxqcm1MNFxykov/B watboSCA+oG+957iKext62+XcRVWbdceoj8fBXPXT8dszLuyXxnwCaf8xPMPY/ilrxnC C038/Sxi3YvsIno1voVtzR2cmjCwNfRled1fpQpUi5hB5KBDqUHuZX5pELV9Ee4cv7ea U4Fdfa7VyWNU/sNkk7tcfPAL0rEGOuBGB5JtvakruzlM4eYzWxV9v17IAsWlt7MdOJub ibh+001YR/0/1En2Gf9P31HCQ2hwvkPgKnKEmKQumrkAvioWejiN0xM2BbKqhKOYTg5O 9oHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=RD6+MzoNS5JYbaIOJcrLPJrYQUqFepvownz31DbjxcI=; b=EjmURttteg5av/y2JmsQMlZqY+KzoIqZH/zRr7uCHgSGKc21uOWdvWAtWR0XU0sY1G uGGDKMqfeZia8uARjzI08X1DvkC6HZhqACHCn96zQARJedHjEHmK0SZMIjZ1V5mBp3fg qNq+xEM4ph+LIfMwBx4SG+d/ojhnx4euBSB/txGYkN+t+kxJSbr9GOpLRIU9J2osFUW/ IDpTGjHG1EYTzZrLgm83B0k1FgD6tIs+u8dqMD6EflIaf7oC1Uh66BKzXq3BkMrz1hj4 Iff3TAJmCodxq2p4WTiM5MAJsOeFz4jTy8dfuMek9bd/A/Cl5sWBV69xEgLJXe8tMkNZ puMA== ARC-Authentication-Results: i=1; mx.google.com; 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 x23si3629068ejw.267.2020.08.13.14.38.59; Thu, 13 Aug 2020 14:39:22 -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; 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 S1726837AbgHMVgQ (ORCPT + 99 others); Thu, 13 Aug 2020 17:36:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:57660 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726522AbgHMVgP (ORCPT ); Thu, 13 Aug 2020 17:36:15 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 4A2C7AD89; Thu, 13 Aug 2020 21:36:36 +0000 (UTC) Received: by localhost (Postfix, from userid 1000) id 703E57F447; Thu, 13 Aug 2020 23:36:13 +0200 (CEST) Date: Thu, 13 Aug 2020 23:36:13 +0200 From: Michal Kubecek To: Jay Vosburgh Cc: Jarod Wilson , linux-kernel@vger.kernel.org, Veaceslav Falico , Andy Gospodarek , "David S. Miller" , netdev@vger.kernel.org Subject: Re: [PATCH net] bonding: show saner speed for broadcast mode Message-ID: <20200813213613.qvem7gv4ri2trfvv@carpenter> References: <20200813035509.739-1-jarod@redhat.com> <27389.1597296596@famine> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27389.1597296596@famine> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 12, 2020 at 10:29:56PM -0700, Jay Vosburgh wrote: > Did you notice this by inspection, or did it come up in use > somewhere? I can't recall ever hearing of anyone using broadcast mode, > so I'm curious if there is a use for it, but this change seems > reasonable enough regardless. I did actually encountered our customers using broadcast mode twice. But I have to disappoint you, their "use for it" was rather an abuse. One of them had a number of hosts, each having two NICs in broadcast mode bond, one connected to one switch and one connected to another switch (with no direct connection between the switches). Having each packet duplicated when everything worked triggered some corner cases in networking stack (IIRC one issue in fragment reassembly and one in TCP lockless listener). Thankfully I was eventually able to convince them that this kind of redundancy does not really work if one host loses connection to one switch and another host to the other. I don't remember the other use case from the top of my head but I'm quite sure it made even less sense. Michal