From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tetsuya Mukawa Subject: [PATCH 0/6] Clean up pci uio implementations Date: Tue, 17 Mar 2015 18:30:39 +0900 Message-ID: <1426584645-28828-1-git-send-email-mukawa@igel.co.jp> References: <1426155474-1596-4-git-send-email-mukawa@igel.co.jp> To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1426155474-1596-4-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" This patch set cleans up pci uio implementation. These clean up are for consolidating pci uio implementation of linuxapp and bsdapp, and moving consolidated functions in eal common. Because of above, this patch set tries to implement linuxapp and bsdapp almost same. Actual consolidations will be done later patch set. Changes: - This patch set is derived from below. "[PATCH v2] eal: Port Hotplug support for BSD" - Set cfg_fd as -1, when cfg_fd is closed. (Thanks to Iremonger, Bernard) - Remove needless cording style fixings. - Fix cording style of if-else condition. (Thanks to Richardson, Bruce) Tetsuya Mukawa (6): eal: Fix cording style of eal_pci.c and eal_pci_uio.c eal: Close file descriptor of uio configuration eal: Fix memory leaks and needless incrementation of pci uio implementation eal/bsdapp: Change names of pci related data structure eal: Use map_idx in pci_uio_map_resource() of bsdapp to work same as linuxapp eal: Fix interface of pci_map_resource() lib/librte_eal/bsdapp/eal/eal_pci.c | 160 +++++++++++++++++------------- lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 67 +++++++------ 2 files changed, 130 insertions(+), 97 deletions(-) -- 1.9.1