Re: [PATCH net-next v2 1/1] net: stmmac: xgmac: RX queue routing configuration

From: Simon Horman
Date: Tue Aug 08 2023 - 16:34:11 EST


On Tue, Aug 08, 2023 at 10:19:06AM +0800, Furong Xu wrote:
> Commit abe80fdc6ee6 ("net: stmmac: RX queue routing configuration")
> introduced RX queue routing to DWMAC4 core.
> This patch extend the support to XGMAC2 core.
>
> Signed-off-by: Furong Xu <0x1207@xxxxxxxxx>
> ---
> Changes in v2:
> - Convert the shift ops to FIELD_PREP

Thanks!

FWIIW, I think if the code moved to using FIELD_PREP then
probably the _SHIFT defined can be cropped.

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>