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

RE: [Xen-devel] [PATCH] patch fix-rx-packets-accounting



No, I don't think so. The stats should be bumped on data ingress to the shared 
ring. After all, if this were ethernet, you generally have no way of knowing 
whether the packet you send ever makes it to its destination.

  Paul

> -----Original Message-----
> From: Ian Campbell
> Sent: 16 December 2010 11:45
> To: Paul Durrant
> Cc: Konrad Rzeszutek Wilk; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-devel] [PATCH] patch fix-rx-packets-accounting
> 
> On Thu, 2010-12-16 at 11:37 +0000, Paul Durrant wrote:
> > I think tx_packets and tx_bytes accounting is ok. Do you think
> they are wrong?
> 
> I wonder if it might be more correct to only increment them if
> status ==
> NETIF_RSP_OK?
> 
> Ian.
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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