ironcore-dev / dpservice

DPDK based fast Dataplane / L3 router / SDN enabler, installable on compute nodes / SmartNICs
Apache License 2.0
7 stars 1 forks source link

Fix DNAT cleanup in VNI reset #574

Closed PlagueCZ closed 3 months ago

PlagueCZ commented 3 months ago

This should be enough to fix the problem for VNI unsubscription and neighboring NAT removal

Fixes #573

PlagueCZ commented 3 months ago

I added one more commit to optimize the DNAT entry deletion function to reduce hashing, since it will be called multliple times in VNI reset. Even though this is in orchestration phase, so no hot-path.

I think these commits can be squashed before merging, but for current analysis I kept them separate.