]> Git Repo - linux.git/commit
net: ethernet: mediatek: Use NET_IP_ALIGN to judge if HW RX_2BYTE_OFFSET is enabled
authorSean Wang <[email protected]>
Sat, 1 Jun 2019 00:16:27 +0000 (08:16 +0800)
committerDavid S. Miller <[email protected]>
Mon, 3 Jun 2019 22:04:07 +0000 (15:04 -0700)
commit880c2d4b2fdfd580ebcd6bb7240a8027a1d34751
tree95deb72120178f3f625410d298ae019e085e31a8
parent9e4f56f1a7f3287718d0083b5cb85298dc05a5fd
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 <[email protected]>
Signed-off-by: Sean Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
This page took 0.045561 seconds and 4 git commands to generate.