From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 34102A00C5; Fri, 8 May 2020 06:58:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A80561DBEE; Fri, 8 May 2020 06:58:34 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 3562F1DBDB for ; Fri, 8 May 2020 06:58:32 +0200 (CEST) IronPort-SDR: s9OXVJQZ+OybayXc0UIJNSMxcs4vE4rzyvTvWLrf0r1sSnzyb6gu1e+UyDhfpQhKB+0qlvAhae aZIjdcOiu14w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2020 21:58:31 -0700 IronPort-SDR: 50SeVA2Y0/0sIqUV2eusjVifAWA19LRWFH0j9ND3nH/3BhJ+hFojaYWk6QiAaz9h/wiAE5dFSz 0M0xrd4qEA5A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,366,1583222400"; d="scan'208";a="370336301" Received: from dpdk.sh.intel.com ([10.239.255.59]) by fmsmga001.fm.intel.com with ESMTP; 07 May 2020 21:58:30 -0700 From: Guinan Sun To: dev@dpdk.org Cc: Guinan Sun Date: Fri, 8 May 2020 04:46:16 +0000 Message-Id: <20200508044618.70535-1-guinanx.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200508015913.48764-1-guinanx.sun@intel.com> References: <20200508015913.48764-1-guinanx.sun@intel.com> Subject: [dpdk-dev] [PATCH v2 0/2] fix defects of macro in VF 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" The defects of UPDATE_VF_STAT and UPDATE_VF_STAT_36BIT exist. If latest is less than last, we will get wrong result. The issues exist only in ixgbe and e1000 NICs. --- v2 changes: * Aligned line-continuation character "\". Guinan Sun (2): net/ixgbe: fix defects of macro in VF net/e1000: fix defects of macro in VF drivers/net/e1000/igb_ethdev.c | 18 +++++++++++++----- drivers/net/ixgbe/ixgbe_ethdev.c | 32 ++++++++++++++++++++++++-------- 2 files changed, 37 insertions(+), 13 deletions(-) -- 2.17.1