From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7ABE1A055A for ; Thu, 27 Feb 2020 00:53:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9ACAD1BFAB; Thu, 27 Feb 2020 00:53:34 +0100 (CET) Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) by dpdk.org (Postfix) with ESMTP id A425D1BF8D for ; Thu, 27 Feb 2020 00:53:33 +0100 (CET) Received: by mail-ot1-f41.google.com with SMTP id b3so1234167otp.4 for ; Wed, 26 Feb 2020 15:53:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arista.com; s=googlenew; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sDk9u+mXdH/U/Vt3ozONcN6jHPdaxKecg/WVcX9zN9s=; b=KIqXTWmOg4Z2m4KGK0amjbTi5YYgn+nnu2TAB2Bf5Z+yFk1eSr7UIxyEHd0RyY1SlI 3W8rchojMQ/ws2n85l16hrsK5t5xdf2S0l09W8QG/sK1Jtkx79YfZcM3UkFZ2TJ0198Y FRkDkFDmg4dkZa1mu8avD1P6JQtDwWCCfHvFK8ThMxkx/iSe2zs4zFL190lEfYLgDZTN pYJqpbMoy3+HSq+3i4lF0+tQOQEH9gTRGqpNAp8yNKvM3jUz5jdMTSkQKu/PNpHAMicn kA6QdO3eGeOEzsmP6Q12D6R1duJATCtrBvcJxd6lqgrLpHBvKw/s2/qkmMr7sLnNPoMg rMJg== 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=sDk9u+mXdH/U/Vt3ozONcN6jHPdaxKecg/WVcX9zN9s=; b=ONdhWyKhuwo9HbyNEaSDe4Muk1ZWw8kPXM38IntHbSsVCXjn3d8VBPT9zJYTeeHU2E eFCR7SDzpSU+YVVwca6W4gQdqj2g1jF9mfIBxb7O9wporf/2TQJLIZwKH6JvOUNMJ02Z Wn2h34eQDZhIFGCBfvPmhrMS4TtmX0e0lBW0Uke+AHxPesVmIeViV53BfCRt7g/UHf4N DFLf1tLFN5mV3wsWDph8IjBhw97uVKB8cQX1GlWfRc9+wp0WncNA9pqJeOCoPRO2IdaL ovdziqPT4/j9/4X6JmpanFR43ftEWcC3z9p+jcj1G1bnplTI5eV/TcfgIjYBBFbSDl0u ok7w== X-Gm-Message-State: APjAAAXJTp4CrnCxrk93mYXyWDcEyaPkt6CGxk0A5exmPZM6DCpfBciw Kw5dqz61Ph10hGoHozBNYwUg0r81AyIKSe5A5zGx5JMo X-Google-Smtp-Source: APXvYqwIubbQWx5NGbqVly5loosGOKL3pKIjaHOMnKuVJzAGuRVqFgQ2yRTuELFyKg1VXf2v9/Ai5U5OAfn+zJTmr/Q= X-Received: by 2002:a9d:395:: with SMTP id f21mr1094917otf.67.1582761212812; Wed, 26 Feb 2020 15:53:32 -0800 (PST) MIME-Version: 1.0 References: <71565765-d37d-814f-a509-db810fbb36b0@linux.vnet.ibm.com> In-Reply-To: <71565765-d37d-814f-a509-db810fbb36b0@linux.vnet.ibm.com> From: Jim Murphy Date: Wed, 26 Feb 2020 15:53:20 -0800 Message-ID: To: David Christensen Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] How to configure an Ethernet Driver to ignore the Ethertype X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, Thanks for the pointers on higig I will look into it. However in this case these headers are defined arbitrarily using p4. Thanks, Jim On Wed, Feb 26, 2020, 1:58 PM David Christensen wrote: > > I was wondering if there is a way to get the Ethernet driver to ignore > the > > Ethertype. The problem I am having is that I am dealing with a switch > chip > > that is redirecting packets to the processor via an offload ethernet > > device. Before offload the switch chip adds a header that pushes the DA > > into the spot where the EtherType is normally. As a result, the ethertype > > is essentially a random value so some packets will look like that have a > > snap header and the driver will conclude that the packet is corrupted I > > presume. I am working with the IXGBE driver. > > Are you talking about HiGig/HiGig2 headers? I think your support in the > DPDK will be limited to octeontx2 (look for switch_header="higig2" in > https://fast.dpdk.org/doc/pdf-guides/nics-master.pdf). > > Dave >