summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-27 09:23:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-27 11:02:06 +0200
commit1378632ad81676c3a69d8e4656c2b5765bac2bd1 (patch)
treec1ad311294d56a7cb642590c31adb6404f499cde
parentffec: Use explicit cache synchronization (diff)
downloadrtems-libbsd-1378632ad81676c3a69d8e4656c2b5765bac2bd1.tar.bz2
ffec: Increase descriptor ring alignment
For optimal performance a 64-byte alignment is recommended.
-rw-r--r--freebsd/sys/dev/ffec/if_ffecreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/sys/dev/ffec/if_ffecreg.h b/freebsd/sys/dev/ffec/if_ffecreg.h
index bc44af3a..6faa0950 100644
--- a/freebsd/sys/dev/ffec/if_ffecreg.h
+++ b/freebsd/sys/dev/ffec/if_ffecreg.h
@@ -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