Re: [PATCH 1/6] net: ldpaa_eth: fix the memory layout of the dpmac_get_counters() API

2023-06-10 Thread Ramon Fried
On Tue, May 23, 2023 at 4:48 PM Ioana Ciornei wrote: > > 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

[PATCH 1/6] net: ldpaa_eth: fix the memory layout of the dpmac_get_counters() API

2023-05-23 Thread Ioana Ciornei
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 ---