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 smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7CD15C433EF for ; Wed, 29 Jun 2022 04:40:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 236C3400F6; Wed, 29 Jun 2022 04:40:26 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 236C3400F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1656477626; bh=y+0Y8ncOpPI7I7fvTd2wH6AazUVld1g6Qk6Rj2xby74=; h=Date:From:To:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=tEKH5Hy+0yL6rtcswB2vqkTBwOtNm6I5TM5wLj00DnhJuBATxeoFCaDFPlHa0aIzY 364DXSMIGg96v6/6QeXwcYwNThNTLNEAGzPjz10oyMStdyt6dYT5/S0cnaPsvNM5dS 3HzbDpDEMGxPfgAWwsSXL6tnxxCZqTlxKibCDTeozue1tqPjsOjSD09xOJBUyup5o5 3FY5QAmhVKkfwsub0rx9G5GRydKOYFgWoohNL5/g5XuS8vwxfBF0MZHkffM+KmetpG 87x8vz79Ph2IHkKvN08gEVTj9jFeAOZXLauUz4jdoeLNNANjGw90F6zkEffE1bM3DG mHy9Z25avVPpg== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HH98Z_SGD7eI; Wed, 29 Jun 2022 04:40:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 291694049C; Wed, 29 Jun 2022 04:40:25 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 291694049C Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A43E11BF409 for ; Wed, 29 Jun 2022 04:40:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 8B33460BFF for ; Wed, 29 Jun 2022 04:40:23 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 8B33460BFF X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tEAzJgDJyC8L for ; Wed, 29 Jun 2022 04:40:23 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org E03A660B2A Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by smtp3.osuosl.org (Postfix) with ESMTPS id E03A660B2A for ; Wed, 29 Jun 2022 04:40:22 +0000 (UTC) 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 2497961236; Wed, 29 Jun 2022 04:40:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0627DC3411E; Wed, 29 Jun 2022 04:40:20 +0000 (UTC) Date: Tue, 28 Jun 2022 21:40:20 -0700 From: Jakub Kicinski To: Marcin Szycik Message-ID: <20220628214020.0f83fc21@kernel.org> In-Reply-To: <20220628112918.11296-2-marcin.szycik@linux.intel.com> References: <20220628112918.11296-1-marcin.szycik@linux.intel.com> <20220628112918.11296-2-marcin.szycik@linux.intel.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656477621; bh=iHw9bd8s4EekjXNRbJp+UlyFG/OqrDWm5kUz2JiIYjM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=GD4Q6OAPWtS2tJDYyq+B7IwLHgSANFRKHGUT4Saed8lSn1NUhBWXev69bFxTercB6 bIGPDAXbVWHucBIs96tei3pdmPkZvfrqbBTKusg0Mg5LmXRi/sxIJRRYifZpS5idhD w/V7bLpfIHjd4jK+zsqo4GpKqzz9rl6RixbAh6DRu+7tTeZe5yNvVWTMa/HJcSyh++ xIrkYg5ueBsONBT7aBLBOUHxBwHNSMKFQes23nRhGFPQjjvHLw/ZkBebgPSCBGH+aI byZ5JVdByHN///4+qc6uiu5eOj5/MsqacmbFuWnIjEfwq0kB3/1usSXBZV3a3YtxZs LWWZq7oUrDdLg== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=GD4Q6OAP Subject: Re: [Intel-wired-lan] [RFC PATCH net-next v2 1/4] flow_dissector: Add PPPoE dissectors X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: simon.horman@corigine.com, kurt@linutronix.de, paulb@nvidia.com, edumazet@google.com, boris.sukholitko@broadcom.com, jiri@resnulli.us, jesse.brandeburg@intel.com, intel-wired-lan@lists.osuosl.org, zhangkaiheb@126.com, pablo@netfilter.org, baowen.zheng@corigine.com, komachi.yoshiki@gmail.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com, pabeni@redhat.com, netdev@vger.kernel.org, gustavoars@kernel.org, davem@davemloft.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Tue, 28 Jun 2022 13:29:15 +0200 Marcin Szycik wrote: > +static bool is_ppp_proto_supported(__be16 proto) What does supported mean in this context? > +{ > + switch (ntohs(proto)) { > + case PPP_AT: Byte swap on the constant. > + case PPP_IPX: > + case PPP_VJC_COMP: > + case PPP_VJC_UNCOMP: > + case PPP_MP: > + case PPP_COMPFRAG: > + case PPP_COMP: > + case PPP_MPLS_UC: > + case PPP_MPLS_MC: > + case PPP_IPCP: > + case PPP_ATCP: > + case PPP_IPXCP: > + case PPP_IPV6CP: > + case PPP_CCPFRAG: > + case PPP_MPLSCP: > + case PPP_LCP: > + case PPP_PAP: > + case PPP_LQR: > + case PPP_CHAP: > + case PPP_CBCP: > + return true; > + default: > + return false; > + } > +} _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan