Re: [PATCH] net/nfp: break out function to initialize device information

2023-06-21 Thread Ferruh Yigit
On 6/16/2023 9:14 AM, Chaoyong He wrote: > From: Peng Zhang > > The basic logic is the same for PF, VF and representor port. > Split out the initializing device information logics into a > helper function to reduce code duplication. > > Signed-off-by: Peng Zhang > Reviewed-by: Chaoyong He > Re

[PATCH] net/nfp: break out function to initialize device information

2023-06-16 Thread Chaoyong He
From: Peng Zhang The basic logic is the same for PF, VF and representor port. Split out the initializing device information logics into a helper function to reduce code duplication. Signed-off-by: Peng Zhang Reviewed-by: Chaoyong He Reviewed by: Long Wu --- drivers/net/nfp/flower/nfp_flower