From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 500315A40 for ; Fri, 22 Jul 2016 00:16:00 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id o80so42249297wme.1 for ; Thu, 21 Jul 2016 15:16:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=fgh0K0R/JEdi6Z5o7xyTLmpHkGRuusi/A8KI3VKI/VI=; b=zjbEvrcr4EQ+TRgMsd6VOOSelE1PRftHLJ7yaQhYPyC0tM6ZPaV96k/JlQ0ZXY/B8Q 99nnqcD8RgJ3SqjYNEnyLIq65SZUMKDY+VOjF4GMPKIPETsozQBlc3Kv/j2ks1OOM5cW HpHAD2lp7xPTcYvaH4aoVx/187QSn6eBeU67F1jufK3uJbwGU6bzgmHDRT+XzyBNcFXC TXE1E7ZPYT/LdurCm07nUB4IFQdwFNbQQkyLPZeotw7ZzK/Qy0TbhpPAcFINHWCvfZL6 790sEDcOkJGP6QE/3bgAWcelAa5ztzyLfsKKD3f9rUeC8+FshSMGAkDC3yKQWEN1iby5 vUdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=fgh0K0R/JEdi6Z5o7xyTLmpHkGRuusi/A8KI3VKI/VI=; b=bPBh0awCk+DfhAjhqPrYjefM8dqBYa+DM1Km7i4BdNXcMhVIil1JoLJyuecVpcK10+ DWVnRwl/tzvm2dt5zgErHtrVmrOZSNcnRG4m2QAkLW0KMe37dtnxuVfGnNBfKkISJsMe 20siHmoHp02jE5KRgPbPPhqHw+NIV17p9Kkj3fSumGZyHIedQk5lHteff2yPLICt0hcH 5vL6OGrRuDD3fuWgU2byBVtUvNmuMk4biKM9w2F6OOBSDZJtgi+WmiWyl6gcVCisljb7 ztSdOjIkhasRKOSnshaETqLAWQ+KZDjvJc4jW8Dme7cKx5ruxgQvCVweubO/xM9jZ+3K 1itA== X-Gm-Message-State: ALyK8tIXyH6sXE+4uoM7YYCjnx5Y6Naff0XOh0aoPQPIGIb1e4UToi8XufudJBZ9rJ8k8d7I X-Received: by 10.28.69.203 with SMTP id l72mr19729850wmi.51.1469139359902; Thu, 21 Jul 2016 15:15:59 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id u125sm7621370wmg.22.2016.07.21.15.15.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 15:15:59 -0700 (PDT) From: Thomas Monjalon To: Remy Horton Cc: dev@dpdk.org Date: Fri, 22 Jul 2016 00:15:58 +0200 Message-ID: <4141012.DoPZBfDE7d@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1468926317-2988-1-git-send-email-remy.horton@intel.com> References: <1468926317-2988-1-git-send-email-remy.horton@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1] ether: fix overwriting driver-specific stats X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2016 22:16:00 -0000 2016-07-19 12:05, Remy Horton: > After doing a driver callout to fill in the driver specific > parts of struct rte_eth_stats, rte_eth_stats_get() overwrites > the rx_nombuf member regardless of whether the driver itself > has assigned a value. Any driver-assigned value should take > priority. > > Fixes: af75078fece3 ("first public release") > > Signed-off-by: Remy Horton Applied, thanks