From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by dpdk.org (Postfix) with ESMTP id 8F2495948 for ; Fri, 26 Jul 2013 16:39:56 +0200 (CEST) Received: by mail-wi0-f170.google.com with SMTP id hn3so237011wib.5 for ; Fri, 26 Jul 2013 07:40:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=migTbpJnzlX5RjeXiitwKsj8eWKb2wTc4Q3sRk3AZ2g=; b=IhAVBvj5NaWHnAgAkx4FtDtWi/HLau5rHEBqjX5evbHJ37MSI9x1YIYAdj72tKvYyT ZRXp+tSTldonF1agfmejMytZ7wggVJxQL6JVTD9xHAs6S0nXOsAkCzm1eUjfGdZRE2qM gxVxbt3Hb+7xoYIRiGD7hS+k7i50cNV/Ow40k1XvCjyakVfYowrC/63NY+K+XNR885L3 aqC3IrXBRimbq1J8qAT1NUOd5Fm1OBmc63WBEtSCKFzHkbigSGWpgMBclqhaHGGU6UFY +mo7QvwD6/VBxpAxbDM0ttgybnaJ9B43oQoZqdMf6IMfN6nbPH1njnEg8Jzn+uYRVjvI NLRw== X-Received: by 10.180.88.228 with SMTP id bj4mr6073880wib.2.1374849619378; Fri, 26 Jul 2013 07:40:19 -0700 (PDT) Received: from 6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id fd3sm5208944wic.10.2013.07.26.07.40.17 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 26 Jul 2013 07:40:18 -0700 (PDT) From: Damien Millescamps To: dev@dpdk.org Date: Fri, 26 Jul 2013 16:39:11 +0200 Message-Id: X-Mailer: git-send-email 1.7.2.5 X-Gm-Message-State: ALoCoQki/hCXUZ0HczbtyqE2G0dgskgne2s1IU077vliqYWwk0djGlfPVu3Ig6CDZ6Pi1TonBpzh Subject: [dpdk-dev] [PATCH 0/2] fix mempool when --no-huge option is set 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, 26 Jul 2013 14:39:56 -0000 This set of patch permits to use the --no-huge option to create valid mempools. However, drivers necessitating a physically contiguous memory larger than a standard page won't work in this mode. Only vmxnet3-usermap will work in this mode among the available open source PMD. This can be useful for old kernels (< 2.6.33) and VM with limited amount of mempory. Damien Millescamps (2): mem: get hugepages config mem: fix mempool for --no-huge lib/librte_eal/common/include/rte_eal.h | 13 +++++++- lib/librte_eal/linuxapp/eal/eal.c | 4 ++ lib/librte_eal/linuxapp/eal/eal_memory.c | 2 +- lib/librte_mempool/rte_mempool.c | 54 +++++++++++++++++++++++++++++- lib/librte_mempool/rte_mempool.h | 20 +++++++---- 5 files changed, 83 insertions(+), 10 deletions(-) -- 1.7.2.5