From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 45AE42BF5 for ; Fri, 4 Mar 2016 10:28:45 +0100 (CET) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1abm3r-0008Qr-0z; Fri, 04 Mar 2016 10:30:15 +0100 To: Zoltan Kiss , dev@dpdk.org References: <56D5CE1B.2070002@linaro.org> From: Olivier MATZ X-Enigmail-Draft-Status: N1110 Message-ID: <56D95547.8080601@6wind.com> Date: Fri, 4 Mar 2016 10:28:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 MIME-Version: 1.0 In-Reply-To: <56D5CE1B.2070002@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] rte_mbuf's packet_type field X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2016 09:28:45 -0000 Hi Zoltan, On 03/01/2016 06:15 PM, Zoltan Kiss wrote: > I have a quick question about this field: how do I know if the > underlying PMD supports a particular protocol parsing. Let's say I want > to check for SCTP packets, looking at this field tells me EITHER the > packet is SCTP (or not), OR that the hardware has no idea about SCTP. Is > there a way to figure that support out? I'm not aware of such a feature. I guess you want to avoid to re-check all protocols in software if the hardware supports some of them and did not recognize them? In that case it may be interesting, but it would result in a lot of feature flags. Regards, Olivier