diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2023-05-23 16:47:43 +0300 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2023-06-14 18:40:16 +0800 |
commit | 3e697627400fea74f2d4c5e63dac31eb557e9a83 (patch) | |
tree | f08de68bf7d8e7800ea88a16a6374df2f39baf57 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c | |
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>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c')
0 files changed, 0 insertions, 0 deletions