linux_dsm_epyc7002/drivers/net/ethernet/renesas
Sergei Shtylyov 2f45d1902a ravb: minimize TX data copying
Renesas Ethernet AVB controller requires that all data are aligned on 4-byte
boundary.  While it's  easily achievable for  the RX  data with  the help of
skb_reserve() (we even align on 128-byte boundary as recommended by the manual),
we  can't  do the same with the TX data, and it always comes  unaligned from
the networking core. Originally we solved it an easy way, copying all packet
to  a  preallocated  aligned buffer; however, it's enough to copy only up to
3 first bytes from each packet, doing the transfer using 2 TX descriptors
instead of just 1. Here's an implementation of the new  TX algorithm that
significantly reduces the driver's memory requirements.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-27 01:22:38 -07:00
..
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile Renesas Ethernet AVB PTP clock driver 2015-06-11 00:24:12 -07:00
ravb_main.c ravb: minimize TX data copying 2015-07-27 01:22:38 -07:00
ravb_ptp.c renesas: missing unlock on error path 2015-06-25 02:13:02 -07:00
ravb.h ravb: minimize TX data copying 2015-07-27 01:22:38 -07:00
sh_eth.c sh_eth: Mitigate lost statistics updates 2015-03-04 15:40:54 -05:00
sh_eth.h sh_eth: Implement ethtool register dump operations 2015-03-04 15:40:54 -05:00