Files
u-boot-tk1-som/drivers
Thierry Reding dad3ba0f0b net: rtl8169: Properly align buffers
RX and TX descriptor rings should be aligned to 256 byte boundaries. Use
the DEFINE_ALIGN_BUFFER() macro to define the buffers so that they don't
have to be manually aligned later on. Also make sure that the buffers do
align to cache-line boundaries in case the cache-line is higher than the
256 byte alignment requirements of the NIC.

Also add a warning if the cache-line size is larger than the descriptor
size, because the driver may discard changes to descriptors made by the
hardware when requeuing RX buffers.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2014-12-18 13:21:41 -07:00
..
2014-09-24 18:30:29 -04:00
2014-09-24 18:30:28 -04:00
2014-10-25 07:27:37 -04:00
2014-12-12 21:09:01 +02:00
2014-12-13 15:08:04 -07:00
2014-12-18 13:21:41 -07:00
2014-12-18 13:19:20 -07:00
2014-09-24 18:30:28 -04:00
2014-12-18 13:19:20 -07:00
2014-09-24 18:30:28 -04:00
2014-12-11 20:47:34 -05:00
2014-12-01 15:24:07 -05:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00