summaryrefslogtreecommitdiffstats
path: root/samples/pktgen
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@oracle.com>2018-09-16 22:49:30 -0400
committerDavid S. Miller <davem@davemloft.net>2018-09-17 08:19:51 -0700
commit1635bb548f846804af3054872fbd1395783ac03e (patch)
tree06a5926a65d91b8f0a2a4eef0d621f229ae47d64 /samples/pktgen
parent0185e2e69f8e640defb77380b6b0d054c2ec12e4 (diff)
downloadlinux-1635bb548f846804af3054872fbd1395783ac03e.tar.gz
linux-1635bb548f846804af3054872fbd1395783ac03e.tar.bz2
linux-1635bb548f846804af3054872fbd1395783ac03e.zip
net: rds: use memset to optimize the recv
The function rds_inc_init is in recv process. To use memset can optimize the function rds_inc_init. The test result: Before: 1) + 24.950 us | rds_inc_init [rds](); After: 1) + 10.990 us | rds_inc_init [rds](); Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/pktgen')
0 files changed, 0 insertions, 0 deletions