From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by dpdk.org (Postfix) with ESMTP id 2F4CF374C for ; Tue, 11 Jul 2017 20:55:55 +0200 (CEST) Received: by mail-pf0-f179.google.com with SMTP id c73so494209pfk.2 for ; Tue, 11 Jul 2017 11:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=BSbEauCJ2CKqhpbCJcDdwEpugN4tVRZ3BWm40jwX11U=; b=a4bCnCiBMCeykII8oRurnaVB8aeYDbRz3n5AovLqSTw4/1gMLKnBByIDX5AlkCuYOf fv/2XnVU5qQ4Qp91q9VkVAGg1Z1GZkYxMuG6Xnfrxn7PvV7P6QoE7hsAa9v/ycZ7ECDJ PJA9y7PJvKKQq7WVUBMTv/YH/pqPf13fkojZ8pFJqPUC/cRU9HL+q2AXS67PIxKkgPYI TkKpl+QC0LbA5ZELXs4K0C6KsbSjAPIZEl0kXVYuwmSpDN2Tqo4cepSeq/bfqMx1TeTk R6n4cVdCMM2Sh9HxeVZMmCrNlddIl8RHZdInVQngYvSQq0L+VxtTY/hNPZwFhUFsR0K+ AS/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BSbEauCJ2CKqhpbCJcDdwEpugN4tVRZ3BWm40jwX11U=; b=nEnw3wDzYEzwhphCLjRPWWWXfWRntzV6XmJQW/tdxfqqj94oyVUmov0KRcX4ECBzE3 IT4vDS0VvkWeaByis7NnRd2CBAk+8HR2Ml9mSC1H+h/Mo9RAYaGhisY8hHSnXqjRL5MN D0WAxC9Hx5s12RoXMbKIz7q/sfuasmqvtCBbMK+hh3Ix6s0Ne4lGnUl9PYiJgrNOY+ut S3Byl1C55jIieu4Mv5o7eduhg9eS4CwG0YX/FU5lJexY/7RKBDxJ0reSjyP5lmOtFPHJ V8g6sMf661xwqurNKn+InazZ+T69Bw7PnXzi1oVLBAm9DsssQGtajpRI527nnOlXShpI 72HA== X-Gm-Message-State: AIVw111E5Dlvit1rykhPxxRqz5OeMCq/YOjXGvBluNHWtQdTarm1Wc2V 51QPd+uhQ1c4/LNNV8ussg== X-Received: by 10.98.39.2 with SMTP id n2mr38946219pfn.35.1499799353932; Tue, 11 Jul 2017 11:55:53 -0700 (PDT) Received: from xeon-e3.wavecable.com (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id p77sm104099pfd.62.2017.07.11.11.55.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jul 2017 11:55:53 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 11 Jul 2017 11:55:27 -0700 Message-Id: <20170711185546.26138-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH 00/19] cleanup duplicate includes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2017 18:55:55 -0000 Using a simple script (in first patch), discovered that there was lots of #include file sloppiness in DPDK. This patch series fixes everything but base drivers and examples. Stephen Hemminger (19): devtools: add simple script to find duplicate includes eal: remove duplicate includes cmdline: remove duplicate include of errno.h distributor: remove duplicate include of rte_compat.h lpm: remove duplicate include of errno.h cuckoo_hash: remove duplicate include of rte_log.h timer: remove duplicate include of rte_per_lcore.h bnxt: remove duplicate include of unistd.h ixgbe: remove duplicate include of rte_atomic.h i40e: remove duplicate include of rte_atomic.h virtio: remove duplicated includes cxgbe: remove duplicated includes vmxnet3: remove duplicated include of rte_atomic.h dpaa2: remove duplicated includes fsmlc: remove duplicated includes app/proc-info: remove duplicate include app/test-pmd: remove duplicate includes test/test-pipeline: remove duplicate include of rte_per_lcore.h test/test: remove duplicate includes app/proc_info/main.c | 1 - app/test-pmd/cmdline.c | 1 - app/test-pmd/config.c | 1 - app/test-pmd/csumonly.c | 2 - app/test-pmd/flowgen.c | 1 - app/test-pmd/iofwd.c | 1 - app/test-pmd/macfwd.c | 1 - app/test-pmd/macswap.c | 1 - app/test-pmd/parameters.c | 1 - app/test-pmd/rxonly.c | 1 - app/test-pmd/txonly.c | 2 - devtools/dup_include.pl | 64 ++++++++++++++++++++++++ drivers/bus/fslmc/fslmc_vfio.c | 2 - drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 1 - drivers/event/dpaa2/dpaa2_eventdev.c | 1 - drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 1 - drivers/net/bnxt/bnxt_hwrm.c | 2 - drivers/net/cxgbe/cxgbe_ethdev.c | 1 - drivers/net/cxgbe/cxgbe_main.c | 1 - drivers/net/cxgbe/sge.c | 1 - drivers/net/dpaa2/dpaa2_ethdev.c | 1 - drivers/net/dpaa2/dpaa2_rxtx.c | 1 - drivers/net/i40e/i40e_ethdev_vf.c | 1 - drivers/net/ixgbe/ixgbe_ethdev.c | 1 - drivers/net/ixgbe/ixgbe_flow.c | 1 - drivers/net/virtio/virtio_user/virtio_user_dev.c | 1 - drivers/net/virtio/virtio_user_ethdev.c | 1 - drivers/net/vmxnet3/vmxnet3_ethdev.c | 1 - lib/librte_cmdline/cmdline_parse_etheraddr.c | 1 - lib/librte_distributor/rte_distributor.c | 1 - lib/librte_eal/bsdapp/eal/eal.c | 2 - lib/librte_eal/bsdapp/eal/eal_pci.c | 2 - lib/librte_eal/bsdapp/eal/eal_thread.c | 1 - lib/librte_eal/common/eal_common_dev.c | 1 - lib/librte_eal/common/eal_common_tailqs.c | 1 - lib/librte_eal/common/rte_keepalive.c | 1 - lib/librte_eal/linuxapp/eal/eal.c | 2 - lib/librte_eal/linuxapp/eal/eal_memory.c | 2 - lib/librte_eal/linuxapp/eal/eal_thread.c | 1 - lib/librte_eal/linuxapp/eal/eal_xen_memory.c | 2 - lib/librte_hash/rte_cuckoo_hash.c | 1 - lib/librte_lpm/rte_lpm.c | 1 - lib/librte_lpm/rte_lpm6.c | 1 - lib/librte_timer/rte_timer.c | 1 - test/test-pipeline/config.c | 1 - test/test-pipeline/init.c | 1 - test/test-pipeline/main.c | 1 - test/test-pipeline/runtime.c | 2 - test/test/test_alarm.c | 1 - test/test/test_atomic.c | 1 - test/test/test_eal_flags.c | 1 - test/test/test_malloc.c | 1 - test/test/test_mbuf.c | 1 - test/test/test_mp_secondary.c | 4 -- test/test/test_per_lcore.c | 1 - test/test/test_ring.c | 1 - test/test/test_rwlock.c | 1 - test/test/test_spinlock.c | 1 - 58 files changed, 64 insertions(+), 70 deletions(-) create mode 100755 devtools/dup_include.pl -- 2.11.0