mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-27 20:55:28 +08:00
ffec: Increase descriptor ring alignment
For optimal performance a 64-byte alignment is recommended.
This commit is contained in:
parent
9c3473572f
commit
1378632ad8
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user