commit | 3e697627400fea74f2d4c5e63dac31eb557e9a83 | [log] [tgz] |
---|---|---|
author | Ioana Ciornei <ioana.ciornei@nxp.com> | Tue May 23 16:47:43 2023 +0300 |
committer | Peng Fan <peng.fan@nxp.com> | Wed Jun 14 18:40:16 2023 +0800 |
tree | f08de68bf7d8e7800ea88a16a6374df2f39baf57 | |
parent | e533228d9ec4713c26f5e9900d27fd65847ed44b [diff] |
net: ldpaa_eth: fix the memory layout of the dpmac_get_counters() API Each MC commands has a specific predefined memory layout that gets interpreted by the firmware. The dpmac_get_counters() API memory layout is wrong, thus the results returned by the command are incorrect. Fix this by updating the offset of the counter field. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>