From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 990781BA6D for ; Thu, 26 Oct 2017 00:39:34 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id m72so17384848wmc.0 for ; Wed, 25 Oct 2017 15:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=q7b2KAMSe724mwkcZRTQdaI0y8S4pv/6Vwmqet0fNic=; b=vinpxRsKK//2V5YVy2ufer1jFJo3KrZQNyzH0SNRNVVFvrexcVCAo5T5ELoquR+tTi MOsFSv+UIC4KtldYfgxa6GjHDYgD+N+Ezoi1Cgu6c/qxYVTnulJZzMfSW2upLGmTYcRN j6mhZJL0xU04bv6YmsSxcNi3df4XTvYMGxhJppWcGb+lI6ZAq31gRsEKcZViO0KlTMqi eRtTNlxFM1rPtdVAUw+FfCUN4T9IhRsp4ddwDQy4uutC9tkfk+hezu5ZLUMTtO3vfYps nfdJ5LRK6NwRmEBhFREdmfDIlM4vgy3GpYLpgcGCXKUI/ledFCFIIZlHyo7bZAbZBYlj kbuQ== 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:in-reply-to :references:in-reply-to:references; bh=q7b2KAMSe724mwkcZRTQdaI0y8S4pv/6Vwmqet0fNic=; b=mxjlXvNiY0pLe+cU4hgtZfisfUUBoiOTRwUVh6zEmZoh+AZ+rZkjMERa/QEL1ImOpJ UL8WhWhPmbyMSrEeTiptYM63Z1pRaNxbd+ZTefB7sukYOjeDePFR0KsM6uFhD3XK0Xgn yBO0HJ/EJRS0tydk7FKi/sTQfqfFwuffH4vvhd/5udnc2RVMn6dhg8PEAh3Sz5LJPlLp WZHZE6qGr1if8KDeLO+xNcJCHZeX+Fj5l0RHLML3ov+pGtSRA06KpSY+mzk0T6p4082H jczUQnVzVa45Dq7m40a2quLvvxzy8z8mewIE9RfJD0nOvqAAA8i3LFLZM0kw3xPx8Abu Pn6A== X-Gm-Message-State: AMCzsaVKTnDsQFl5A95uLQrSQZJ/GZ4rhblY/MwuKZn6d6BceCMX2SnW P+21PdYxJW1fh9Tz7KMAIDfEInTi X-Google-Smtp-Source: ABhQp+RZRSw81Qz5LNCIwb8gx/4RtkWgOd6VyipBk8UBhE0lMotwyM5OJ7OE+sy7D2RhhrRqHIecaQ== X-Received: by 10.28.183.67 with SMTP id h64mr2955881wmf.76.1508971173865; Wed, 25 Oct 2017 15:39:33 -0700 (PDT) Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id r63sm4466124wmg.13.2017.10.25.15.39.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Oct 2017 15:39:32 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 26 Oct 2017 00:38:42 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v7 20/25] pci: do not expose IOVA mode getter 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: , X-List-Received-Date: Wed, 25 Oct 2017 22:39:34 -0000 Signed-off-by: Gaetan Rivet --- lib/librte_eal/common/eal_private.h | 10 ++++++++++ lib/librte_eal/common/include/rte_pci.h | 10 ---------- lib/librte_eal/rte_eal_version.map | 1 - 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/lib/librte_eal/common/eal_private.h b/lib/librte_eal/common/eal_private.h index ea1a5be..4eb1bd2 100644 --- a/lib/librte_eal/common/eal_private.h +++ b/lib/librte_eal/common/eal_private.h @@ -306,6 +306,16 @@ rte_pci_match(const struct rte_pci_driver *pci_drv, const struct rte_pci_device *pci_dev); /** + * Get iommu class of PCI devices on the bus. + * And return their preferred iova mapping mode. + * + * @return + * - enum rte_iova_mode. + */ +enum rte_iova_mode +rte_pci_get_iommu_class(void); + +/** * Init tail queues for non-EAL library structures. This is to allow * the rings, mempools, etc. lists to be shared among multiple processes * diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index de213cc..3c8cbd8 100644 --- a/lib/librte_eal/common/include/rte_pci.h +++ b/lib/librte_eal/common/include/rte_pci.h @@ -332,16 +332,6 @@ int rte_eal_compare_pci_addr(const struct rte_pci_addr *addr, int rte_pci_addr_parse(const char *str, struct rte_pci_addr *addr); /** - * Get iommu class of PCI devices on the bus. - * And return their preferred iova mapping mode. - * - * @return - * - enum rte_iova_mode. - */ -enum rte_iova_mode -rte_pci_get_iommu_class(void); - -/** * Map the PCI device resources in user space virtual memory address * * Note that driver should not call this function when flag diff --git a/lib/librte_eal/rte_eal_version.map b/lib/librte_eal/rte_eal_version.map index f2b4147..8d67b67 100644 --- a/lib/librte_eal/rte_eal_version.map +++ b/lib/librte_eal/rte_eal_version.map @@ -252,7 +252,6 @@ DPDK_17.11 { rte_pci_addr_cmp; rte_pci_addr_parse; rte_pci_device_name; - rte_pci_get_iommu_class; vfio_enable; vfio_is_enabled; vfio_noiommu_is_enabled; -- 2.1.4