[PATCH 31/31] net/drivers: fec: remove 1ms latency on frames reception

Jean-Baptiste Trédez jean-baptiste.tredez at alstefgroup.com
Tue May 11 18:05:35 CEST 2021


From: abouvet <arnaud.bouvet at alstefgroup.com>

Signed-off-by: Arnaud Bouvet <arnaud.bouvet at alstefgroup.com>
Signed-off-by: Jean-Baptiste Trédez <jean-baptiste.tredez at alstefgroup.com>
---
 kernel/drivers/net/drivers/freescale/fec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/drivers/net/drivers/freescale/fec.h b/kernel/drivers/net/drivers/freescale/fec.h
index 5ab51701d..ba177fcf9 100644
--- a/kernel/drivers/net/drivers/freescale/fec.h
+++ b/kernel/drivers/net/drivers/freescale/fec.h
@@ -392,7 +392,7 @@ struct bufdesc_ex {
 #define FEC_ITR_ICFT(X)		(((X) & 0xff) << 20)
 #define FEC_ITR_ICTT(X)		((X) & 0xffff)
 #define FEC_ITR_ICFT_DEFAULT	200  /* Set 200 frame count threshold */
-#define FEC_ITR_ICTT_DEFAULT	1000 /* Set 1000us timer threshold */
+#define FEC_ITR_ICTT_DEFAULT	10   /* Set 10 us timer threshold */
 
 #define FEC_VLAN_TAG_LEN	0x04
 #define FEC_ETHTYPE_LEN		0x02
-- 
2.17.1




More information about the Xenomai mailing list