From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kurt Van Dijck Subject: Re: [PATCH 0/2] clean up tx_bytes accounting Date: Thu, 3 Nov 2011 11:03:33 +0100 Message-ID: <20111103100333.GD317@e-circ.dyndns.org> References: <70F6AAAFDC054F41B9994A9BCD3DF64E16FAA8E0@exch01-aklnz.MARINE.NET.INT> <1320313675-30749-1-git-send-email-mkl@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <1320313675-30749-1-git-send-email-mkl@pengutronix.de> Sender: netdev-owner@vger.kernel.org To: Marc Kleine-Budde Cc: socketcan@hartkopp.net, netdev@vger.kernel.org, linux-can@vger.kernel.org, Reuben.Dowle@navico.com List-Id: linux-can.vger.kernel.org On Thu, Nov 03, 2011 at 10:47:53AM +0100, Marc Kleine-Budde wrote: > Hello, > > what about turning can_get_echo_skb() into a helper function which returns the number > of tx'ed bytes. That would work. Next step would be to do the statistics inside can_get_echo_skb(), but that's affecting all drivers using it ... Kurt > > Marc > >