From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f53.google.com (mail-pg0-f53.google.com [74.125.83.53]) by dpdk.org (Postfix) with ESMTP id 4E1DD7D5A for ; Mon, 21 Aug 2017 11:33:44 +0200 (CEST) Received: by mail-pg0-f53.google.com with SMTP id y129so96821065pgy.4 for ; Mon, 21 Aug 2017 02:33:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=M7TH5ubeN52ek47lSEVJdnHEi4yc5iE5LWZCGZdlCNM=; b=xKxLNXXcuxB4m6lLm+D2x1xY0S5oZzP9ID6eZ7unmgkNRXBQsIuXJyGu7y4gZCInXS xnRRA6vcuQDOXVv8RR08zLoatw7iT5B1Sqyhj/RAYaGW43zEMPtPgr4gfHKJqt8+cBJg Gdpl6dv1BgTN/wY4f9U0vQyVaP4NIMs+00fEPwL0R+B/QazS44u1RcnwjnnJ+M53MbOC k8ugwrdEKPnkCwaFeYKN76Ge3jggDMB2KLWtSnIHU530lHlOXwHBsW44epmT0DTRA9HB a352TTnrcrGf8zuW0yPVm/pwdwY1wriZ5FgE/nI9rGyuNaEXQq6JrMo0QVVIOGGj64oM EMnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=M7TH5ubeN52ek47lSEVJdnHEi4yc5iE5LWZCGZdlCNM=; b=S+UnPYlDb609Ba6Lu2WeDH3mVmCeXjikitNGZVxTF26Zf4u4zKTImkY/Uu0sudKoxj 45u2b2BDAMDHh8M6xe+3eTA4vtRiCnYjRI8sW9uUvtq5RKirNBQYKLAfyha2cFa8UMfy AZzM7camQHE3pkHpA4L7dERk8tc5ORwNjLMfSXUCnb05pWeLqmfgbd4jtw9HVoslMz6K K/ofR9WvuN6w8Kpdsa5YpQEnVkb/vqzhY2VcyXmsORoLxy17+iKzkzkchi60T/4d66Ds cdQcfqYB9PYDctL57TZA4foexEsd9cdPRPI0LP/AqHAM6lpRJwz0kSyf8iu+HdTkbrHo EBrA== X-Gm-Message-State: AHYfb5iYR6E5uxJNi/1aUgCy57TRNjlMjv4StE1lwymgr4r3NFBy9lPb /kzd3WXUWZ3M3SuZ X-Received: by 10.84.129.78 with SMTP id 72mr18427536plb.236.1503308023648; Mon, 21 Aug 2017 02:33:43 -0700 (PDT) Received: from localhost.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 69sm23355087pfh.186.2017.08.21.02.33.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Aug 2017 02:33:42 -0700 (PDT) From: Yuanhan Liu To: Qi Zhang Cc: Beilei Xing , dpdk stable , Yuanhan Liu Date: Mon, 21 Aug 2017 17:30:22 +0800 Message-Id: <1503307878-16728-8-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> References: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/i40e: fix VF Tx bytes' has been queued to stable release 17.05.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2017 09:33:44 -0000 Hi, FYI, your patch has been queued to stable release 17.05.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From d993d1b7a68dfeea0592ae84892968551e2aa572 Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Sun, 9 Jul 2017 15:54:58 -0400 Subject: [PATCH] net/i40e: fix VF Tx bytes [ upstream commit e0b3f4cf3e53765347bdeac125048685c8c23c53 ] Tx CRC size is not counted by VSI's stats register, so it is not necessary excluded by driver. Fixes: 98abce237ba7 ("net/i40e: fix VF statistics") Signed-off-by: Qi Zhang Acked-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 6c49195..a51620c 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -2352,9 +2352,6 @@ i40e_update_vsi_stats(struct i40e_vsi *vsi) i40e_stat_update_48(hw, I40E_GLV_BPTCH(idx), I40E_GLV_BPTCL(idx), vsi->offset_loaded, &oes->tx_broadcast, &nes->tx_broadcast); - /* exclude CRC bytes */ - nes->tx_bytes -= (nes->tx_unicast + nes->tx_multicast + - nes->tx_broadcast) * ETHER_CRC_LEN; /* GLV_TDPC not supported */ i40e_stat_update_32(hw, I40E_GLV_TEPC(idx), vsi->offset_loaded, &oes->tx_errors, &nes->tx_errors); -- 2.7.4