Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2016 18:00:18 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Ben RUBSON <ben.rubson@gmail.com>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: netstat counts input traffic twice
Message-ID:  <4f5a88f4-03e7-482f-b963-ab65eeee0136@selasky.org>
In-Reply-To: <AED1E1B1-424E-4932-A7F5-80410505E15C@gmail.com>
References:  <94953762-4397-476D-AD61-A39914F27938@gmail.com> <6d052c64-2ca2-7839-c297-e764634be648@selasky.org> <AED1E1B1-424E-4932-A7F5-80410505E15C@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/28/16 17:48, Ben RUBSON wrote:
>
>> On 28 Sep 2016, at 16:01, Hans Petter Selasky <hps@selasky.org> wrote:
>>
>> On 09/23/16 19:59, Ben RUBSON wrote:
>>> netstat -b -I mlxen1
>>
>> Hi Ben,
>>
>> Does the attached patch make any difference?
>>
>> --HPS
>> <en_port.c.diff>
>
> Hi HPS,
>

> # netstat -w 1 -i mlxen1
>             input        (Total)           output
>    packets  errs idrops      bytes    packets  errs      bytes colls
>          3     0     0        156          2     0        304     0
>      13802     0     0  127953064       7091     0     368956     0
>      69634     0     0  643667952      36098     0    1877204     0
>      78299     0     0  724143932      41008     0    2132524     0
>      77700     0     0  717102432      40430     0    2102468     0
>      80672     0     0  742520072      41880     0    2177868     0
>      75676     0     0  697621964      39367     0    2047172     0
>      78923     0     0  727609020      40921     0    2128000     0
>      79346     0     0  730241416      40879     0    2125816     0
>      79342     0     0  730034956      40867     0    2125204     0
>      80737     0     0  743042220      41592     0    2162892     0
>      16795     0     0  154340716       8652     0     450096     0
>          1     0     0         52          1     0        160     0
>

Hi Ben,

Is this a regression issue from 10.x ?

Does other network drivers exhibit the same behaviour?

With your instructions I should be able to reproduce and fix this issue.

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f5a88f4-03e7-482f-b963-ab65eeee0136>