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 3B07C43180 for ; Mon, 16 Oct 2023 19:25:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2601C402D7; Mon, 16 Oct 2023 19:25:55 +0200 (CEST) Received: from mail-il1-f174.google.com (mail-il1-f174.google.com [209.85.166.174]) by mails.dpdk.org (Postfix) with ESMTP id A83B240269 for ; Mon, 16 Oct 2023 19:25:53 +0200 (CEST) Received: by mail-il1-f174.google.com with SMTP id e9e14a558f8ab-35749078a59so19614745ab.3 for ; Mon, 16 Oct 2023 10:25:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aviznetworks-com.20230601.gappssmtp.com; s=20230601; t=1697477153; x=1698081953; darn=dpdk.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=k6ka1gaz3pBIVduappKo/Dsjo4Ct1O6nbk+jJ1JSDDs=; b=g5plHQyGi2rzwl0pJBFtsv9YYF2+iXu58aBnRTzeC0JylARsDQ+HMwqFY3ud50o4bE BhJLvJ/XlhxY3oZ+nH9LFjstZN/+MxKcV+vPg0DL9fBZo/BZfPYpU2mJtpcgdKDxgHby J2rEixhDXVz35x5O/JVxMhLoSmie5g8yaj11uEz0V57kx9vWUqGBBWSe+LPn49Yz/3W5 0RhTGbh0fjHUZqhbOBZN3Hh9j3x1skcK3xU+lGQX3euY2mzYMqA8lhqEh6QZ7NR8jRSQ b6MOhOJRRj5dqR1uoT2clANMf3gfckUUXEbUChqT+fC7MFpkeEodX0SrJwrriqqHGWLP 6/cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697477153; x=1698081953; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k6ka1gaz3pBIVduappKo/Dsjo4Ct1O6nbk+jJ1JSDDs=; b=stVBJJTcvtTjEoh6FORFxaVDrkXw5JjfUmIfAMo3aDJUN1k3hgZA03rTnOqr5tN9Ge KIDC3GlvVCMhwWkkrJNIoPJ7adPsd47V0U4C5zgLD/FTMtR1uP53Bhn2cvNS2CPuT94O /icJH83yTU8csGmXjXVymWQNJI4G8rWLHhUUXGdRidZuv0RRJGkPOMX/SUPR1SOjtIEp h3XpNUIUqDVhWtmma4ibXKi0SdAWx5/SLEO1thziz9dG+00kIvj5b6GAfkU5wr9Gs/Lt 3Sx4ZEQjOdPqOMhoYvOdmP7dm070eJhtEMHWvKRVTdxDY2Q4rHZJL3A5smHXYDEK8+20 s26w== X-Gm-Message-State: AOJu0Ywnm53z3fXakYgekq0da84KypnNBbyzFnesq71OTDlhrJ49pUTv 4rVD7XCry1RSsp2c6xnRDWxKwXr6QCIdjNn9MGGkGQ== X-Google-Smtp-Source: AGHT+IHrEfxKMQyBE29eWk35iV+AvzXwrazG7SR1HeBCy/qeMkCnTaqpVvMpJU7N7WGbsQKwE4V6bw== X-Received: by 2002:a92:603:0:b0:357:5751:7ab7 with SMTP id x3-20020a920603000000b0035757517ab7mr148185ilg.0.1697477152873; Mon, 16 Oct 2023 10:25:52 -0700 (PDT) Received: from smtpclient.apple ([2401:4900:1ce3:2aab:ecbd:2804:7e1f:ebee]) by smtp.gmail.com with ESMTPSA id k2-20020aa79982000000b006b24b99afd4sm151582pfh.176.2023.10.16.10.25.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Oct 2023 10:25:52 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: Reg Packet Type Issue in Intel X710 NIC From: Harrish SJ In-Reply-To: <20231016102354.6d77eeea@hermes.local> Date: Mon, 16 Oct 2023 22:55:39 +0530 Cc: users@dpdk.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <3A1C1F9E-737D-48AE-BD33-DAA9AEEC8328@aviznetworks.com> <20231016102354.6d77eeea@hermes.local> To: Stephen Hemminger X-Mailer: Apple Mail (2.3731.400.51.1.1) 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 Thanks much Stephen for your inputs. Let me check the flags and get = back. Any inputs on GTP Packet type as UNKNOWN would be much helpful.=20 Thanks in advance, Regards and Thanks, Harrish.S.J > On 16-Oct-2023, at 10:53 PM, Stephen Hemminger = wrote: >=20 > On Mon, 16 Oct 2023 22:47:18 +0530 > Harrish SJ wrote: >=20 >> Hi Team, >>=20 >> We are observing below issues w.r.t Packet types in Intel X710 NIC >>=20 >> NIC Details: (from dpdk-devbind -s) >> Network devices using DPDK-compatible driver >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> 0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' = drv=3Digb_uio unused=3Di40e,vfio-pci,uio_pci_generic >> 0000:82:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' = drv=3Digb_uio unused=3Di40e,vfio-pci,uio_pci_generic >>=20 >> 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. >>=20 >> testpmd> ddp get list 0 =20 >> Profile number is: 1 >>=20 >> Profile 0: >> Track id: 0x80000008 >> Version: 1.0.4.0 >> Profile name: GTPv1-C/U IPv4/IPv6 payload >>=20 >> Could you please help us in resolving/providing your inputs on the = above issues observed.? >> Thanks in advance, >>=20 >> Regards and Thanks, >> Harrish.S.J >>=20 >=20 > 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.