]> err.no Git - linux-2.6/commit
chelsio: tabulate the update of the statistic counters
authorFrancois Romieu <romieu@fr.zoreil.com>
Mon, 11 Dec 2006 23:13:48 +0000 (00:13 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 5 Feb 2007 21:58:43 +0000 (16:58 -0500)
commit834324687d08e0f67b167934cb56406aa98ff8c6
treebafd6715f66bf7ad17bcabb4fabfbeffbddd1538
parent3e0f75be52605a901165fa1d8acf4ffd37a4857b
chelsio: tabulate the update of the statistic counters

Let's try to avoid some code duplication.

- cxgb2
  The data are contiguous. Use plain memcpy.

- ixf1010/pm3393/vsc7326
  The cast of &mac->stats to (u64 *) is not wonderful but it is not clear
  if it is worth to add an ad-hoc union under the struct cmac_statistics.

vsc7326_reg.h suggests that more statistics could be available.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/chelsio/cxgb2.c
drivers/net/chelsio/ixf1010.c
drivers/net/chelsio/pm3393.c
drivers/net/chelsio/vsc7326.c
drivers/net/chelsio/vsc7326_reg.h