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 11F0CA0350; Sat, 6 Jun 2020 01:26:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 82AFE1D51A; Sat, 6 Jun 2020 01:26:15 +0200 (CEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by dpdk.org (Postfix) with ESMTP id 3D8471D518 for ; Sat, 6 Jun 2020 01:26:14 +0200 (CEST) Received: by mail-pf1-f177.google.com with SMTP id 64so5644530pfg.8 for ; Fri, 05 Jun 2020 16:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:user-agent:mime-version; bh=9zWQW7SWtk7Sqg//Kbj2XFc8eWf7A1dQHlhAGp7e3/Y=; b=QjIFRnp8blseG3C8BbQ9Ak6QUINF8VpdYMkzrIKdfvVdVW2A7/fLyrRdJbN8FWzI8j 6ATNOQHWkaxIzIrG7QlTiJtPxXXPgwq0XS2K0Xj5mu14f5Kw5yz9MGKgwUEzmwFmjS3t SSQ7DebamehIyGEco7PyZlUBtr7XJGXN1EA/bsn1bzw//AINCkCwpNkJpoP2ZdcM6ei1 c0x13k2ebogwNduDKRuIILgnt98Ck6IIQzxK/LKbuLdfoiZN/58Xv2L1Fh90gP1CNRrt fiyC7VAchYqgm/8btiXkNPxU2RY4RdBxsBHDa3/Jbb8unlN7SRB9mSu54wb/7z9C4/3M 4W0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:user-agent :mime-version; bh=9zWQW7SWtk7Sqg//Kbj2XFc8eWf7A1dQHlhAGp7e3/Y=; b=gq+yPwDmgpYwbzSeOufWNQj+Q04GJJ+w/XNHWpfkmRfvRiFZ3fpNFlvjDulajLvCNh J/hODPIouZ9U4yYGY9+i2jrXgNci6giA+5thnne4SCs1tRu6JfUBD9BIbuA5Tv8WfClG adopuTBkgPcsxyJ2MgmpXwQVnowKE2P2sdTcC8SxsfyN8MHTZ9qS+ZmyIHXe+y89qW1h kpWN17YZ9g8Mg1KOKkJEzmHki9H76MnmifAktghl2784MkjSlDPg446Q3UrXtYkTmHCy MsbFkIkQW406zF6trQDazDHx6wIgLqTD1ZWTthxLFnQ+FrVDdQSUpvFwEktsQCLP/rS3 yi2Q== X-Gm-Message-State: AOAM532WSvm4C77IWz6xvazwbzwv4+zw8Eh9PQZfH5LjYdGpgoYy99J8 QwQVPPP26Ayaahjj9VrD3x26GRr4oRY= X-Google-Smtp-Source: ABdhPJyj7RjezoqDwNMCVMOBs8g8KsSOtinh8i61Pu82THq5EqVPjdUeQ8J5ZfDUUZghra6hWE5Nfw== X-Received: by 2002:a63:5fc8:: with SMTP id t191mr11329638pgb.185.1591399572614; Fri, 05 Jun 2020 16:26:12 -0700 (PDT) Received: from sea-l-00003662.olympus.f5net.com (c-71-231-121-172.hsd1.wa.comcast.net. [71.231.121.172]) by smtp.gmail.com with ESMTPSA id 5sm482241pgl.4.2020.06.05.16.26.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 16:26:11 -0700 (PDT) From: Vincent Li X-Google-Original-From: Vincent Li Date: Fri, 5 Jun 2020 16:26:10 -0700 (PDT) X-X-Sender: vli@sea-ml-00029224.olympus.f5net.com To: dev@dpdk.org Message-ID: User-Agent: Alpine 2.21 (OSX 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: [dpdk-dev] Intel 82599 ixgbe VF flow director support ? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, I am testing https://github.com/iqiyi/dpvs in KVM VM running Ubuntu with Intel 82599 SR-IOV VF. got error like: # ./dpvs current thread affinity is set to F EAL: Detected 4 lcore(s) EAL: Probing VFIO support... EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles ! EAL: PCI device 0000:00:03.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio EAL: PCI device 0000:00:09.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:10ed net_ixgbe_vf EAL: PCI device 0000:00:10.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:10ed net_ixgbe_vf DPVS: dpvs version: 1.8-4, build on 2020.06.04.23:21:22 CFG_FILE: Opening configuration file '/etc/dpvs.conf'. CFG_FILE: log_level = WARNING NETIF: dpdk0:rx_queue_number = 8 NETIF: worker cpu1:dpdk0 rx_queue_id += 0 NETIF: worker cpu1:dpdk0 tx_queue_id += 0 NETIF: worker cpu2:dpdk0 rx_queue_id += 1 NETIF: worker cpu2:dpdk0 tx_queue_id += 1 IPSET: ipset_init: lcore 3: nothing to do. IPVS: dp_vs_conn_init: lcore 3: nothing to do. NETIF: Ethdev port_id=0 invalid rss_hf: 0x3afbc, valid value: 0x0 NETIF: Ethdev port_id=0 invalid tx_offload: 0x1000e, valid value: 0x3f NETIF: fail to flush FDIR filters for device dpdk0 DPVS: Start dpdk0 failed, skipping ... It appears fail at: static int fdir_filter_flush(const struct netif_port *port) { if (!port || port->type != PORT_TYPE_GENERAL) return EDPVS_OK; if (rte_eth_dev_filter_ctrl(port->id, RTE_ETH_FILTER_FDIR, RTE_ETH_FILTER_FLUSH, NULL) < 0) return EDPVS_DPDKAPIFAIL; return EDPVS_OK; } no problem if I provision ixgbe PF as PCI passthrough to the VM. there is a old thread "Signature filter for virtual function" https://marc.info/?t=146622468100052&r=1&w=2 " According to 82599 datasheet it is possible to route packets to different queues within VF. So in not VT mode rx_queue defines absolute queue number, and in VT rx_queue defines relative queue number within VF. I can make patch later when I will have free time. Regards, Vladimir " I found no support in DPDK ixgbe VF flow director in ixgbe commit history, could anyone confirm that is the case? if no support, any plan to support it?