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 A9B1943180 for ; Mon, 16 Oct 2023 19:30:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6CE80406BA; Mon, 16 Oct 2023 19:30:12 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id BD3D040A72 for ; Mon, 16 Oct 2023 19:30:10 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1ca72f8ff3aso7801695ad.0 for ; Mon, 16 Oct 2023 10:30:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697477410; x=1698082210; 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=skRdMa+rQxtvC1+oDEpTDd7MDkoiPCnncn7CSuxgBKs=; b=txH4PDNHYYZc2eRypyLONXjXPpsqhV1dNFyXbLMtNAF2no48X/YnyAF93F4HctoFRT 2/a9iE43LlMSAP2vCQAGUAcfd3hi0BVEoVOl/81kDfbmzUt+spCjP2cHiKkpVSV4YtLB F/Ub8R+GJd1t2XAXl3CtQhwBDmJgkgiMuoJTD02FKbVVA/ybwzm55aHm+K2h3H1RQ7ya JjV9AGHsKIZdjfJbf0oP2q0pHjzsWN/spKom200iej0GGGlP+Or8JUtWL7lBS221q1n7 z91PaMeOlomJ3AFTeVatkP4LJEy9Ie0J5UebB9SQc4mHkJuQ+s2WKLlbfILnQGsfrs9d utKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697477410; x=1698082210; 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=skRdMa+rQxtvC1+oDEpTDd7MDkoiPCnncn7CSuxgBKs=; b=tFIZfAL9Bcm3iyrSVI3W/Z8eQIzTg2F1vA2OjDPC9iy+3GQItFxN/HXQN1qc2FJh1p 2WYvcFRd/0fhB5PEauzRMp3FsicTQzqc+p7f2ifMrsTEUK8l/Z7zFoGsS18gjz2xWc5a sAx7qtM3VC0XzjF/vKibPWs9BlrosiSPJvIGDVzbG2AMlEnNW1ICi0vYBLJvgM8X7pa0 j+KE4nvFUep8YA1jLf5Ld3oplVCwepDWG5ZdslO6Yu2kWDGWPnTSVcCLV7OcSNz4TX+3 MW6Fyf3YWMNGKUIxUbPFZDHJAG0WXjZZ0BjGF80/C7tsL1VINz2/CgjwKxBIWcqum0ZE 6UAQ== X-Gm-Message-State: AOJu0Yx+kPfd6kZP/ja4R26gAyvKLs6ULvvtILEVCRLhSfVvN19OoxUC P/MLYNaNkdBGpJY7tfLYizK09sD03iEHYNqmJwvYt4o6 X-Google-Smtp-Source: AGHT+IHkXVodj61iif0JIlCwVPwV47QCse6in+CHtGPWaNqu3Ss6OhZz5EWY+FU9viGg45MfBW+uQg== X-Received: by 2002:a17:90a:454e:b0:27d:1862:a494 with SMTP id r14-20020a17090a454e00b0027d1862a494mr10957299pjm.11.1697477409878; Mon, 16 Oct 2023 10:30:09 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id v23-20020a17090ae99700b002609cadc56esm4987858pjy.11.2023.10.16.10.30.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:30:09 -0700 (PDT) Date: Mon, 16 Oct 2023 10:30:07 -0700 From: Stephen Hemminger To: Harrish SJ Cc: users@dpdk.org Subject: Re: Reg Packet Type Issue in Intel X710 NIC Message-ID: <20231016103007.340048cb@hermes.local> In-Reply-To: References: <3A1C1F9E-737D-48AE-BD33-DAA9AEEC8328@aviznetworks.com> <20231016102354.6d77eeea@hermes.local> 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:55:39 +0530 Harrish SJ wrote: > 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. > Thanks in advance, > > Regards and Thanks, > Harrish.S.J Packet type recognition in either done in software (slow) or hardware. The hardware recognition is limited by what that NIC is able to recognize. I suspect most NIC's just look at ether type and maybe IP proto fields while processing packet. In any case packet type is not very reliable across NIC vendors. If you really want to identify packets either do it in SW or use rte_flow if NIC supports it.