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 2CDC5A046B for ; Thu, 27 Jun 2019 17:40:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0CFC837B4; Thu, 27 Jun 2019 17:40:42 +0200 (CEST) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by dpdk.org (Postfix) with ESMTP id E49561B9C7 for ; Tue, 25 Jun 2019 16:14:04 +0200 (CEST) Received: by mail-wm1-f51.google.com with SMTP id 207so3024390wma.1 for ; Tue, 25 Jun 2019 07:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=TlzFKXTfVwb4PJTXG0npo+QbcTDcwBdnJI5yUwbJinU=; b=gxU/8QRNvssy5/dkwnDoM799PmuhTwVsUxWFGrSxKiGs/iqlMn0K/BThYLZnCZorI9 U9sVjZdc3hqQV7P92j2F0STvAVpJVkYj/PXgAX8ho5vYSARtFjDCFwKk6xa2O0kA1zci dXOjEu2qtHyr721St75FCP1yPyFMcyhXAzW/cGqx0yA4Psq5CpgHt+uu+jm9x6lUKbRl 1gmXdX6xteWEBjpZsq7AwWspvtvBL5Xg6M3eoPnR9gxhdyiXNCiKBU92iXT+eOWl29mn SmNP5xcPpMfGWhzdoxxEzydI+D85N8y2bfbGf7zr817kL6mpnrJECPzobMWJgb0DCWuS EWCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=TlzFKXTfVwb4PJTXG0npo+QbcTDcwBdnJI5yUwbJinU=; b=e7OB68paVkHvrroDDj2jMviYQZFIczXJJNEnqlY3ottEYAEU6Kia/exqlOsYiRqmpT CnydU6Z6YHJgKEBExNsQVYm/5vnvYPNViM6epUrdoOliM/YtBfE6w83pCBQ1dGRQhP0r 4HNoCsOLIlb9kj7dIV60d+Rxfu6OBcxmVdzbJNE6lGeyDsEztYfr9BuvI8AQjwjOHyBS zq6GVMZdBboyP8MclnhauA6j2nEJEPVG9xj/mWk662O/yrd3lD5k8c7JY8JS0JiBe8D9 1fUi1bRtge9GbHJDD1HXKx8i4MNQFj9Nm8LIVv5FbVPg5zstObZv7hjxS29wf57RmOzN hbig== X-Gm-Message-State: APjAAAVUFU/ib/E2fFA9xbt+Xp2LkP0LMB5Gv5D4baThStmXWvceQvFk GLWNb+C4dAXovG69tTBUf6SyJcw/T15yYgoXAKiPmbwy X-Google-Smtp-Source: APXvYqwpJZQ/l+MEUH/xSLMNyTnNund4/KlgXCPSMPpN9D6ebIcordH2Hr+aHV6wSnK6gkwMbvNtc/fEuy55e28mK+o= X-Received: by 2002:a1c:e108:: with SMTP id y8mr19553118wmg.65.1561472044322; Tue, 25 Jun 2019 07:14:04 -0700 (PDT) MIME-Version: 1.0 From: Suchetha p Date: Tue, 25 Jun 2019 19:43:53 +0530 Message-ID: To: users@dpdk.org X-Mailman-Approved-At: Thu, 27 Jun 2019 17:40:40 +0200 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] IPV4 and VLAN RX packets from NIC donot have the mbuf offload flag set with DPDK 18.08 version 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, After upgrading the DPDK to 18.08 version and RHEL 7.6 OS I observe that offload flags were not set in the packets received from NIC for eth type VLAN and IPV4. Hence application had to explicitly set the offload flags for VLAN and IPV4 packet. if (ETHER_TYPE_VLAN == eth_type) { m->ol_flags |= PKT_RX_VLAN_PKT; } if (ETHER_TYPE_IPv4 == eth_type) { m->ol_flags |= PKT_RX_IPV4_HDR; } If these offload flags were not set in the mbuf the packet would get dropped and will not be forwarded to the Tap device. But the offload flag setting per NIC received packet is causing some performance issue and delay in data transfer. TCP segment loss and retransmissions are observed and TX Tap drops are observed. These changes with respect to offload flag setting for RX VLAN and IPV4 packet was not required with old DPDK and RHEL6 and packets were getting forwarded from NIC to Tap device and vice versa without any issue. So is anything changed with respect to DPDK and RHEL 7 for ingress packets ? Also let me know if CKSUM/ offload flags for TCP packets needs to be set with latest DPDK 18.08 to avoid TCP segment loss /DUP ACK and retransmissions . Thanks, Suchetha