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 EEBBFA0A02 for ; Mon, 17 May 2021 10:45:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 882474014E; Mon, 17 May 2021 10:45:58 +0200 (CEST) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by mails.dpdk.org (Postfix) with ESMTP id F235A40041 for ; Mon, 17 May 2021 10:45:56 +0200 (CEST) Received: by mail-qk1-f173.google.com with SMTP id 197so4952269qkl.12 for ; Mon, 17 May 2021 01:45:56 -0700 (PDT) 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=hx0JcoIH9pTfogAmV+uHs/59DmQeDDjvtw0Jp179ZP0=; b=bo0lFxGIV2V4MwE5wyNfArOk1ockDsqVJmgwgHWXp/Y8ObSR8YY8zH8d01MA21dTQw kBdI+bM3Lo3e3RLRq8u+xCyD4ksJDIlVM6GohGtZsehQy5wKyuG/Vn0NYtEO+U9Mm8Lc lduwNqjl1ax5NUy6HH7a8KlpOx1xQf0Qk1f2HI0nmlAxhTOMtHP49ckwTzwVykwRa/EX t5P+at1T2Fnd/F2GB26Tluyah1NUhKyUElb39IYu+IsFzoBEhfd55aKASndWe17r3b3e coHWXPsPnTUwgJGipCjYGF+QyYWPzPcLSGARms3KxEKlg1G0FqGYHNu1547v58vOuEGQ 4shg== 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=hx0JcoIH9pTfogAmV+uHs/59DmQeDDjvtw0Jp179ZP0=; b=btiblV5fkba5Ew7R9epkoK6CQmZsyCly9df9lM9Zli4uxZEcPJDM96k4cnEUIhM/nZ SCURLTvNiLIYI3n+2R0KcoDL2VrGtnmVXNSMoLuotA9u0WaF8vV8Cjj50dgDxVtkEuSy kBwnogfb5RkxK0NMek6JlyTrnV12aBEq6oC93AfX+yJkc6oPq0DaXsxomuPJr5EOpC6I UdSbQ7UFq1o9x8C1MxgLI3oL7c8eyGvf8STppywezpbmDioGiAGiiMxi6eMKVbc10jYz sWNk2aljud4erV9Y3Q/Uu+HF1plYfL30d8N2QTDMFFg2LjXccFaO7EHuD8jlC2VZBt8d 2PYA== X-Gm-Message-State: AOAM532WceiS1fEtrCjbfR3V73nf/QdE/7cn4f0iS8igwujkWEXW1Dne Hjv38kAH+zv2DeYsK7XnefYH+g4y/jH8+YFYCf6FjX9z X-Google-Smtp-Source: ABdhPJzgWlmxlIkPiBV0IfvO91I4IGiUXrwv6yqlEUuLeX3OgVWIlWv+Lz6dJEMtxVQ8mAzd7JhPfct86zJWP/7mEKU= X-Received: by 2002:a37:bfc7:: with SMTP id p190mr56048771qkf.31.1621241156203; Mon, 17 May 2021 01:45:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Muhammad Zain-ul-Abideen Date: Mon, 17 May 2021 13:45:45 +0500 Message-ID: To: Jagan P Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-users] DPDK support for vlan id 0 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 Sender: "users" Kindly tell us more about the setup and which dpdk you are using. and what is the packet life at sender and receiver. On Mon, May 17, 2021 at 1:01 PM Jagan P wrote: > Hi, > We were trying to forward packets with vlan id as 0. But the packet is > getting altered when we do so. > The IP flag and the destination port fields are getting changed. We doubt > if this is happening in DPDK because till the rte_eth_tx_burst API, the > packet is proper. > But the packet captured at the destination is altered. > Could you please let us know if there is support in DPDK for forwarding > packet with vlan id 0 or if we are missing something. > > Packet at rte_eth_tx_burst: > dump mbuf at 0x1706dad00, iova=0x1706dad80, buf_len=2304 > pkt_len=252, ol_flags=0xf0000000000181, nb_segs=1, port=0, vlan_tci=0, > ptype=0x211 > segment at 0x1706dad00, data=0x1706dae04, len=252, off=132, refcnt=1 > Dump data at [0x1706dae04], len=200 > 00000000: 00 10 94 00 00 05 00 01 02 03 04 05 81 00 00 00 | > ................ > 00000010: 08 00 45 00 00 EA 00 02 00 00 3F 11 00 00 02 02 | > ..E.......?..... > 00000020: 02 02 05 05 05 02 62 A4 62 A3 00 D6 0E F2 00 00 | > ......b.b....... > 00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | > ................ > 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | > ................ > 00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | > ................ > 00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | > ................ > 00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | > ................ > 00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | > ................ > 00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | > ................ > 000000A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | > ................ > 000000B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | > ................ > 000000C0: 00 00 00 00 00 00 00 00 > > Packet captured at spirent(destination): > 00 10 94 00 00 05 00 01 02 03 04 05 81 00 00 00 > 08 00 45 00 00 EA 00 02 6e fe 3F 11 00 00 02 02 > 02 02 05 05 05 02 62 A4 f5 f8 00 D6 0E F2 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > > Thanks, > Jagan P > > ===================================================== > Please refer to https://northamerica.altran.com/email-disclaimer > for important disclosures regarding this electronic communication. > ===================================================== >