diff options
| author | Ioana Ciornei <[email protected]> | 2023-05-23 16:47:44 +0300 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2023-06-14 18:40:16 +0800 |
| commit | 13ca5c2f56a172a3df1d5b84a084ed437ea26cde (patch) | |
| tree | 430e4914fa8e32ca2ee7a49c2496d9d4fb64048b /scripts | |
| parent | 3e697627400fea74f2d4c5e63dac31eb557e9a83 (diff) | |
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: Ioana Ciornei <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
