From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 8DF02A00C2;
	Thu, 16 Jun 2022 17:18:22 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id EFE6342B71;
	Thu, 16 Jun 2022 17:17:53 +0200 (CEST)
Received: from mga05.intel.com (mga05.intel.com [192.55.52.43])
 by mails.dpdk.org (Postfix) with ESMTP id 260104282C
 for <dev@dpdk.org>; Thu, 16 Jun 2022 17:17:50 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1655392670; x=1686928670;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=kPHIhD0BVPpcsUGuCO87uCxLPMgDVvYWe9pBSZVYlH0=;
 b=VnKfNB9b+nIE98i+ALyRcxQJpQz534CPeTGMUEx5zCw6SkcNy4KZf8Ho
 fFSqlkbF6aRRpP7WQxwJYgEoeAUgYoGA4eeWF9J0nyZlnJtqgBaeibuEU
 glWpSUXR7utQax0hNAVWx/yA7P0Ljw6jV7owX0FyqIYUUTuSzlJ9LgOC4
 AycHqZf94DRzUln2s4mO3Bp+MyYEo1s6QgONBPiN/4dIgPeIbm+4VfQHv
 bEOGec5duOLyUtfD9j7bYMMLwVzU+ScrRkLNF0lpfBpbN8LeENdgQYNqk
 FOmSekW3ZB3PbvCkF1omZg+Enym0Yxgixzju+vJ2Pmnzm2AMBjXZ30lTH w==;
X-IronPort-AV: E=McAfee;i="6400,9594,10379"; a="365624874"
X-IronPort-AV: E=Sophos;i="5.92,305,1650956400"; d="scan'208";a="365624874"
Received: from fmsmga003.fm.intel.com ([10.253.24.29])
 by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 16 Jun 2022 08:17:49 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.92,305,1650956400"; d="scan'208";a="675066318"
Received: from silpixa00401215.ir.intel.com ([10.55.128.100])
 by FMSMGA003.fm.intel.com with ESMTP; 16 Jun 2022 08:17:48 -0700
From: Sean Morrissey <sean.morrissey@intel.com>
To: Jiayu Hu <jiayu.hu@intel.com>
Cc: dev@dpdk.org,
	Sean Morrissey <sean.morrissey@intel.com>
Subject: [PATCH v2 05/19] gso: remove unneeded header includes
Date: Thu, 16 Jun 2022 15:17:13 +0000
Message-Id: <20220616151728.339629-6-sean.morrissey@intel.com>
X-Mailer: git-send-email 2.25.1
In-Reply-To: <20220616151728.339629-1-sean.morrissey@intel.com>
References: <20220421190859.264174-1-sean.morrissey@intel.com>
 <20220616151728.339629-1-sean.morrissey@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/gso/gso_common.c      | 1 -
 lib/gso/gso_common.h      | 1 -
 lib/gso/gso_tcp4.h        | 1 -
 lib/gso/gso_tunnel_tcp4.h | 1 -
 lib/gso/gso_tunnel_udp4.h | 1 -
 lib/gso/gso_udp4.h        | 1 -
 6 files changed, 6 deletions(-)

diff --git a/lib/gso/gso_common.c b/lib/gso/gso_common.c
index 0fad1132fc..378bf2c6aa 100644
--- a/lib/gso/gso_common.c
+++ b/lib/gso/gso_common.c
@@ -6,7 +6,6 @@
 #include <errno.h>
 
 #include <rte_memcpy.h>
-#include <rte_mempool.h>
 
 #include "gso_common.h"
 
diff --git a/lib/gso/gso_common.h b/lib/gso/gso_common.h
index 2c258b22bf..9456d596d3 100644
--- a/lib/gso/gso_common.h
+++ b/lib/gso/gso_common.h
@@ -7,7 +7,6 @@
 
 #include <stdint.h>
 
-#include <rte_mbuf.h>
 #include <rte_ip.h>
 #include <rte_tcp.h>
 #include <rte_udp.h>
diff --git a/lib/gso/gso_tcp4.h b/lib/gso/gso_tcp4.h
index 10d4b3acdd..7527fa51c9 100644
--- a/lib/gso/gso_tcp4.h
+++ b/lib/gso/gso_tcp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an IPv4/TCP packet. This function doesn't check if the input
diff --git a/lib/gso/gso_tunnel_tcp4.h b/lib/gso/gso_tunnel_tcp4.h
index c522ed27f2..3a7ea238c8 100644
--- a/lib/gso/gso_tunnel_tcp4.h
+++ b/lib/gso/gso_tunnel_tcp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TUNNEL_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner TCP/IPv4 headers. This function
diff --git a/lib/gso/gso_tunnel_udp4.h b/lib/gso/gso_tunnel_udp4.h
index c49b43fe3e..214a69ccd5 100644
--- a/lib/gso/gso_tunnel_udp4.h
+++ b/lib/gso/gso_tunnel_udp4.h
@@ -6,7 +6,6 @@
 #define _GSO_TUNNEL_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner UDP/IPv4 headers. This function
diff --git a/lib/gso/gso_udp4.h b/lib/gso/gso_udp4.h
index b2a2908e54..8baa0ba6db 100644
--- a/lib/gso/gso_udp4.h
+++ b/lib/gso/gso_udp4.h
@@ -6,7 +6,6 @@
 #define _GSO_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an UDP/IPv4 packet. This function doesn't check if the input
-- 
2.25.1