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

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: 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 e533228d
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