From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6D6FF43180 for ; Mon, 16 Oct 2023 19:23:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 36446402D7; Mon, 16 Oct 2023 19:23:59 +0200 (CEST) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id F25A440269 for ; Mon, 16 Oct 2023 19:23:57 +0200 (CEST) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-68fb85afef4so3757320b3a.1 for ; Mon, 16 Oct 2023 10:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697477037; x=1698081837; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=WU4buWQO60lL1cJ7BnFgBF25IqCB8DNMdBglTlTM2c4=; b=vtG0ct2J/yLXA8I4EfVi0haU2Qcles50UB8EIdTs+1hylaNVObL7W4170TA8ZDJtSQ Mq9FLHiFH4gwOJFCBadvLLt++kQ4nD9OTqvyqJmIWewKo26cX64tO6plQNY4DSYXhaJl cUcJSkg0XMKYvuqU0REcnkKEL/QfhJylTDos96yQjFaZ/N/N/DshKU3Ksw67DAwvBmG2 w2cPcDONrTuWroMxTJJtgwS48ch3q9VV6minT1FV7okHenYl2juBIVOfGSrdPZJtffF6 TvO73ps2am8XSfCRi1IVQBSOxVS4Tzm/aJUTlmunLz0U6jmGF6D7tIRnDQhfjfd8AeZd 0reA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697477037; x=1698081837; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WU4buWQO60lL1cJ7BnFgBF25IqCB8DNMdBglTlTM2c4=; b=URSeFh0rkiU22w6L7hXRE8Qz5Kk4ToyxszJWS73OlNZbrFdJBDsfKsxKeuGhx8Vyhe x/W6vox7IgueqHXqB2wkEM0YvNNmJcr6G6SIkdqf0jfJthsv/RdAHaZkqdtTBnwcJ4Yn EW6P+dgWAtx1RLNzRolhhjN9wzlFmt6w0yPO0kNH9+z2pews2mvMUgo5QMg5o+2Jfed/ yjnULKiIEet7kBTRJSeg+Lb8c+pIgPsLo9rQFeQEsZwt/fu04lK+9AHzJTSvnYBUi6bB N51V0StC9/9lKA486tv+vwQhxPT2WkCtwaIl2PSUMKRuQ98kiIlD1j875xZpYNAjVk8p BTPw== X-Gm-Message-State: AOJu0YzBz+Qb5bkFoYwEC50DwliUNLfoxP1fU3JuWgvsDbWEnJOo/jb4 /qTyAB4Qx4RUm2KGbulZvRpTAQ== X-Google-Smtp-Source: AGHT+IHmc7xOK+IPrirfsDu8E6sdk4xqHL9aafUAiDP0B9Q4JuHKCM5JnjBw8JTZes0wLFKQ4yvBMQ== X-Received: by 2002:a05:6a20:3202:b0:152:e902:8aa with SMTP id hl2-20020a056a20320200b00152e90208aamr27782560pzc.34.1697477037026; Mon, 16 Oct 2023 10:23:57 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id m12-20020a170902db0c00b001ca21c8abf7sm4715544plx.188.2023.10.16.10.23.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:23:56 -0700 (PDT) Date: Mon, 16 Oct 2023 10:23:54 -0700 From: Stephen Hemminger To: Harrish SJ Cc: users@dpdk.org Subject: Re: Reg Packet Type Issue in Intel X710 NIC Message-ID: <20231016102354.6d77eeea@hermes.local> In-Reply-To: <3A1C1F9E-737D-48AE-BD33-DAA9AEEC8328@aviznetworks.com> References: <3A1C1F9E-737D-48AE-BD33-DAA9AEEC8328@aviznetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Mon, 16 Oct 2023 22:47:18 +0530 Harrish SJ wrote: > Hi Team, > > We are observing below issues w.r.t Packet types in Intel X710 NIC > > NIC Details: (from dpdk-devbind -s) > Network devices using DPDK-compatible driver > ============================================ > 0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=igb_uio unused=i40e,vfio-pci,uio_pci_generic > 0000:82:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=igb_uio unused=i40e,vfio-pci,uio_pci_generic > > Packet type is not set as L2_ETHER_VLAN and only set as L2_ETHER when the packet is received as VLAN tagged. > IP Packet type is set as L3_IPV4_EXT_UNKNOWN for IP/IP+UDP packets - Is this expected.? > Packet type is set as UNKNOWN for GTP packets even after configuring DDP profile for the ports used. > > testpmd> ddp get list 0 > Profile number is: 1 > > Profile 0: > Track id: 0x80000008 > Version: 1.0.4.0 > Profile name: GTPv1-C/U IPv4/IPv6 payload > > Could you please help us in resolving/providing your inputs on the above issues observed.? > Thanks in advance, > > Regards and Thanks, > Harrish.S.J > Since in most cases VLAN is offloaded in mbuf and RTE_MBUF_F_RX_VLAN_STRIPPED is set in offload flags. If VLAN is stripped it makes sense that the packet type could just be L2_ETHER but it looks like it maybe driver dependent which is not good.