From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 2E4131FE for ; Wed, 16 Jul 2014 00:23:08 +0200 (CEST) Received: by mail-wg0-f46.google.com with SMTP id m15so51137wgh.29 for ; Tue, 15 Jul 2014 15:23:56 -0700 (PDT) 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=/4bZFpJbhe/3FiO81eSzweuQSaYyOuXkmkwk26i775Y=; b=XRUJMEMosB9Bdp3X1CAuojJGCEt9KWrMVmQparhWSzDjY8kUAxWI1ooIB+QDmmt4bA xbTo/9DmipaBZWtaM7NoVibzhL0X1B4qZB60q0UwzHxqFNkX/1TZkpQt6Mn4MSNPIKde YGLg8h7LhNBuIcUqTfn72EW4/AhYYWBJEYivC3CJc+DQFsrVAo+Vke9XYDhbN7C4EC0P sUFLn2xPwdgILzT7pJkgEjate54A4uE2GWSyLe5DHmR2PlE/A8GgS0nazDJKbFxcrDnm VJRXI8bjTzkZRpzufRMnQJorMrzSPo0PJhFTygPMcwxPxW9cWwWooje7Ou92ByR7KgdN yamQ== X-Gm-Message-State: ALoCoQnuyLrAfA+YH6vFcyiDgCBDyE3CDWObsHyBeofko3JgG7Eh9GMMJKXJSpGqQ0+v3hPpN6XI X-Received: by 10.180.84.2 with SMTP id u2mr8554613wiy.27.1405463036634; Tue, 15 Jul 2014 15:23:56 -0700 (PDT) Received: from xps13.localnet (guy78-1-82-235-116-147.fbx.proxad.net. [82.235.116.147]) by mx.google.com with ESMTPSA id i4sm1139296wib.21.2014.07.15.15.23.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Jul 2014 15:23:55 -0700 (PDT) From: Thomas Monjalon To: Vijayakumar Muthuvel Manickam Date: Wed, 16 Jul 2014 00:23:48 +0200 Message-ID: <1576178.uFnSdUscpi@xps13> Organization: 6WIND User-Agent: KMail/4.13.1 (Linux/3.14.6-1-ARCH; KDE/4.13.1; 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] virtio: Fix 32bit pmd for 64bit kernel 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, 15 Jul 2014 22:23:08 -0000 Hi, 2014-07-14 14:17, Vijayakumar Muthuvel Manickam: > *virtio_net_hdr_mem* member within *virtqueue* structure stores a > physical address and is defined as void ptr. When 32bit pmd is used > with 64bit kernel this leads to truncation of 64bit physical address > and pkt i/o does not work. > Changed *virtio_net_hdr_mem* to *phys_addr_t* type and > removed the typecasts Thanks for providing this patch. You were discussing this issue and it helps to have a patch to apply. Unfortunately, the patch seems corrupted. Please use: 1) git format-patch 2) checkpatch.pl from kernel.org 3) git send-email Thanks -- Thomas