From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) by dpdk.org (Postfix) with ESMTP id B743E1B5CE for ; Thu, 10 Jan 2019 02:03:34 +0100 (CET) Received: by mail-ot1-f43.google.com with SMTP id n8so8488641otl.6 for ; Wed, 09 Jan 2019 17:03:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D3h1X7C2BdMd5FTZZeALgoXZigd3ziTU5i970Ck7IVY=; b=sXbHxltClXWyBUG24b0c9tQkW6TOnmMnsve1E+Zz/NUp/ObtuKksU/GUpiM+RIKDqq THz6zUYeYs75DZOlh0JywS4zHAMpCOBbiza3q3NLhX0SlBJEMv2eWtVYzTLrtdjUzI5i q9jeM0nBRJFIqCZ5DAUJwLsTcjEMtaob4Zq7xRU6BO60qv60x/2Ti1anb+IJ4kmDTF1L zgVZC7P0C2nXEF94G9vfalO1XmSiKNeBu6eZVURmY6IXTzADgrYfCXZiWZa9dc2JAq5b 7etEZwht9sQeOeMLIhMqr4AwI9QEg9JG4G+P9jNU7gRiI1rTm8wxf9OsSQ5ZA8SXG9Fl 8X8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=D3h1X7C2BdMd5FTZZeALgoXZigd3ziTU5i970Ck7IVY=; b=ns/N6qE/TdituR5y75ysOiiDV32SpMhTNzM1g+09meMdXgQwIz3ex7DRZerHqwbApY z6pQX6qQ4tEHfUXjch09UHLMRrJGAQNQsHtnmf8BUAGZNXwUrf+DmCahD1ie6t0yYUFF h5Tgpc6yDw2ctzqdHBhGyziIHWHSjgZwA5q2GhnlRd9QJqSnA97/WlooL/1yA7maj8bQ a85wLmOCHmA95dYm8/YWgM/2i7tPTiEoPAMuCi5KJALePO8gR15A7iRqMomQmy9wfMNG 8azJUPVquLa59ldVVFv97VWhXsDKybctuMqAMlM8NIsNW4xZMUteQfPNDsd1Mp4UgmY4 BuJg== X-Gm-Message-State: AJcUukdcXH9DRym5aRUXjv69p0AUi3a262GsSeG9gpfKyQE4rwOhs/0A EZkytRabCrO2Goc/ntcOxBumYHussPfxZ7dLqb4= X-Google-Smtp-Source: ALg8bN5IdWUGpOptnin+sBmtuQGM1jNEaoUFR5wfiLMkjA5QtGihiv0r3IWola52AYkYtgDCtbD2KZH0ysLNebQcNVo= X-Received: by 2002:a9d:2af:: with SMTP id 44mr5644769otl.181.1547082213993; Wed, 09 Jan 2019 17:03:33 -0800 (PST) MIME-Version: 1.0 References: <98CBD80474FA8B44BF855DF32C47DC35B425B1@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35B425B8@smartserver.smartshare.dk> <3446539.r5cUhzCBca@xps> In-Reply-To: <3446539.r5cUhzCBca@xps> From: Rami Rosen Date: Thu, 10 Jan 2019 03:03:24 +0200 Message-ID: To: Thomas Monjalon Cc: =?UTF-8?Q?Morten_Br=C3=B8rup?= , dev@dpdk.org, olivier.matz@6wind.com, arybchenko@solarflare.com, ferruh.yigit@intel.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [RFC] function to parse packet headers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2019 01:03:35 -0000 Hi, Morten, > And regarding avoiding code duplicity, I'm pursuing Olivier about merging packet header validation into rte_net_get_ptype() instead of writing a separate function. > This seems also a good alternative. +1 Regards, Rami Rosen > > >