Remove logic of flow recycle during flow table overflow, since it was broken (crash or hang depending on situation), and also contradicts with NAT case (RFC6888 REQ-11). Also:
Remove flow entries per thread cache. It's not needed in new multithreading design
Make max flow lifetime to be constant 600 sec, since we do not have api to dynamically change it anyways
Use upf_llist intrusive linked list for timers instead of dlist for consistency and clearer interface
Change in flow node counters:
dropped due to flowtable overflow added
flow recycled removed, since we do not recycle flows anymore
unhandled (non-ip) packet renamed to more suitable packet without session
Remove logic of flow recycle during flow table overflow, since it was broken (crash or hang depending on situation), and also contradicts with NAT case (RFC6888 REQ-11). Also:
upf_llist
intrusive linked list for timers instead of dlist for consistency and clearer interfacedropped due to flowtable overflow
addedflow recycled
removed, since we do not recycle flows anymoreunhandled (non-ip) packet
renamed to more suitablepacket without session