Bug#970722: linux: Igc driver has /proc/net/dev stats issue
On Sun, 1 Nov 2020 14:54:50 +0100
Salvatore Bonaccorso <carnil@debian.org> wrote:
Thank you for your reply.
> Control: tags -1 + moreinfo
>
> Hi,
>
> On Tue, Sep 22, 2020 at 09:57:50PM +0900, Hideo Oshima wrote:
> > Source: linux
> > Version: 5.8.10-1
> > Severity: normal
> >
> > Dear Maintainer,
> >
> > *** Reporter, please consider answering these questions, where appropriate ***
> >
> > * What led up to the situation?
> >
> > I use Intel I225-V Ethernet controller with igc driver.
> > But it has /proc/net/dev stats issue.
> > For example Receive and Transmit bytes, packetes are all 0.
> >
> > $cat /proc/net/dev
> > Inter-| Receive | Transmit
> > face |bytes packets errs drop fifo frame compressed multicast|bytes
> > packets errs drop fifo colls carrier compressed
> > lo: 22642 271 0 0 0 0 0 0 22642
> > 271 0 0 0 0 0 0
> > enp9s0: 0 0 0 9648 0 0 0 0 0
> > 0 0 0 0 0 0 0
> >
> > * What exactly did you do (or not do) that was effective (or
> > ineffective)?
> > * What was the outcome of this action?
> > * What outcome did you expect instead?
>
> There were some refactorings in upstream up to v5.9.1 in the igc
> driver. Can you check, does the issue still persist in 5.9.1-1 as
> currently in unstable?
I tried Linux 5.9.1-1 in unstable.
Receive and Transmit bytes, packetes are not 0,
but they don't appear to be increasing enough.
$ date
2020年 11月 2日 月曜日 21:17:22 JST
$ cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 4107 51 0 0 0 0 0 0 4107 51 0 0 0 0 0 0
enp6s0: 0 0 0 2082 0 0 0 0 0 0 0 0 0 0 0 0
$ date
2020年 11月 2日 月曜日 21:17:41 JST
$ cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 4107 51 0 0 0 0 0 0 4107 51 0 0 0 0 0 0
enp6s0: 0 0 0 2090 0 0 0 0 0 0 0 0 0 0 0 0
Regards,
Hideo
--
大島秀夫(Hideo Oshima)
http://hidenosuke.org/
Reply to: