From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] mbuf: add IGMP packet type Date: Wed, 29 Aug 2018 09:34:36 -0700 Message-ID: <20180829093436.3f06421f@xeon-e3> References: <20180827123835.27531-1-jerin.jacob@caviumnetworks.com> <20180829083110.42d85024@xeon-e3> <20180829155904.GA7133@jerin> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, olivier.matz@6wind.com To: Jerin Jacob Return-path: Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id B9433F11 for ; Wed, 29 Aug 2018 18:34:44 +0200 (CEST) Received: by mail-pf1-f196.google.com with SMTP id u24-v6so2499703pfn.13 for ; Wed, 29 Aug 2018 09:34:44 -0700 (PDT) In-Reply-To: <20180829155904.GA7133@jerin> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, 29 Aug 2018 21:29:05 +0530 Jerin Jacob wrote: > -----Original Message----- > > Date: Wed, 29 Aug 2018 08:31:10 -0700 > > From: Stephen Hemminger > > To: Jerin Jacob > > Cc: dev@dpdk.org, olivier.matz@6wind.com > > Subject: Re: [dpdk-dev] [PATCH] mbuf: add IGMP packet type > > > > External Email > > > > On Mon, 27 Aug 2018 18:08:35 +0530 > > Jerin Jacob wrote: > > > > > Add support for IGMP packet type. > > > > > > Signed-off-by: Jerin Jacob > > > > Could you add logic to recoginize IGMP to the software packet type identification > > rte_net_get_ptype used by drivers that don't have hardware support. > > If everyone agrees then I can do it as adding IGMP support will reduce > the performance of rte_net_get_ptype() and most of the NIC may not need it. > > Opinions? > > > > > Also shouldn't this bit be part of RTE_PTYPE_L4_MASK? > > The RTE_PTYPE_L4_MASK is 0x00000f00 so it is part it. Right? Then you must add it to the software matcher since most drivers are advertising L4_MASK