netstat counts input traffic twice

Hans Petter Selasky hps at selasky.org
Wed Sep 28 15:55:29 UTC 2016


On 09/28/16 17:48, Ben RUBSON wrote:
>
>> On 28 Sep 2016, at 16:01, Hans Petter Selasky <hps at 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



More information about the freebsd-net mailing list