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 1C45FA0524 for ; Sat, 1 Feb 2020 18:20:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 724681C035; Sat, 1 Feb 2020 18:20:39 +0100 (CET) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) by dpdk.org (Postfix) with ESMTP id 29F7D1BFD9 for ; Sat, 1 Feb 2020 18:20:38 +0100 (CET) Received: by mail-qt1-f169.google.com with SMTP id t13so8082373qto.3 for ; Sat, 01 Feb 2020 09:20:38 -0800 (PST) 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=avHV4FFlIw67yvTE9EjZh9NPHiiFKzGD7J14fnLh0fE=; b=qA9k3L78ofUutCdHwSuvyeC7sNKLNBhnbR9T+fuLNU2h+tS4qWE5iEwH9jlbQQL5w+ MV5GFMWoKDvpDFy9CDI/On89tYf5lKz7Cuegh5TLfoUyqCu+w0WMSIS2/xrMEOrAtucI NwS+7M8r2d5UkS1qjU6iLvbEj+W1gdW3sxziCzFaEDUE3LgkqPCufNt40luqucqXwuh9 gyHRuL1vyOsEOVwlRo45of4WkSdq4FRNNNgpXBVVf1TtAyUzwX7iYuwTEvVzF1B3uf1/ ejBXL2b10DX4ShxoNU35L3gNpeAc9C2vfJMjwssH9u6OMFdpwWE/yzIXmRm2nPhruKf0 Oa6w== 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=avHV4FFlIw67yvTE9EjZh9NPHiiFKzGD7J14fnLh0fE=; b=UhVFHw4TNfRXL+GO+WssbBf/4CdBQwCQnVjNOyRNI1Pp1oY2dhYLIRtrS7BnfTd994 VzeD+FhEmCW6mK4xU6FrSjc0Kamaxp+qRqHzSuADNlZxUYCHzIJ/hv1UhqS2CAXX1grp gqBvOHvp9jmhpLK+bk+FLAP3/hk3cjdDUdZe4MwErIzdDzwkf9D1YtkDVhrkunXbyx/L XxXguQw/6bqGZwyRP7HG76lrbdzBFBPl3rN0wzcbeBmBjUe6l6rFmN1UpCutQcXONB7F IPylnRfCd4ukGTUA/qJ1Xpn4b+V6FW2dsFLCf5mfwiVbMhAYD3z0UL72HXQ5pcV9xgwD rWIA== X-Gm-Message-State: APjAAAV3W5c12s014KkyzJY5UXaLaq69Uc08UIprYVNh+sYVPa3XhWKk kbRCVmhW1MmU42OHweiCJ9FUlI7AfLisk56T1JFAFw== X-Google-Smtp-Source: APXvYqyMg+6lqdyRnQTnlAYsavPMzAVL0p2ptp8mAzBGng1OhhCOyuiQcEKJmyAzKnAJd3k2lHYuanHmoe/jUPYWcj8= X-Received: by 2002:ac8:4542:: with SMTP id z2mr3991104qtn.324.1580577637077; Sat, 01 Feb 2020 09:20:37 -0800 (PST) MIME-Version: 1.0 From: Suchetha p Date: Sat, 1 Feb 2020 22:50:25 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Generic Virtualization approach of DPDK based application using SR-IOV and PCI Passthrough to be compatible with all Hardware NICs 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, We are trying to bring up KVM based VMs on HP Gen10 Servers running on RHEL 7.6 and having Intel X710 NIC's. The VMs are also running on RHEL 7.6 and the DPDK version used in the guest application is 18.08. Intel DPDK VF drivers (igb_uio) compiled and loaded currently in our VM are not compatible with the Host PF drivers(vfio-pci) for Intel X710 Ethernet NICs. The igb_uio driver may be only compatible with Intel NICs like 82599 as it worked in our lab for HP Gen9 servers running RHEL 7.6 having Intel 82599 NICs. Issues observed with DPDK VF driver igb_uio for Intel X710 NICs: The outgoing packets from DPDK application are leaving VM via VF towards Host=E2=80=99s Physical ports and reaching remote Host=E2=80=99s Physical p= orts. But the incoming packets from Host=E2=80=99s Physical port are not reaching= VM via VF. Could you please confirm whether igb_uio driver is compatible with only Intel NICs like 82599 ? So we had to change PCI device binding to another driver vfio-pci available in RHEL7. But based on the debugging of our DPDK based application with VF driver vfio-pci on X710 NICs we observed that the incoming packets are VLAN stripped by HW when the OFFLOAD flags are not set for the same. why does X710 NIC VF driver remove the VLAN without RX offload VLAN strip flags set? Could you please check and confirm if the unexpected VLAN removal behaviour of X710 NIC VF driver vfio-pci is a known bug? We want to generalize DPDK implementation for all HW NICs.Could you please clarify if this is achievable with igb_uio or vfio-pci driver ? We would appreciate if you could provide your feedback and suggestions towards generic solution. Thanks, Suchetha