commit | 880c2d4b2fdfd580ebcd6bb7240a8027a1d34751 | [log] [tgz] |
---|---|---|
author | Sean Wang <sean.wang@mediatek.com> | Sat Jun 01 08:16:27 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 03 15:04:07 2019 -0700 |
tree | 95deb72120178f3f625410d298ae019e085e31a8 | |
parent | 9e4f56f1a7f3287718d0083b5cb85298dc05a5fd [diff] |
net: ethernet: mediatek: Use NET_IP_ALIGN to judge if HW RX_2BYTE_OFFSET is enabled 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@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>