From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by dpdk.org (Postfix) with ESMTP id 067F63208 for ; Fri, 25 Sep 2015 00:49:57 +0200 (CEST) Received: by pacex6 with SMTP id ex6so85379514pac.0 for ; Thu, 24 Sep 2015 15:49:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ECHjEru48Um8Dw/ukB8Oj+OKQEQj/N34na17p9IstG8=; b=nK2Bfmc+mjmv010m2cWPMPM5a2LYhQAqSVkxZa7u5oAkhX5ud6Tar8axP6+L/PCZAN 6dvB/wt5K5Lgv9XmxRKkIxKvymQJpdDh8CPJkV91toizc4ieXbyIwbMhzWsQY780j4bn XkIKJPeYQr6NDqBFtIaWZZeZEpj5FNYekioEyJ/P7gqkx55cJYw31Z3tvwpf+6zJRlqR bAakK0d9nBpzEPhQDHiovuZ9tg1QHWTDtVrdCfMZEx/xKCmi4z8APyXuqmAqCJ6N7Ep1 GLksSsbbAKbgmcnU9sJgXhK8sDHMG2GAkOhDJ/ULZ1KygcJThC/tsQOINOShEkEO/aXr ptBw== X-Received: by 10.66.216.105 with SMTP id op9mr2726343pac.60.1443134996249; Thu, 24 Sep 2015 15:49:56 -0700 (PDT) Received: from user-PC.hsd1.ca.comcast.net (c-24-4-155-27.hsd1.ca.comcast.net. [24.4.155.27]) by smtp.gmail.com with ESMTPSA id zk9sm380884pac.7.2015.09.24.15.49.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Sep 2015 15:49:55 -0700 (PDT) From: Ravi Kerur To: dev@dpdk.org Date: Thu, 24 Sep 2015 15:49:47 -0700 Message-Id: <1443134987-24700-1-git-send-email-rkerur@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH v1] Move rte_mbuf macros to common header file 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: Thu, 24 Sep 2015 22:49:57 -0000 Macros RTE_MBUF_DATA_DMA_ADDR and RTE_MBUF_DATA_DMA_ADDR_DEFAULT are defined in each PMD driver file. Move those macros into common lib/librte_mbuf/rte_mbuf.h file. All PMD drivers include rte_mbuf.h file directly/indirectly hence no additionl header file inclusion is necessary. Ravi Kerur (1): Move rte_buf macros to common header file drivers/net/bnx2x/bnx2x.h | 3 --- drivers/net/cxgbe/sge.c | 3 --- drivers/net/e1000/em_rxtx.c | 6 ------ drivers/net/e1000/igb_rxtx.c | 6 ------ drivers/net/i40e/i40e_rxtx.c | 6 ------ drivers/net/ixgbe/ixgbe_rxtx.h | 6 ------ drivers/net/virtio/virtqueue.h | 3 --- drivers/net/vmxnet3/vmxnet3_rxtx.c | 6 ------ lib/librte_mbuf/rte_mbuf.h | 6 ++++++ 9 files changed, 6 insertions(+), 39 deletions(-) -- 1.9.1