Searched hist:"776 e66e8f1df7f092e6a543d47391a85509c1a2b" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | e1000.h | 776e66e8f1df7f092e6a543d47391a85509c1a2b Thu Apr 19 02:27:11 UTC 2012 Ruchika Gupta <ruchika.gupta@freescale.com> e1000e : Correct Rx Threshold granularity
In e1000e driver, Rx descriptor queue is used such that hardware can add only one descriptor at a time. So the WTHRESH granularity in RXDCTL should be set to single descriptor. This would ensure that every time controller fills a Rx descriptor, it is flushed to host memory. Earlier this granularity was in cache line units i.e 2 descriptors. This leads to controller always waiting for 2 descriptors before flushing them out. But since not more than one Rx BD is actually available , the accumulation condition never gets hit.
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> Signed-off-by: Vakul Garg <vakul@freescale.com> Acked-by: Roy Zang <tie-fei.zang@freescale.com>
|
| H A D | e1000.c | 776e66e8f1df7f092e6a543d47391a85509c1a2b Thu Apr 19 02:27:11 UTC 2012 Ruchika Gupta <ruchika.gupta@freescale.com> e1000e : Correct Rx Threshold granularity
In e1000e driver, Rx descriptor queue is used such that hardware can add only one descriptor at a time. So the WTHRESH granularity in RXDCTL should be set to single descriptor. This would ensure that every time controller fills a Rx descriptor, it is flushed to host memory. Earlier this granularity was in cache line units i.e 2 descriptors. This leads to controller always waiting for 2 descriptors before flushing them out. But since not more than one Rx BD is actually available , the accumulation condition never gets hit.
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> Signed-off-by: Vakul Garg <vakul@freescale.com> Acked-by: Roy Zang <tie-fei.zang@freescale.com>
|