From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id AAC9EA0096 for ; Sat, 8 Jun 2019 01:08:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 80A331BC18; Sat, 8 Jun 2019 01:08:52 +0200 (CEST) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id 3EFDE1BC02 for ; Sat, 8 Jun 2019 01:08:50 +0200 (CEST) Received: by mail-pf1-f193.google.com with SMTP id u17so1971261pfn.7 for ; Fri, 07 Jun 2019 16:08:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BKWTKv95P7NZtrEFK82VskJBRVvOhHxMGy1OA9XoIsA=; b=w41mcSJZe7d9ds/sz5th8h3lJMPvmyfdaR96g30IpsuM4Bc8U7tVpov/v/ugKMQutT OnLbciucTf9eCIfNcDjb6HvPC24quhYYMq0oXM8TAgkc426cuzQbTzc3slYQjb0+BdPJ W9LmB7H9SyHzchpIYXbdwcZEv7l2dW77MRrtZboLMTgzyNP2GeuArM5MLwtMp294zpk9 hgpQjUkTK/+Ji0yoGh+8x05IRhQSLPMj58HAxZlmc1whlcPHSCzTE0ydCFLvepNyeXA7 pf1MTAzIPAS70sHkFFjj3+KCWvRVlXMBO/aMoOiSJhgnxp8g7ltijjQmZDbdHbISfKv8 BXVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BKWTKv95P7NZtrEFK82VskJBRVvOhHxMGy1OA9XoIsA=; b=bcCCPCFBRzZjL+XYh+lVEmTsfwUowyRa9R3dxfVLO1I3mn4vp1gz24IqzmEKzF8Hes mefqro6+hHUVq6Cas+JTe/1lkDlxcLCvgkQ8VB7bRt1hWnRg4OnVj6Xo81yUAWicxm8x 6jETNPyh4678eBw1K8FtGhJFTqg7PrGGyJZFQ0GdJVPjyq5U6reSb2P0TTPX+QRy8rE3 pKUxcSU5XTVNvSDKR57xBZ2iLnTJbKpkSFgDF8HX1M0neG6GFxNJNIKvkPM88bc9vClz GMnAYhBalFo//57KWBy9SbaovudATvztkrLAgxU0bCqjTJPiPauEc1euBNE3O44ssM1D 5gBg== X-Gm-Message-State: APjAAAXknpFikJv/Ls3BhDSl11Q6WeA0liHObE2Sj0uFw+vEFD/jGxpl QyHZ62UhUoTSo9+HapWmtU4lcvryxn8= X-Google-Smtp-Source: APXvYqy+EQbkBM2zB2AeNy8IDSetdC+i+ygzg+IM1B71/iWg6rILwR+sU3rVWhLcWiGVWJouuAgQRQ== X-Received: by 2002:a17:90a:8c18:: with SMTP id a24mr8108534pjo.111.1559948928907; Fri, 07 Jun 2019 16:08:48 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id d5sm3752808pfn.25.2019.06.07.16.08.47 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 07 Jun 2019 16:08:48 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 7 Jun 2019 16:08:41 -0700 Message-Id: <20190607230841.17125-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] Revert "net/mlx: support IOVA VA mode" 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" From: Stephen Hemminger This reverts commit 69c06d0e357ed0064b498d510d169603cf7308cd. That commit breaks support for netvsc PMD with MLX SRIOV on both Hyper-V and Azure. Signed-off-by: Stephen Hemminger --- drivers/net/mlx4/mlx4.c | 4 ++-- drivers/net/mlx5/mlx5.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index aa4d43fad78a..4d84a923d2ff 100644 --- a/drivers/net/mlx4/mlx4.c +++ b/drivers/net/mlx4/mlx4.c @@ -1142,8 +1142,8 @@ static struct rte_pci_driver mlx4_driver = { }, .id_table = mlx4_pci_id_map, .probe = mlx4_pci_probe, - .drv_flags = RTE_PCI_DRV_INTR_LSC | RTE_PCI_DRV_INTR_RMV | - RTE_PCI_DRV_IOVA_AS_VA, + .drv_flags = RTE_PCI_DRV_INTR_LSC | + RTE_PCI_DRV_INTR_RMV, }; #ifdef RTE_IBVERBS_LINK_DLOPEN diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index daadf4a7a7f9..912d80e16d09 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -2107,8 +2107,8 @@ static struct rte_pci_driver mlx5_driver = { .remove = mlx5_pci_remove, .dma_map = mlx5_dma_map, .dma_unmap = mlx5_dma_unmap, - .drv_flags = RTE_PCI_DRV_INTR_LSC | RTE_PCI_DRV_INTR_RMV | - RTE_PCI_DRV_PROBE_AGAIN | RTE_PCI_DRV_IOVA_AS_VA, + .drv_flags = (RTE_PCI_DRV_INTR_LSC | RTE_PCI_DRV_INTR_RMV | + RTE_PCI_DRV_PROBE_AGAIN), }; #ifdef RTE_IBVERBS_LINK_DLOPEN -- 2.20.1