Re: [PATCH net v1 2/2] net: ethernet: mediatek: Use NET_IP_ALIGN to judge if HW RX_2BYTE_OFFSET is enabled

From: David Miller
Date: Mon Jun 03 2019 - 18:08:29 EST


From: <sean.wang@xxxxxxxxxxxx>
Date: Sat, 1 Jun 2019 08:16:27 +0800

> From: Sean Wang <sean.wang@xxxxxxxxxxxx>
>
> Should only enable HW RX_2BYTE_OFFSET function in the case NET_IP_ALIGN
> equals to 2.
>
> Signed-off-by: Mark Lee <mark-mc.lee@xxxxxxxxxxxx>
> Signed-off-by: Sean Wang <sean.wang@xxxxxxxxxxxx>

Applied.