commit | ae0638f60c67761cede65dcf66974f04229269af | [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 | a10bf637d85ca07aeb1036239ca939e675112453 [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>