From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 9D3621BA70 for ; Thu, 26 Oct 2017 00:39:22 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id y9so1449504wrb.2 for ; Wed, 25 Oct 2017 15:39:22 -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=9hJSQaQLHeA/B2INQN0oZDV9SsV1L6LCvzpqw+pe9IU=; b=joQhIUb/lkJohdL5cUTy+y4PZ27oJ2FZbgxl1/shbDmWCQI38Yi0/IQ+mV11VtVRBy xkYfHcKfs0iizAyGVccOcBSAKOBkw+7DRhR101cvuyIUsfONk+eWWXfmzmV8jczBKzP1 v2+giorT+wpJcRkZPNaZCM3VJdm68QBheIEGzwyXVSbmreWaY+sE8eXFC+jtQFGeV5Oy oU9Q9SGxRrAa1zMo4UjkrSTQpHG/G7JRRpUxUlL8rB3lFNP5Q6kMvDbkZ3cDijCPV2Lr wOKzEJZEBmJ9O1wK3ERPVsxmQyAmmo7sAevcP9HxVEJy+Ikp23tww0ZYsptW/HcJ72W+ 4NcQ== 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=9hJSQaQLHeA/B2INQN0oZDV9SsV1L6LCvzpqw+pe9IU=; b=FrLoK5oLsZqSAL90OBJesEB3X2rNDBGZDa5564bnypsx6bTFjjazwl8LHI84+sI9E1 JbCek5j+Jtvx7aD0x7VOa+D+8lm8JRx0DHeMfCy8hISZ2FaXK16iM5buV9ngZU690chw ih0iUECmkhopiXFUsrQ7uNUOkkIyOavJB6pGv8bGY5DOB7ppCNgg6ozqoLeLbE4X6HdS yXwz25/k8ItJpYNgJKVLyTkP0TL8dfPTJ2bkKNahMV31/TTDXR5Mi2SVnBtJA93yJJc+ pjRSgtvyuwAIUz8QdkfAH85kf9V5X5nbjtbwdUQoHJYM8qB3brj2O8rDpUcqU77TG0KG H2cA== X-Gm-Message-State: AMCzsaXrS2qZ1HYwNGddEuCfAF/B4aV76R+dc1Ffmpu1cpnqxvgxVw9d mTwhonBRMAb1FpaITG3ESsXC6GYB X-Google-Smtp-Source: ABhQp+Q0iUaiMPPhFl7LR+ZfGw3ufWBM+4JHHtYeFMtQiioJ8l1q5OGjtyJWS+xdRIQs9O5Wt5IwFA== X-Received: by 10.223.152.16 with SMTP id v16mr3341726wrb.108.1508971161812; Wed, 25 Oct 2017 15:39:21 -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.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Oct 2017 15:39:21 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 26 Oct 2017 00:38:32 +0200 Message-Id: <49db1547a2d3f69bc35b8ce442620d62c424a01c.1508970254.git.gaetan.rivet@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v7 10/25] vfio: move PCI-related functions out of vfio header 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:22 -0000 These two declarations are only relevant to PCI operations and should be in a related header. Signed-off-by: Gaetan Rivet --- lib/librte_eal/linuxapp/eal/eal_pci_init.h | 2 ++ lib/librte_eal/linuxapp/eal/eal_vfio.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_init.h b/lib/librte_eal/linuxapp/eal/eal_pci_init.h index a20783d..c94ba19 100644 --- a/lib/librte_eal/linuxapp/eal/eal_pci_init.h +++ b/lib/librte_eal/linuxapp/eal/eal_pci_init.h @@ -92,6 +92,8 @@ int pci_vfio_ioport_unmap(struct rte_pci_ioport *p); int pci_vfio_map_resource(struct rte_pci_device *dev); int pci_vfio_unmap_resource(struct rte_pci_device *dev); +int pci_vfio_is_enabled(void); + #endif #endif /* EAL_PCI_INIT_H_ */ diff --git a/lib/librte_eal/linuxapp/eal/eal_vfio.h b/lib/librte_eal/linuxapp/eal/eal_vfio.h index 3fd433c..0c7b062 100644 --- a/lib/librte_eal/linuxapp/eal/eal_vfio.h +++ b/lib/librte_eal/linuxapp/eal/eal_vfio.h @@ -192,8 +192,6 @@ vfio_get_group_fd(int iommu_group_no); int clear_group(int vfio_group_fd); -int pci_vfio_is_enabled(void); - int vfio_mp_sync_setup(void); #define SOCKET_REQ_CONTAINER 0x100 -- 2.1.4