diff --git a/loxilb-ebpf b/loxilb-ebpf index b7a668bdc..0f4d8c6b6 160000 --- a/loxilb-ebpf +++ b/loxilb-ebpf @@ -1 +1 @@ -Subproject commit b7a668bdc6b9f431f2bb7944df7d434451908fb3 +Subproject commit 0f4d8c6b60ae97cc7752e871a3f6b301e309e1d2 diff --git a/loxinet/dpebpf_linux.go b/loxinet/dpebpf_linux.go index 1684c7dfb..ef521166b 100644 --- a/loxinet/dpebpf_linux.go +++ b/loxinet/dpebpf_linux.go @@ -91,10 +91,10 @@ const ( // constants const ( DpEbpfLinuxTiVal = 10 - ctiDeleteSyncRetries = 4 + ctiDeleteSyncRetries = 3 blkCtiMaxLen = 4096 mapNotifierChLen = 8096 - mapNotifierWorkers = 2 + mapNotifierWorkers = 1 ) // ebpf table related defines in go @@ -1823,8 +1823,8 @@ func dpCTMapChkUpdates() { if cti.Deleted > 0 { delete(mh.dpEbpf.ctMap, cti.Key()) - // This is a strange fix - See comment above - //C.llb_del_map_elem(C.LL_DP_CT_MAP, unsafe.Pointer(&cti.PKey[0])) + // This is a strange fix - See comment above. Do we still need it ? + // C.llb_del_map_elem(C.LL_DP_CT_MAP, unsafe.Pointer(&cti.PKey[0])) } } }