[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Limited range for counters in /sys/class/net/<vifname>/statistics/{r, t}x_bytes - 33 bits?


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Andy Smith <andy@xxxxxxxxxxxxxx>
  • Date: Sun, 3 Sep 2017 04:27:12 +0000
  • Delivery-date: Sun, 03 Sep 2017 04:27:37 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc

Hello,

On Sun, Sep 03, 2017 at 03:10:46AM +0000, Andy Smith wrote:
> Is this intentional?

I see from:

    
http://elixir.free-electrons.com/linux/v4.9.47/source/drivers/net/xen-netback/interface.c#L228

and:

    
http://elixir.free-electrons.com/linux/v4.10/source/drivers/net/xen-netback/interface.c#L224

that the counters went from an unsigned long to a u64 so I think
that answers my question and it was a bug/deficiency that was fixed.

Oh well, should anyone else not yet using a 4.10+ kernel experience
this, maybe they will do a search and find these posts and not pull
their hair out. :)

Cheers,
Andy

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.