From patchwork Tue Apr 19 20:19:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 12120 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id C0C5D2C5B; Tue, 19 Apr 2016 22:19:26 +0200 (CEST) Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 123B52C5A for ; Tue, 19 Apr 2016 22:19:25 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id e201so27371187wme.0 for ; Tue, 19 Apr 2016 13:19:25 -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; bh=X6xeLoYF8eTlDpYJyyx2mKxxiOzaLInld+hfZk6hQro=; b=yCmbYsIxhmJs3iEkPyA83+ocFHaBRPTqrLJqtgEhxuIO/fID+0/5qeMgdc4PeOllwN xPaMUNV0AwDBx4jdLg0T6B4n3wFJPNXmfIwy/wAi0ZQpHgeIwsYel9imjKmtfWRWB50v ZNtDOnIJflFf4H6it+RKccILt/J7NyzceIljAhgaPONHUuG16q3693KoAg6Vdd+IJfnI FnLbCqjebBmOqPdWIgIyCaAHqy2A02+RY6C3wRzxvH/K1JvMaamCa8v/zp3KfesshuSN /e+OaNj1SSsMzfkhGDL1Ih/xV6m1dU7pVces2946wfwFvyJWNDPRfSDOf4YmTN6LZYCb +M/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=X6xeLoYF8eTlDpYJyyx2mKxxiOzaLInld+hfZk6hQro=; b=dK0SkG/AjN5fH6oOhK1d1xlM8hDKu28uPqiWXVMVAfjvKw/JYrjYoQ2TtNNoK/8MeY FvBGHDRq+JbUgLm8EF29Tw5jw46GS3JZtb6P/5t3Nnz+5WwRs4cwjg3eufYR+jGDa7ll hfy0XTKUrvmb25MB9GIY4/Ahre0HqePRPcNM8HggVGVIh/biELx8h6m7fkg4FupygE9x f5uu2p0WmaYkw5DrFAkoAybllloRKlil9PxxB73ro7K8/i8EryEptn+dqd5lMWLpyvvf Qgtz0xugEG+Kf065TdW2EtS/+p0h/Bu+jUpcTnGrx9X9spv65fjbWSHyIma+EosJphK5 SVnQ== X-Gm-Message-State: AOPr4FV2Dx6SrjR8Xh2EfTTheg8pNwdITR8gps/YBxs+l3lFRnj6aFmqFMch18PAbgSTWZRS X-Received: by 10.194.158.226 with SMTP id wx2mr4717680wjb.91.1461097164897; Tue, 19 Apr 2016 13:19:24 -0700 (PDT) Received: from XPS13.localdomain (guy78-1-82-235-116-147.fbx.proxad.net. [82.235.116.147]) by smtp.gmail.com with ESMTPSA id d1sm5972728wmh.18.2016.04.19.13.19.23 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 13:19:24 -0700 (PDT) From: Thomas Monjalon To: olivier.matz@6wind.com, david.marchand@6wind.com Cc: dev@dpdk.org Date: Tue, 19 Apr 2016 22:19:17 +0200 Message-Id: <1461097157-28925-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] remove poisoned flags X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Some flags were poisoned after having been removed from EAL and mbuf in releases 1.8 (b10eef348d, 62814bc2e9) and 2.0 (4769bc5a27cc). After several releases, they have probably disappeared from the applications. Signed-off-by: Thomas Monjalon Acked-by: David Marchand --- lib/librte_eal/common/include/rte_pci.h | 2 -- lib/librte_mbuf/rte_mbuf.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index 9f2301d..8fa2712 100644 --- a/lib/librte_eal/common/include/rte_pci.h +++ b/lib/librte_eal/common/include/rte_pci.h @@ -213,8 +213,6 @@ struct rte_pci_driver { /** Device needs PCI BAR mapping (done with either IGB_UIO or VFIO) */ #define RTE_PCI_DRV_NEED_MAPPING 0x0001 -/** Device driver must be registered several times until failure - deprecated */ -#pragma GCC poison RTE_PCI_DRV_MULTIPLE /** Device needs to be unbound even if no module is provided */ #define RTE_PCI_DRV_FORCE_UNBIND 0x0004 /** Device driver supports link state interrupt */ diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 75a227d..451921f 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -65,10 +65,6 @@ extern "C" { #endif -/* deprecated options */ -#pragma GCC poison RTE_MBUF_SCATTER_GATHER -#pragma GCC poison RTE_MBUF_REFCNT - /* * Packet Offload Features Flags. It also carry packet type information. * Critical resources. Both rx/tx shared these bits. Be cautious on any change