From patchwork Wed Jan 15 00:50:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wang, Haiyue" X-Patchwork-Id: 64683 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 70066A04FD; Wed, 15 Jan 2020 01:57:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2807F1C0CB; Wed, 15 Jan 2020 01:57:29 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 810211C0C9 for ; Wed, 15 Jan 2020 01:57:27 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jan 2020 16:57:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,320,1574150400"; d="scan'208";a="424843994" Received: from npg-dpdk-haiyue-1.sh.intel.com ([10.67.119.213]) by fmsmga006.fm.intel.com with ESMTP; 14 Jan 2020 16:57:25 -0800 From: Haiyue Wang To: dev@dpdk.org, xiaolong.ye@intel.com, qi.z.zhang@intel.com, qiming.yang@intel.com Cc: Haiyue Wang Date: Wed, 15 Jan 2020 08:50:24 +0800 Message-Id: <20200115005028.21026-1-haiyue.wang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v3 0/4] Intel iavf and ice PMDs clean up 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" a. Remove the unused definitions in osdep.h. b. Put the common definitions used by Intel net PMDs under the macro __INTEL_NET_BASE_OSDEP__, which works as an include file, so that it is easily maintained. Acked-by: Qi Zhang --- v3: update the commit message. v2: add the osdep.h clean up, which depends on v1 to remove TRUE/FALSE. Haiyue Wang (4): net/iavf: unify the bool type value net/ice: unify the bool type value common/iavf: osdep.h clean up net/ice/base: osdep.h clean up drivers/common/iavf/iavf_osdep.h | 107 ++++++++++++++----------- drivers/net/iavf/iavf_ethdev.c | 31 ++++---- drivers/net/iavf/iavf_rxtx.c | 34 ++++---- drivers/net/ice/base/ice_osdep.h | 132 ++++++++++++++++--------------- drivers/net/ice/ice_ethdev.c | 22 +++--- drivers/net/ice/ice_rxtx.c | 16 ++-- 6 files changed, 178 insertions(+), 164 deletions(-)