From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] nfp: fix port stats for mac representors Date: Tue, 05 Dec 2017 11:27:14 -0500 (EST) Message-ID: <20171205.112714.1095453121010737114.davem@davemloft.net> References: <20171202053723.32660-1-jakub.kicinski@netronome.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, oss-drivers@netronome.com, pieter.jansenvanvuuren@netronome.com To: jakub.kicinski@netronome.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:36566 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752413AbdLEQ1P (ORCPT ); Tue, 5 Dec 2017 11:27:15 -0500 In-Reply-To: <20171202053723.32660-1-jakub.kicinski@netronome.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Jakub Kicinski Date: Fri, 1 Dec 2017 21:37:23 -0800 > From: Pieter Jansen van Vuuren > > Previously we swapped the tx_packets, tx_bytes and tx_dropped counters > with rx_packets, rx_bytes and rx_dropped counters, respectively. This > behaviour is correct and expected for VF representors but it should not > be swapped for physical port mac representors. > > Signed-off-by: Pieter Jansen van Vuuren > Reviewed-by: Simon Horman > Reviewed-by: Jakub Kicinski Applied.