From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20681CCA487 for ; Tue, 14 Jun 2022 16:15:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236999AbiFNQPo (ORCPT ); Tue, 14 Jun 2022 12:15:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237581AbiFNQOn (ORCPT ); Tue, 14 Jun 2022 12:14:43 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A99EE381A3 for ; Tue, 14 Jun 2022 09:14:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 646DDB81990 for ; Tue, 14 Jun 2022 16:14:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3191C3411B; Tue, 14 Jun 2022 16:14:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655223280; bh=myct3deyPVYprBsBvmvk334jKipt3T/7mIRJOSx3Ffk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ofzZKpB6KluJ/x+qfzJyY4IJGl1tjrjcv2ggMVJFka1nX3dpSaeSIUHVXcY/EkXgG 6NygnHd3euOWZxzhb0KL/+hoWNEDl7zebDLYW4rbKiD+6GzuRBhbvbLqOXr7h769I2 4v5YEHEq+CDkPrb21Y1exWzItIrey3KSy1yhzU9HPIH5iRTYHoIBqgpCS8MHkDa6iW EP0xLHwwXd8zES954TWPdbaGGxbA41djrl264pC/V91StCbH8SrM8dP/plz2dCBbTI jFYEdVJQgFG/Rt3ev7URilGwQ2ietPZX3um8wXL1bwW5iP/8howiIdnqYhUZXz5i6+ 067aTyCSbC2Hw== Date: Tue, 14 Jun 2022 09:14:38 -0700 From: Jakub Kicinski To: Paolo Abeni Cc: Lior Nahmanson , edumazet@google.com, davem@davemloft.net, netdev@vger.kernel.org, Raed Salem , Jiri Pirko , Ben Ben-Ishay Subject: Re: [PATCH net-next v3 2/3] net/macsec: Add MACsec skb extension Rx Data path support Message-ID: <20220614091438.3d0665d9@kernel.org> In-Reply-To: References: <20220613111942.12726-1-liorna@nvidia.com> <20220613111942.12726-3-liorna@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 14 Jun 2022 15:55:13 +0200 Paolo Abeni wrote: > The main reason I suggested to look for the a possible alternative to > the skb extension is that the GRO stage is becoming bigger (and slower) > with any of such addition. > > The 'slow_gro' protects the common use-case from any additional > conditionals and intructions, I still have some concerns due to the > increased code size. > > This is not a reject, I'm mostly looking for a 2nd opinion. Shooting from the hip a little bit, but macsec being a tightly bound L2 upper maybe metadata dst is a workable solution for carrying the sci and offload status between upper and lower? The range of values should be well known and limited.