From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by dpdk.org (Postfix) with ESMTP id 8D4A9AB08 for ; Mon, 14 Apr 2014 14:51:59 +0200 (CEST) Received: by mail-we0-f182.google.com with SMTP id p61so8137475wes.27 for ; Mon, 14 Apr 2014 05:51:59 -0700 (PDT) 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:in-reply-to :references; bh=ccsBJRZ6ymlXaNCmkC8lUpEf0/w/rQN2Bb8wgT3T2SE=; b=hTf1HiVKY2n2Om+qILxRGLO8L2w8Hwu0dTQED2DxcvepD9reOlIP9sZgbuGkiNGula ZZKQUrfpkG0ZMkmM+2jw1oF0+VKHwTGT7pqlDITbR/G7JmYEot34kLIRWEJtK+HOh3xG blASlu4e6+vLZGdNQP3Y1cbUGFPkYnobdfJ/YOb/kUdIfJE/bShzjLZV//l92l9VTn4X OrJ4L1nWMn1gDo3D+e6HqbcoAn99a4K3Hzlot1CMMSxyYORC/FgAeQt75K1o1LQEBAI3 qshdE3GDQmrTbmWBLSsvYefsWMtvQpeJOoQEo+EFodwXDvqssZn/InDEVb45aDRwN2RN Bg4Q== X-Gm-Message-State: ALoCoQnZtxHi/eYu26dzUxFDfWsHBCfe8MAYZma2wzHtBdTUSj5SmkEYSCunRSU6t6ODsj2fSfJ6 X-Received: by 10.180.160.166 with SMTP id xl6mr9562009wib.42.1397479919254; Mon, 14 Apr 2014 05:51:59 -0700 (PDT) Received: from alcyon.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ed10sm22198097wib.7.2014.04.14.05.51.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Apr 2014 05:51:58 -0700 (PDT) From: David Marchand To: anatoly.burakov@intel.com Date: Mon, 14 Apr 2014 14:51:49 +0200 Message-Id: <1397479912-4906-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH 0/3] remove RTE_EAL_UNBIND_PORTS related code 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: , X-List-Received-Date: Mon, 14 Apr 2014 12:51:59 -0000 Hello Anatoly, I think we might want to start a discussion on what should be done by the eal and what should be done by the drivers themselves. But this can be done later. For now, I have a problem with your patch as it breaks drivers that use RTE_PCI_DRV_FORCE_UNBIND flag, since it removes the part where this flag is handled. Besides, I can see some remaining parts mentioning pci_switch_module() in comments. So, here is a patchset that should do the trick. It does some cleanup before removing the RTE_EAL_UNBIND_PORTS part. Regards, -- David Marchand David Marchand (3): pci: pci_switch_module cleanup pci: move RTE_PCI_DRV_FORCE_UNBIND handling out of #ifdef pci: remove deprecated RTE_EAL_UNBIND_PORTS option lib/librte_eal/linuxapp/eal/eal_pci.c | 183 +-------------------------------- 1 file changed, 2 insertions(+), 181 deletions(-) -- 1.7.10.4