From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f180.google.com (mail-we0-f180.google.com [74.125.82.180]) by dpdk.org (Postfix) with ESMTP id 548465320 for ; Fri, 24 Jan 2014 16:30:21 +0100 (CET) Received: by mail-we0-f180.google.com with SMTP id q59so2766956wes.25 for ; Fri, 24 Jan 2014 07:31: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:to:cc:subject:date:message-id; bh=NHnzrDgzIbJSeXByba3BquP14no/ENtDut3S37dEUrU=; b=fHGjfc1uGXPkx+tYWInCuJ2G4Bk9xhiA74BL4XYsG008qgDJGfzdWFFVLcm4NLlfKc G+KJJfckkb33bDSJ1uAA3HkUHy2932fFUHNGvxaYj57o6/4uxyd4CQMHES9ojCtT9e00 wJAJUN0Yz79mWrlS0upxkIWoSewzzvB3gh4DNoW4Tk2SyEKuMOIa8bd6IrLd7chWn084 jd0ij6MVUJQ7WexA2AgwDHyE3devDw1MaM8uJ9BzCY3ELYARRGqPjZYHE/yJFCNZp9Mo e7Lz6pGDV4uFfQtp9lN7WYJ9SYWeaUi2g0NrocTJzgy24BKVgZITcxTc1UXBCOt/yaMD YX6g== X-Gm-Message-State: ALoCoQnkvgUkFBZq0BBM3HOvfcyXdHRbizCfAckv+bAl/hjTtIEQPvLjokc1uyNtvC9hO8FfzHsU X-Received: by 10.180.106.165 with SMTP id gv5mr3669805wib.32.1390577498481; Fri, 24 Jan 2014 07:31:38 -0800 (PST) Received: from glumotte.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id v7sm7881913wix.5.2014.01.24.07.31.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jan 2014 07:31:37 -0800 (PST) From: Olivier Matz To: dev@dpdk.org Date: Fri, 24 Jan 2014 16:31:25 +0100 Message-Id: <1390577487-22242-1-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 1.8.4.rc3 Subject: [dpdk-dev] [PATCH 0/2] pci: allow to run without hotplug 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: Fri, 24 Jan 2014 15:30:21 -0000 The default behavior of DPDK is to wait the creation of /dev/uioX devices. This work is usually done by hotplug thanks to the kernel notification. On some embedded systems, there is no hotplug program. These 2 patches introduce a new EAL option "--create-uio-dev" that tells the DPDK to create the /dev/uioX devices using mknod(). Olivier Matz (2): pci: split the function providing uio device and mappings pci: add option --create-uio-dev to run without hotplug lib/librte_eal/linuxapp/eal/eal.c | 6 + lib/librte_eal/linuxapp/eal/eal_pci.c | 127 +++++++++++++++------ .../linuxapp/eal/include/eal_internal_cfg.h | 1 + 3 files changed, 102 insertions(+), 32 deletions(-) -- 1.8.4.rc3