From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id 651105944 for ; Wed, 5 Nov 2014 11:29:19 +0100 (CET) Received: by mail-wi0-f178.google.com with SMTP id q5so1544939wiv.17 for ; Wed, 05 Nov 2014 02:38:41 -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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=r43zmO7piVN5voIR4ArPl2/ez8d3/1K2zvMRCr75LZw=; b=NhuvsnEfKov/K2h63wgH2/COjQuIfrLCumKMY3YiYOn77fZamByQmxJ85wpfYjuE6W RlfSNKC0MX1yJESTUvKhSUE1TCiYNA9AcXGlJ+DySaTxSt5k5L3NvRo7oFspPn31ycVB yPKcvganxHHJF1FjAS3imU/R8Ak1U39vzhla9GEgfWBvIzdlDh3JHv71a4gRuCiJ61+g eQXQC/3GG6gHANqvd++YfTc01sqS3zKWFrgLio0LbuYLhS2ap7OMsbV79zBYT+obSmzx OWCbfk+l6lIxKODFlMQRFYayJKJqa9Tq5hhRF8+VqIDPWYZXNN0GcaJsMCD5AiPJMfHr TiGw== X-Gm-Message-State: ALoCoQk6Nk7Vq0fs0TlD///hpAv3nal5tXVVoCcedx7uXWz2ZUY8mrkJY5EJV/Iyu8FtH/ljzgoh X-Received: by 10.194.19.4 with SMTP id a4mr51994969wje.3.1415183921901; Wed, 05 Nov 2014 02:38:41 -0800 (PST) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id j8sm15316496wib.10.2014.11.05.02.38.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Nov 2014 02:38:41 -0800 (PST) From: Thomas Monjalon To: XU Liang Date: Wed, 05 Nov 2014 11:38:23 +0100 Message-ID: <1425866.EsRhEH6Yif@xps13> Organization: 6WIND User-Agent: KMail/4.14.2 (Linux/3.17.2-1-ARCH; KDE/4.14.2; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: map uio resources after hugepages when --base_virtaddr is configured 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: Wed, 05 Nov 2014 10:29:19 -0000 The patch was attached and automatically dropped. Please follow these guidelines: http://dpdk.org/dev#send 2014-11-05 09:58, De Lara Guarch, Pablo: > Patch is missing. > > Thanks, > Pablo > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of XU Liang > > Sent: Wednesday, November 05, 2014 9:50 AM > > To: dev > > Subject: [dpdk-dev] [PATCH] eal: map uio resources after hugepages when -- > > base_virtaddr is configured > > > > > > When start a secondary process, we got error message "EAL: > > pci_map_resource(): cannot mmap(11, 0x7ffff7fba000, 0x20000, 0x0): Bad > > file descriptor (0x7ffff7fb9000)" > > > > The secondary process link difference shared libraries, so the 0x7ffff7fba000 > > is used. > > > > We know the --base_virtaddr is designed for this situation for hugepages. > > > > This patch map the device resouce into address that is after hugepages when > > --base_virtaddr is configured.