mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 21:34:25 +08:00
ffec: Increase descriptor ring alignment
For optimal performance a 64-byte alignment is recommended.
This commit is contained in:
@@ -317,7 +317,7 @@ struct ffec_hwdesc
|
|||||||
* The hardware imposes alignment restrictions on various objects involved in
|
* The hardware imposes alignment restrictions on various objects involved in
|
||||||
* DMA transfers. These values are expressed in bytes (not bits).
|
* 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_RXBUF_ALIGN 16
|
||||||
#define FEC_TXBUF_ALIGN 16
|
#define FEC_TXBUF_ALIGN 16
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user