aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>2018-11-29 17:08:37 +0900
committerDavid S. Miller <davem@davemloft.net>2018-11-29 10:38:39 -0800
commit88113957ddb7b7d5451e28cd708c82ea7e63b097 (patch)
tree6995c7ce2b4c6e1ea7371af5ea7eaf9934ee76f2 /scripts
parentnet: ethernet: ave: Increase descriptors to improve performance (diff)
downloadlinux-dev-88113957ddb7b7d5451e28cd708c82ea7e63b097.tar.xz
linux-dev-88113957ddb7b7d5451e28cd708c82ea7e63b097.zip
net: ethernet: ave: Replace NET_IP_ALIGN with AVE_FRAME_HEADROOM
In commit 26a4676faa1a ("arm64: mm: define NET_IP_ALIGN to 0"), AVE controller affects this modification because the controller forces to ignore lower 2bits of buffer start address, and make 2-byte headroom, that is, data reception starts from (buffer + 2). This patch defines AVE_FRAME_HEADROOM macro as hardware-specific value, and replaces NET_IP_ALIGN with it. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions