sr: SRv6 Path Tracing midpoint processing performance improvement 67/39367/2
authorJulian Klaiber <julian@klaiber.me>
Mon, 14 Aug 2023 11:39:13 +0000 (11:39 +0000)
committerDave Wallace <dwallacelf@gmail.com>
Mon, 21 Aug 2023 13:03:07 +0000 (13:03 +0000)
commite3ce81e56a425eecfc254314f4db1d1774eeba0f
treedcb65a2e2e2f001a9041e1ada65585f8418ff07b
parenta3808ee5b276d0ad17f01eefc891d24cb49d703d
sr: SRv6 Path Tracing midpoint processing performance improvement

Moved the kernel call for the timestamp outside of the inner loop to improve the batch proccessing, and minimizing the kernel calls.

Type: improvement

Change-Id: I0245c223fc8a178724bb8c5df2b98083be046c26
Signed-off-by: Julian Klaiber <julian@klaiber.me>
src/vnet/srv6/sr_pt_node.c