Re: [PATCH 07/31] net: mediatek: stop using bitfileds for DMA descriptors

2022-08-07 Thread Weijie Gao
On Sat, 2022-08-06 at 20:50 +0300, Ramon Fried wrote: > On Thu, Aug 4, 2022 at 6:35 AM Weijie Gao > wrote: > > > > This patch is a preparation for adding a new version of PDMA of > > which the > > DMA descriptor fields has changed. Using bitfields will result in a > > complex > > modification.

Re: [PATCH 07/31] net: mediatek: stop using bitfileds for DMA descriptors

2022-08-06 Thread Ramon Fried
On Thu, Aug 4, 2022 at 6:35 AM Weijie Gao wrote: > > This patch is a preparation for adding a new version of PDMA of which the > DMA descriptor fields has changed. Using bitfields will result in a complex > modification. Convert bitfields to u32 units can solve this problem easily. > >

Re: [PATCH 07/31] net: mediatek: stop using bitfileds for DMA descriptors

2022-08-04 Thread Simon Glass
On Wed, 3 Aug 2022 at 21:36, Weijie Gao wrote: > > This patch is a preparation for adding a new version of PDMA of which the > DMA descriptor fields has changed. Using bitfields will result in a complex > modification. Convert bitfields to u32 units can solve this problem easily. > >

[PATCH 07/31] net: mediatek: stop using bitfileds for DMA descriptors

2022-08-03 Thread Weijie Gao
This patch is a preparation for adding a new version of PDMA of which the DMA descriptor fields has changed. Using bitfields will result in a complex modification. Convert bitfields to u32 units can solve this problem easily. Signed-off-by: Weijie Gao --- drivers/net/mtk_eth.c | 144