Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2418175pxb; Sat, 30 Jan 2021 01:53:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxrwaQ5YE4BZTmXJhzI9gBMC2qx4/0TaxgS2bi4pXJQMjeR0nlEZ3L236wSd+IbuxY77dW X-Received: by 2002:a17:906:90c3:: with SMTP id v3mr8437223ejw.461.1612000428596; Sat, 30 Jan 2021 01:53:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612000428; cv=none; d=google.com; s=arc-20160816; b=jt8KRxjcyo2Cidh2BBHGnwyM+AvZVNHcX1eK31CeZLdopk6kGVp7s8GzbKGugLzpfY z2PuNShO+QJtX6X3T7zsIHTUiOz+FP5laoAQ9uveUju77IaEblCg9wyHmFciArTwAq2o 6CYLjK0RnNerHb1/+Ep/Qrvw+yBg9GvkEW0EgNTocpVjAVk/nD9+KfdCRcv7iX7TLnnE DT+IIh5xv0l72LnPtTasNm34IXQIID/OkQeoprlfujB/kNWfJDReuO/xld2NK2ZlEtfz rihivwuNQfVNSfcwh+w4N5GvTFSzNECuu6TP1Tp44kVvvyL48bQUORz93s4N8lebSAA6 H25w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=DGbNFJCGMl+JSHv8sJG5Et+NkA0pvs6A0x1kNoMK46k=; b=rmMmVv8dzeECh0tDWFKQ2NCLbQnOG1C10rZCDsKO1gUH1qMgTDE268WK/yymqVsowY pb8AefTVaQ+7jPF4S9TUH1odF+3w0fsHD3NlE2ZNSbpJV4B4JWUyU/J4cJbevUoNFus3 wg43Yv99EivpJSaDdkArQloD7BBh3D+qYIYz4b0vF08VRDrR9+PS661UWPB0qRxOMjUL hjHx+Qz+Kp5T9I+SP18disvQSOJuW892n49tPcZXJcrwnmsRsRRVlluMPFOKxphT9zW0 o/C6CivEa8zjsdlTaIIRlL9NhguYTa9c7YJw257u9TkGopQCm0cecPkC3+9OxEvuXoIE GBGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Fpstn8Gu; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rn4si7120794ejb.197.2021.01.30.01.53.24; Sat, 30 Jan 2021 01:53:48 -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=@kernel.org header.s=k20201202 header.b=Fpstn8Gu; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230298AbhA3Jv0 (ORCPT + 99 others); Sat, 30 Jan 2021 04:51:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:33692 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233305AbhA3DCH (ORCPT ); Fri, 29 Jan 2021 22:02:07 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1F3E764D9F; Sat, 30 Jan 2021 03:01:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611975675; bh=1g7TFqM32r+X2G4XFMePCA3nPEQwqjwlXbzXGKcz2Fg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Fpstn8GumhB9aN2VYNzcfMHIETojhLD/lUsuuTb3UIhzrbqwoZIrnh14s4eqaFjZG oh3ragFnct6W0/owoHZBHl8UMx1haRVPyMSNWuV3w7bTkGJseMGTsipAS1lexGeY3z 9j+AywEh1D2VFpQJdZSVTN7TctmGm379C7fb5Tq+0rZmIH0wGnw8nxX9BkbfTWkqw2 E/2JsptAfTpqBqUD+Xiq1PEOKT/HEPNoIHZR8CvJZHEXuSuSTyW9q8hH4qzBbS3fpb t/dYSZwccpHCfjvzpxFaYikdcJpv5Gm6bvfR8AirRmvFJkZwJB0xnhnMVa+ZM+nyhf PPzTkGlGp4hPw== Date: Fri, 29 Jan 2021 19:01:14 -0800 From: Jakub Kicinski To: , , Vladimir Oltean Cc: Horatiu Vultur , , , , , , , , Subject: Re: [PATCH net-next v2 0/4] bridge: mrp: Extend br_mrp_switchdev_* Message-ID: <20210129190114.3f5b6b44@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20210127205241.2864728-1-horatiu.vultur@microchip.com> References: <20210127205241.2864728-1-horatiu.vultur@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Jan 2021 21:52:37 +0100 Horatiu Vultur wrote: > This patch series extends MRP switchdev to allow the SW to have a better > understanding if the HW can implement the MRP functionality or it needs > to help the HW to run it. There are 3 cases: > - when HW can't implement at all the functionality. > - when HW can implement a part of the functionality but needs the SW > implement the rest. For example if it can't detect when it stops > receiving MRP Test frames but it can copy the MRP frames to CPU to > allow the SW to determine this. Another example is generating the MRP > Test frames. If HW can't do that then the SW is used as backup. > - when HW can implement completely the functionality. > > So, initially the SW tries to offload the entire functionality in HW, if > that fails it tries offload parts of the functionality in HW and use the > SW as helper and if also this fails then MRP can't run on this HW. > > v2: > - fix typos in comments and in commit messages > - remove some of the comments > - move repeated code in helper function > - fix issue when deleting a node when sw_backup was true Folks who were involved in previous MRP conversations - does this look good to you? Anyone planning to test?