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 0F52BA00C5; Thu, 7 May 2020 08:37:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6486B1D9C6; Thu, 7 May 2020 08:37:31 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 68C531D9B3 for ; Thu, 7 May 2020 08:37:29 +0200 (CEST) IronPort-SDR: OzL9O57a7b8rjgx+hkOx8bq3iN4azvGT1EY2VHfJxg9eI8k+UFD52img+jTAjEacAGPmuY08fU 1U+f43nHVa+g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2020 23:37:28 -0700 IronPort-SDR: gIPDP5VjZJ564TrXOdsokun6iVYhm6c4sduoFOcleVTc1f6bTvwsLttCp5rG5eytJ2fV0Sk/h/ lz/VC+w03z/g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,362,1583222400"; d="scan'208";a="278497137" Received: from dpdk.sh.intel.com ([10.239.255.59]) by orsmga002.jf.intel.com with ESMTP; 06 May 2020 23:37:26 -0700 From: Guinan Sun To: dev@dpdk.org Cc: Guinan Sun Date: Thu, 7 May 2020 06:16:40 +0000 Message-Id: <20200507061642.64969-1-guinanx.sun@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH 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. 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 | 14 +++++++++++--- drivers/net/ixgbe/ixgbe_ethdev.c | 20 ++++++++++++++++++-- 2 files changed, 29 insertions(+), 5 deletions(-) -- 2.17.1