Skip to content
Commit 13ca5c2f authored by Ioana Ciornei's avatar Ioana Ciornei Committed by Peng Fan
Browse files

net: ldpaa_eth: transform dpni_statistics from a struct to a union



In order to simplify code, dpni_statistics can be written as a union.
Using the raw accessors we can just loop through all the statistics from
a page without trying to access each an every one independently.
Make this change to a union.

Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 3e697627
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment