From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D4C31427A for ; Sat, 29 Jul 2023 11:12:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30A4EC433C8; Sat, 29 Jul 2023 11:12:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690629148; bh=lTthzoEyUOXzvHutnWnSZNBWcT8IxT18IUyk7haJ2kA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JbBhtsaNRu3c3jtBsT81O6sWjV+xTmbqQr9YuV3oX2207YjrdAtTFG2qacTJof/70 XAhsk+ypUj4IBHdNG/Yc2HP+k61TfXy3s5XB/OtjXRVsmxWaed4g2/pnQFzaxUg+PA BZ5RpzGXCX0+eLiIDSCrrZctGINjhndnqcnzlS60ZY8U/hhPXrV85Ak1TbhOfenWlb vW3fdXCVyZofxRyoWMbU3W+RDSthBokukNpGGa4euK/JEnrhfclr3UqFHrX21aO32Y 1lMwJOP3XHYo6SUtXzJgF9dIT2wR79aKfqxgYxlxi2FX8h7ENLtT8HLuKOV8BXFIPn gxmuQZAMXQsjw== Date: Sat, 29 Jul 2023 13:12:25 +0200 From: Simon Horman To: Mat Kowalski Cc: netdev@vger.kernel.org, Jay Vosburgh , Andy Gospodarek , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: Re: [PATCH net-next] bonding: support balance-alb with openvswitch Message-ID: References: <19d45fbf-2d02-02e9-2906-69bf570e9c7f@redhat.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <19d45fbf-2d02-02e9-2906-69bf570e9c7f@redhat.com> On Fri, Jul 28, 2023 at 02:24:32PM +0200, Mat Kowalski wrote: > Commit d5410ac7b0ba ("net:bonding:support balance-alb interface with > vlan to bridge") introduced a support for balance-alb mode for > interfaces connected to the linux bridge by fixing missing matching of > MAC entry in FDB. In our testing we discovered that it still does not > work when the bond is connected to the OVS bridge as show in diagram > below: > > eth1(mac:eth1_mac)--bond0(balance-alb,mac:eth0_mac)--eth0(mac:eth0_mac) >                        | >                      bond0.150(mac:eth0_mac) >                                | >                      ovs_bridge(ip:bridge_ip,mac:eth0_mac) > > This patch fixes it by checking not only if the device is a bridge but > also if it is an openvswitch. > > Signed-off-by: Mateusz Kowalski Reviewed-by: Simon Horman