Re: [PATCH net] nfp: fix port stats for mac representors

2017-12-05 Thread David Miller
From: Jakub Kicinski Date: Sat, 2 Dec 2017 02:03:31 -0800 > On Fri, Dec 1, 2017 at 9:37 PM, Jakub Kicinski > wrote: >> From: Pieter Jansen van Vuuren >> >> Previously we swapped the tx_packets,

Re: [PATCH net] nfp: fix port stats for mac representors

2017-12-05 Thread David Miller
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,

Re: [PATCH net] nfp: fix port stats for mac representors

2017-12-02 Thread Jakub Kicinski
On Fri, Dec 1, 2017 at 9:37 PM, Jakub Kicinski wrote: > 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.

[PATCH net] nfp: fix port stats for mac representors

2017-12-01 Thread Jakub Kicinski
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