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 59051C6FD18 for ; Tue, 28 Mar 2023 22:41:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229719AbjC1Wl6 (ORCPT ); Tue, 28 Mar 2023 18:41:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbjC1Wl5 (ORCPT ); Tue, 28 Mar 2023 18:41:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13EBA1B0 for ; Tue, 28 Mar 2023 15:41:57 -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 dfw.source.kernel.org (Postfix) with ESMTPS id AAFD8619A2 for ; Tue, 28 Mar 2023 22:41:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC72EC433D2; Tue, 28 Mar 2023 22:41:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680043316; bh=rf466V61DpUUK2d9tIKnXQHYA5HfD6+YAiSNakZut5w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tmFrNuLB4dcsN1nralHAVXM05VX3UsuSe2csAA4qMroKI67u4SrIf/+NAAM0x0hqt RjgROYE44BogjvzuvXnQJNZdHKYGHlFhJ46yQ+yYs4o0E1SYDQWd+x5kzvahVfi+2u YCe2y+mBlpAht1Nwa5uza+to4KPrvkRvRP97RqS75CVYpGKDTlfM45GLBKtwmLsiLr ClZX0ZX7AvfMoSM3UlBTq2EdfNDxF8lCGzJs2vgjzYQ/hUUXziUWNskEYJIcYWuqfZ eA2j1pKOa5RoWr4zlkEop26bLRzzUeO9xR6dKxR25bLXgmPkRQ7Gv1Y7qt7q0vkKwD aEq1wWJ3D96Mg== Date: Tue, 28 Mar 2023 15:41:54 -0700 From: Jakub Kicinski To: Emeel Hakim Cc: "davem@davemloft.net" , "pabeni@redhat.com" , "edumazet@google.com" , "sd@queasysnail.net" , "netdev@vger.kernel.org" Subject: Re: [PATCH net-next 1/4] vlan: Add MACsec offload operations for VLAN interface Message-ID: <20230328154154.14bbee54@kernel.org> In-Reply-To: References: <20230326072636.3507-1-ehakim@nvidia.com> <20230326072636.3507-2-ehakim@nvidia.com> <20230327094335.07f462f9@kernel.org> 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, 28 Mar 2023 06:54:11 +0000 Emeel Hakim wrote: > > > + if (real_dev->features & NETIF_F_HW_MACSEC) > > > + features |= NETIF_F_HW_MACSEC; > > > + > > > return features; > > > } > > > > Shouldn't vlan_features be consulted somehow? > > I did consider including the vlan_features, but after careful > consideration, I couldn't see how they were relevant to the task at > hand. Decode this for me please: - what was you careful consideration - what do you think the task at hand is; and - what are vlan_features supposed to mean?