Re: [PATCH net 7/8] net/mlx5e: Count GSO packets correctly

2017-03-21 Thread Saeed Mahameed
On Tue, Mar 21, 2017 at 6:15 PM, Eric Dumazet wrote: > On Tue, 2017-03-21 at 15:59 +0200, Saeed Mahameed wrote: >> From: Gal Pressman >> >> TX packets statistics ('tx_packets' counter) used to count GSO packets >> as one, even though it contains multiple segments. >> This patch will increment the

Re: [PATCH net 7/8] net/mlx5e: Count GSO packets correctly

2017-03-21 Thread Eric Dumazet
On Tue, 2017-03-21 at 15:59 +0200, Saeed Mahameed wrote: > From: Gal Pressman > > TX packets statistics ('tx_packets' counter) used to count GSO packets > as one, even though it contains multiple segments. > This patch will increment the counter by the number of segments, and > align the driver w

Re: [PATCH net 7/8] net/mlx5e: Count GSO packets correctly

2017-03-21 Thread Alexei Starovoitov
On 3/21/17 6:59 AM, Saeed Mahameed wrote: From: Gal Pressman TX packets statistics ('tx_packets' counter) used to count GSO packets as one, even though it contains multiple segments. This patch will increment the counter by the number of segments, and align the driver with the behavior of other