linux_dsm_epyc7002/drivers/net/ethernet/socionext
Kunihiko Hayashi 88113957dd net: ethernet: ave: Replace NET_IP_ALIGN with AVE_FRAME_HEADROOM
In commit 26a4676faa ("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>
2018-11-29 10:38:39 -08:00
..
Kconfig net: ethernet: ave: add support for phy-mode setting of system controller 2018-04-20 10:49:41 -04:00
Makefile net: socionext: Add Synquacer NetSec driver 2018-01-10 14:50:29 -05:00
netsec.c net: socionext: Reset tx queue in ndo_stop 2018-10-23 10:55:35 -07:00
sni_ave.c net: ethernet: ave: Replace NET_IP_ALIGN with AVE_FRAME_HEADROOM 2018-11-29 10:38:39 -08:00