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 96344A0471 for ; Tue, 13 Aug 2019 17:58:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D8D448F96; Tue, 13 Aug 2019 17:58:06 +0200 (CEST) Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) by dpdk.org (Postfix) with ESMTP id E90CF5681 for ; Tue, 13 Aug 2019 17:58:05 +0200 (CEST) Received: by mail-yb1-f171.google.com with SMTP id j199so40164506ybg.5 for ; Tue, 13 Aug 2019 08:58:05 -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=1tuFKi0aef0A07sRHkYSwb7uVgui6qzuw4r7MnSiRnQ=; b=RLyj7YUU8SQQ6rdzU3v4CYKyNxIYtkSeq+/qbOLMBOXW6oFAeesnWW0QqGd2/F7LWm SuqK/xUyxyRqgJvkfanYL4rnMhU4rjtQShq9JHK2dcj8x+9WNMq/nCT5liX6Q5VWLkzL jGEmyiQGL7jPwDb9rUOlb5bmXaE0z8OZe/HKPysTfcJVnDI8xj3GFDNa7cBZDJoQ50YT tTcpgKI4xj1LVjSUuGFN1MKwQyspR0YWurs0cylwfyWGCMXKwET8lE84qtGysjJkdAzS rsKXPpVMzrWYnviIDOHwYwdwuPvd5YvRhtJTTri71rx1Six2+ccqXfJmi8f3t9riBA3O 7etw== 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=1tuFKi0aef0A07sRHkYSwb7uVgui6qzuw4r7MnSiRnQ=; b=r7mFZxyzgIsecICYFd5IdqSAMs/hsrzDWH9zsLRt3ekFze3Si9kJnBaN6O1kjv10rz LNn+g/JnS+fIa/d0mNfZtaYus7L2sSQjbajtlOAFL7eDDuFr6jVLV7PkQJNZJGYr81S7 BczClTq4AkwQlnma7hMRnBTTe+kryShFgCNqD6XF7WKFPVJmwhpjuSb/sTdw6aSIZfZQ PdxQx/cpoe/wQKcX6AlW/Au6m7CcRjs6vyWKtJ60bCCXb7sQf2gshM3dLVmEvLWuVuAm e2havc72oUt/xyulI9hZk9JDApat0HYCROjUlU1DntKTMqguVHj6wApUR56MkhLPKV3s zY2g== X-Gm-Message-State: APjAAAUw77ihewwof47nZ98Chh6LZ6sVZ4w5I2gUkS+lhR0Rv/BXjCXC zBm7Upi+gc6hIfYJdv4Uw0BzuCNxpNG4ZYaRzF7P1Ln5 X-Google-Smtp-Source: APXvYqx5TFLXzIqM2n1QrcswaPVt70Ewl8msQ6M0/XL3EwahcwFDJnjfOybVgS6AGeBsWCICYln8tya5BVch5Kp+IAI= X-Received: by 2002:a25:bf82:: with SMTP id l2mr1330211ybk.328.1565711884892; Tue, 13 Aug 2019 08:58:04 -0700 (PDT) MIME-Version: 1.0 From: Andrew Wang Date: Tue, 13 Aug 2019 11:57:39 -0400 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Route packets to DPDK interface or setup Bifurcated Flow 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 have the following setup: a linux box running Ubuntu 18.04 with 2 interfaces, one controlled by the kernel (eno49), from which we receive incoming packets from the switch, and another interface (eno50), which is taken over by our DPDK app, and would ideally only process packets coming from eno49 for a specific IPv6 subnet and forward them to the backend server. See the schematic below: +-------------+ | Switch | +-------------+ | | +---+---------+ | eno49 | eno49 - interface controlled by kernel | | | eno50 | eno50 - interface taken over by DPDK +---+---------+ | | +-------------+ | Backend | +-------------+ However, when the DPDK app takes over the interface, we can no longer see the interface via commands like "ip link show". So it seems we can no longer set commands like "ip -6 route add dev eno50`. Our DPDK app currently does not implement Neighbor Discovery Protocol so we cannot set route via an IPv6 address. Is there a way of forwarding incoming packets from eno49 to our eno50 interface? We tried setting up flow bifurcation, but got the following error: # dmesg |grep Virtualization [ 1.537848] DMAR: Intel(R) Virtualization Technology for Directed I/O # cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-4.15.0-55-generic root=UUID=023bc8a4-513f-4ddb-977e-9e49ea2f8477 ro maybe-ubiquity default_hugepagesz=1G hugepagesz=1G hugepages=4 intel_iommu=on iommu=pt # cat /sys/bus/pci/devices/0000:04:00.1/sriov_numvfs 2 # ip link show enp4s16f1 15: enp4s16f1: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 2a:82:46:01:0d:ce brd ff:ff:ff:ff:ff:ff # ip link show eno50 7: eno50: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 5c:b9:01:98:7f:d5 brd ff:ff:ff:ff:ff:ff vf 0 MAC 2a:82:46:01:0d:ce, spoof checking on, link-state auto, trust off, query_rss off vf 1 MAC 72:bc:92:d8:81:75, spoof checking on, link-state auto, trust off, query_rss off # ethtool -i enp4s16f1 driver: ixgbevf version: 4.6.1 firmware-version: expansion-rom-version: bus-info: 0000:04:10.1 supports-statistics: yes supports-test: yes supports-eeprom-access: no supports-register-dump: yes supports-priv-flags: yes # ethtool -K enp4s16f1 ntuple on Cannot change ntuple-filters Could not change any device features Any suggestions on how we can proceed? Either help with directing flow or getting flow bifurcation to work would be highly appreciated. Thanks in advance Andrew