ffec: Increase descriptor ring alignment

For optimal performance a 64-byte alignment is recommended.
This commit is contained in:
Sebastian Huber 2017-09-27 09:23:06 +02:00
parent 9c3473572f
commit 1378632ad8

View File

@ -317,7 +317,7 @@ struct ffec_hwdesc
* The hardware imposes alignment restrictions on various objects involved in
* DMA transfers. These values are expressed in bytes (not bits).
*/
#define FEC_DESC_RING_ALIGN 16
#define FEC_DESC_RING_ALIGN 64
#define FEC_RXBUF_ALIGN 16
#define FEC_TXBUF_ALIGN 16