From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id B7EABDE3 for ; Tue, 28 Jan 2014 16:34:19 +0100 (CET) Received: by mail-wg0-f54.google.com with SMTP id x13so1106294wgg.9 for ; Tue, 28 Jan 2014 07:35:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=2u5FLSNWj8DxcKxxINupnvGsb3Q5bY7Yrr+iPbrBum8=; b=TMmA1O14/eOrlloTwM2nVZ/2owqs6I92KRQjpJO/5Nk4q89J8pNnoNGeGJ8Nwp5H6V sng5p58HuZYsKnh39bIBJLpfY8G+mqiL1QNbpKUVquA8UP8mQ5W48uDf8F1OAxJT2Iy6 KYYmugJgCUs85i2mU0kfwx0XGICqzA/ZrrPO/EtVLpJ9TI/hSTETRzwBt3U0mzUDeK/v AB0APeuIvxn/OYlilck8vypNO0CHt52GHlQ9maLykc+bjVclikDnY/M2zNH/LwrHu+95 X/W9PK1h51wmqUdWFlA1YBjvlNhzBGKxIwKJ2UFlIqOn2TmzIKWyII0N+FvuhrraNfUY GDiA== X-Gm-Message-State: ALoCoQkkCadhWdcNh0myJTJuR+szusTuWGCTCN6unEIuMGMSS/p9jAqnVaaV2QCXXo26Zdf8quZ2 X-Received: by 10.180.99.39 with SMTP id en7mr16337104wib.10.1390923338207; Tue, 28 Jan 2014 07:35:38 -0800 (PST) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id uc9sm36350560wib.2.2014.01.28.07.35.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jan 2014 07:35:37 -0800 (PST) From: Thomas Monjalon Organization: 6WIND To: Olivier Matz Date: Tue, 28 Jan 2014 16:35:35 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <1390577487-22242-1-git-send-email-olivier.matz@6wind.com> <1390577487-22242-2-git-send-email-olivier.matz@6wind.com> In-Reply-To: <1390577487-22242-2-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201401281635.35733.thomas.monjalon@6wind.com> Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 1/2] pci: split the function providing uio device and mappings 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: Tue, 28 Jan 2014 15:34:20 -0000 24/01/2014 16:31, Olivier Matz: > Add a new function pci_get_uio_dev() that parses /sys/bus/pci/devices > to get the uio device associated with a PCI device. This patch just > moves some code that was in pci_uio_map_resource() in the new function > without any functional change. > > Thanks to this change, the next commit will be easier to understand. > Moreover it improves readability: having smaller functions help to > understand what pci_uio_map_resource() does. > > Signed-off-by: Olivier Matz Acked and applied. -- Thomas