Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2902485pxa; Tue, 25 Aug 2020 06:34:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpMfkus27Oh46wXR3gNu8MesqwlTT47dyKXBaGDL9s2hFqRWGpxTx9F5Od13VsF3WZayor X-Received: by 2002:a17:906:b6d5:: with SMTP id ec21mr10121639ejb.396.1598362442944; Tue, 25 Aug 2020 06:34:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598362442; cv=none; d=google.com; s=arc-20160816; b=0dzt/C+q7thQ9RKyikNbRZPqlvTgzkhEHhn0H74iUfZ0oIRxMsj3VYAd41KjOjxwex ioeLboIiUMnsDbbSZnvxpC8U3b5NoVw83IMqvW6/hfa3TmLwuy+lor7y1T6aD8kGUQPn VSa4i/FNvbRKteLO5k6NNhkgb6s57jasM7Ajd/J7MtDk9bl7LMNlbYya8btxRbZSxJ2D WzgsESRYMuAPffkFNQ7BuX0WxxIQgWMhnVViiGY0tY8H/XZo88i8sbOrPX+sfL/DATVl tV/cavpXbTT0r1hSbBQVbGVudV9GfohXrXr+rfZxvFWaC1tYOgDxe7z3xngk5F/e/m1a Fhkw== 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=v9zj8qlBC5LWr9/b6wyuyPjHcIxm0rgG+Qv8lzUL9Ck=; b=1Du+HDIqzU/CH/7JxCv6L8tOHWH9bK2kt+gifkx5OUjGd3ajgd87dXD4FBJmq8HVSE lJE4WARRpYDcrwfoHZCm7DUXshHm+hht0Q7/b9qujLnPLuI/dmNK2Dta1aC2ks/Obsbn pllNWQI8Vbv+zwT+9l576gtq6d+7KtOKFymOa3fnAIbKClGYwwQZTzVj+/ekHFg32143 ogPmokRpvybnhAjKKjMS0TufURoiqq+KlFxAAfRCPXXpDUQvNS4S1A86eichdbDZup0P LNjsTupuZcalhNP5LcdolGRabk+mfpEcrC8Ulcmmk263GvXuOGfwrjT2se38T83b/nN0 DAcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 a23si9612330eju.364.2020.08.25.06.33.38; Tue, 25 Aug 2020 06:34:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726045AbgHYNdc (ORCPT + 99 others); Tue, 25 Aug 2020 09:33:32 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:49194 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726703AbgHYNdV (ORCPT ); Tue, 25 Aug 2020 09:33:21 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kAZ4V-00Bm6q-Ec; Tue, 25 Aug 2020 15:33:07 +0200 Date: Tue, 25 Aug 2020 15:33:07 +0200 From: Andrew Lunn To: "Van Leeuwen, Pascal" Cc: Sabrina Dubroca , Scott Dial , "linux-crypto@vger.kernel.org" , Ryan Cox , "netdev@vger.kernel.org" , "davem@davemloft.net" , Antoine Tenart , "ebiggers@google.com" Subject: Re: Severe performance regression in "net: macsec: preserve ingress frame ordering" Message-ID: <20200825133307.GP2588906@lunn.ch> References: <1b0cec71-d084-8153-2ba4-72ce71abeb65@byu.edu> <20200810133427.GB1128331@bistromath.localdomain> <7663cbb1-7a55-6986-7d5d-8fab55887a80@scottdial.com> <20200812100443.GF1128331@bistromath.localdomain> <20200812124201.GF2154440@lunn.ch> <20200824130142.GN2588906@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Aug 25, 2020 at 01:09:31PM +0000, Van Leeuwen, Pascal wrote: > > -----Original Message----- > > From: Andrew Lunn > > Sent: Monday, August 24, 2020 3:02 PM > > To: Van Leeuwen, Pascal > > Cc: Sabrina Dubroca ; Scott Dial ; linux-crypto@vger.kernel.org; Ryan Cox > > ; netdev@vger.kernel.org; davem@davemloft.net; Antoine Tenart ; > > ebiggers@google.com > > Subject: Re: Severe performance regression in "net: macsec: preserve ingress frame ordering" > > > > <<< External Email >>> > > On Mon, Aug 24, 2020 at 09:07:26AM +0000, Van Leeuwen, Pascal wrote: > > > No need to point this out to me as we're the number one supplier of inline MACsec IP :-) > > > In fact, the Microsemi PHY solution you mention is ours, major parts of that design were > > > even created by these 2 hands here. > > > > Oh, O.K. > > > > Do you know of other silicon vendors which are using the same IP? > > > I do, there are many. But unfortunately, I cannot disclose our customers unless this is already > public information, e.g. due to some press release or whatever. O.K. Maybe i should flip the question around. If somebody was to submit a driver, how would i quickly determine it is your IP? Any particularly patterns i should look for. > > Maybe we can encourage them to share the driver, rather than re-invent > > the wheel, which often happens when nobody realises it is basically > > the same core with a different wrapper. > > > Yes, that could save a lot of duplication of code and effort. It would save a lot of effort. But not code duplication. Because if i or one of the other maintainers notices it is just your IP with a different wrapper, we would NACK the patch and tell them to refactor the MSCC driver. There is a long established precedence for that. > The problem is: who will do it? We can't do it, because we have no > access to the actual HW. Microsemi are very friendly. If you ask them, i'm sure they would send you a board. I assume you also have some sort of FPGA setup you use for your own testing? That gives you two platforms. And if there are many PHYs using your IP, it should not be too hard to just go buy a reference design kit from a vendor. And there is the marketing aspect for Rambus. You can say your IP is easy to use, the core code is already in the kernel, supported and well tested, you just need to add a few wrapper functions in your driver. No vendor crap driver needed. Andrew