Skip to content
Snippets Groups Projects
Commit 83432468 authored by Francois Romieu's avatar Francois Romieu Committed by Jeff Garzik
Browse files

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: default avatarFrancois Romieu <romieu@fr.zoreil.com>
parent 3e0f75be
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment