diff options
author | 2017-05-08 11:04:07 +0530 | |
---|---|---|
committer | 2017-06-01 11:56:00 +0000 | |
commit | cd7ce8f25a81fb390ed0cc66992fda8ab1b021cb (patch) | |
tree | 2213d3f98ebd409e01d443fac783f132bbbd21dd /VNFs/vCGNAPT/init.c | |
parent | b04a6e5dacc458f81097c9b8a172dcbf16d8fd50 (diff) |
CT: Perf optimization through prefetch and condition checks in CT
JIRA: SAMPLEVNF-10
LLC miss is possible when the connection data structure is accessed
after retrieved from hash table entries for TCP/UDP connection.
CPI for rte_ct_udp_packet() is not good due to if/else condition checks.
This patch provide a prefetch instructions to pre-fetch the cnxn data entry
structure to avoid the LLC miss and also optimize the if/else condition check
to improve the CPI for rte_ct_udp_packet() function.
Change-Id: Ieaf70815c919ddbe1ff34921222eac030fb41756
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
Diffstat (limited to 'VNFs/vCGNAPT/init.c')
0 files changed, 0 insertions, 0 deletions