From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by dpdk.org (Postfix) with ESMTP id 5B2C92E8A for ; Tue, 7 Oct 2014 11:33:07 +0200 (CEST) Received: by mail-lb0-f172.google.com with SMTP id b6so5786796lbj.17 for ; Tue, 07 Oct 2014 02:40:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=ynNBigBpRfX5x2ZO+jJwOJZJd7+i698qfWRN0yXvWbk=; b=DbyGMjO8+dOEonv0FlA1e5/To0uDG0U9X59Xb3ZHixORAuk7TK6VLqBOK5KKTbBomr UZLHZ0FmYi/Na27vyr3Id9ET+pdFBsRDX4EYdxOhYliA0c1ztpJfQQuCmiOtbdhB4iMq Ye29pHPD7U93yeVbB5dBQK8Z6WVd+VnLi0GfVOetS+bid4Qotc1mT+DL2+cS4pJUYhMZ v1nuHmOvjLqiYdn1Zt785SlzMZnObEwfpTfu3xoPD/i2hXPiTERd5yHuUe42wD4hxO5j a3Uhy7rk8WEm1NaPaZXbMpufcGgqtM7KgAYSPeHyfuDSwITdtZybQiRTV4ktJHZsg6XZ FnfA== X-Gm-Message-State: ALoCoQm0x/fCgCxNxJqqgJ69+WHxTpijZ958ACruh0LWjdSKJmK268Af5vauLhW+T/l0XmS0wImr MIME-Version: 1.0 X-Received: by 10.112.161.234 with SMTP id xv10mr2714301lbb.96.1412674819095; Tue, 07 Oct 2014 02:40:19 -0700 (PDT) Received: by 10.25.136.198 with HTTP; Tue, 7 Oct 2014 02:40:19 -0700 (PDT) Date: Tue, 7 Oct 2014 12:40:19 +0300 Message-ID: From: Alex Markuze To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Aligned RX data. 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, 07 Oct 2014 09:33:07 -0000 Hi , I'm trying to receive aligned packets from the wire. Meaning that for all received packets the pkt.data is always aligned to (512 -H). Looking at the pmds of ixgbe/vmxnet I see that the pmds call __rte_mbuf_raw_alloc and set the rx descriptor with a RTE_MBUF_DATA_DMA_ADDR_DEFAULT Instead of the more appropriate RTE_MBUF_DATA_DMA_ADDR. Do I need to modify each pmd I'm using to be able to receive aligned data? Or have I missed something? Thanks