From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by dpdk.org (Postfix) with ESMTP id 40B731B4DC for ; Sat, 5 Jan 2019 02:08:11 +0100 (CET) Received: by mail-pg1-f171.google.com with SMTP id d72so18146148pga.9 for ; Fri, 04 Jan 2019 17:08:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=F4UVQX6Ivb28rQFSI2UZd+8DpK5H/e+wqH2OKpRZyfw=; b=aWB43PWAbcBXFwRi3OoH2M22hA6AGLDradE8yKOzPjfGx2EqcQFvuZmqSvDeDM5rvl USq0jCh6sqlvX6PjChfwimL3gHbMyeaSJqNJevu4ur02GXjcTyOiLh2oc65JvbE0ioih DxMi7Pc7AJjL+vDPH2uG4e7RHSwPWDFtx01xmpJdXUsVSIqUC5qlB2Hm7jGT5udKg69f bJbRf8FG+BTDe0BJVWf+D4Omiav6VLyX/kRrQpANUDWffuECnyej5j8hgboMWTaXjiXa WLoSqeaK2YXOuBQjhEJEjFq50Vft7AMtGiqNNoLcAZvOeSBsbO2atKU6QRrJm7IyS39R 7WzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=F4UVQX6Ivb28rQFSI2UZd+8DpK5H/e+wqH2OKpRZyfw=; b=GdWr0BFDcslYh/V2SbrdUh9CQL2/7pA4fGxjnyqX6QmloaPPGrsuQSXUO/34Sgy0ue eilJ6uO5HA8sbxFdxdUxRnc+WBzKctMvyGzlo4ulPV2/roLkQkdocjDkO3kDdsWG11kV JMiNp176yBGAWaZFM1TFXhKfJOA/Njd0sSdYjok5vkMJVMUD50lcgWTQySMgwPAaT5qO tGctWq9DGshcH8k6Y4axrOZBPjlsPp0Io5EAYzsyKYHUPA6rC+dynGiH04NaDrD92qGD DAXsXlvA3CiUesoZmtWyrILM+B01WvANNr0EGaZ3hP12EEWhRZsAxOUq8lhMq2Bvj23S MftA== X-Gm-Message-State: AJcUukeVmjIjWT8D2/FEmaR5WPvyDDLgHPchcOPosrsL8N7R9zVvagsM pCpGqDNWKcIHiHl1u5g/1cIsIg== X-Google-Smtp-Source: AFSGD/WBbQWLG/Drh3/WFqVsoliBDOVQBS8r/PnlgnzIok+JsohrR9xNEWJnWDDGLXAS2bN+AFySwg== X-Received: by 2002:a62:5c1:: with SMTP id 184mr53931382pff.165.1546650490153; Fri, 04 Jan 2019 17:08:10 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 4sm98847002pfq.10.2019.01.04.17.08.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Jan 2019 17:08:10 -0800 (PST) Date: Fri, 4 Jan 2019 17:08:02 -0800 From: Stephen Hemminger To: Liwu Liu Cc: "users@dpdk.org" Message-ID: <20190104170802.4ed27cce@hermes.lan> In-Reply-To: <02a2fbe93b93458190386e8650c3fb2c@fortinet.com> References: <20190104160647.7f17e932@hermes.lan> <596318879eb14b32971e4c182489f537@fortinet.com> <20190104162349.264da710@hermes.lan> <02a2fbe93b93458190386e8650c3fb2c@fortinet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] Cannot run DPDK applications using Mellanox NIC under Hyper-V 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: , X-List-Received-Date: Sat, 05 Jan 2019 01:08:11 -0000 On Sat, 5 Jan 2019 00:35:13 +0000 Liwu Liu wrote: > Hi Stephen, > > Yeah we are seeing all NETVSC, failsafe PMD, TAP, MLX4 VF. We are expecting bifurcation mode where default traffic goes with MLX4_EN slave to NETVSC master to enter Linux net stack and certain flow-defined traffic shall go into DPDK RX queue rather than MLX4_EN net-dev queue. Unfortunately as we cannot define flow into VF NIC, we cannot re-direct traffic into DPDK user-land. This is a little more complex. You need to use rte_flow on the failsafe PMD and that is supposed to get propogated to TAP and MLX VF. The TAP PMD programs BPF in kernel, and the MLX VF PMD programs the VF flow tables. Haven't tried it myself.