]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r347293:
authorHans Petter Selasky <hselasky@FreeBSD.org>
Thu, 16 May 2019 16:14:43 +0000 (16:14 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Thu, 16 May 2019 16:14:43 +0000 (16:14 +0000)
commit26a111e40222dd36a412aa89705987c33226b644
treed190a56620cf9b49bc202277473c4ed5de2efc10
parent6cc74673fe3a64e57bb4cec921d01649cc5aa6ee
MFC r347293:
Use software counters for rx_packets and rx_bytes in mlx5en(4).

The physical- and virtual- port counters might not reflect the amount
of data received after address filtering. Use the software counters
instead for rx_packets and rx_bytes to know exactly how much data
was received.

Sponsored by: Mellanox Technologies
sys/dev/mlx5/mlx5_en/mlx5_en_main.c