summaryrefslogtreecommitdiff
path: root/crypto/krng.c
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2013-04-09 08:04:25 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-04-16 15:35:17 (GMT)
commitba3826a63a89a9efd73c984cc633bca4bdc2434c (patch)
tree40ac8e90f8cae588281db800bab852436b5627a0 /crypto/krng.c
parent8cb17e991c16449546ca9b21a5bb0575e5b8c24a (diff)
downloadlinux-fsl-qoriq-ba3826a63a89a9efd73c984cc633bca4bdc2434c.tar.xz
powerpc/dpaa_1588: optimization for 1588 performance
In case of overloading the slaves, the performace will get worse since there are more and more outdated timestamps accumulated in Tx buffer, so we introduce a way to remove those older timestamps between the current matched one and the tail if they are more than TS_ACCUMULATION_THRESHOLD. In addition, we update the buffer size to 256 which is enough according to stress tests. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: I761dcabf71f27d47627ca835daf28562bfa37319 Reviewed-on: http://git.am.freescale.net:8181/1146 Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'crypto/krng.c')
0 files changed, 0 insertions, 0 deletions