{"push_id":2911429987,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"2afa7ba1987ef1c4b18749390d4593e324931fa6","before":"7932331f9203ab16bf07c61cb3c2f055e8ed4e30","commits":[{"sha":"2afa7ba1987ef1c4b18749390d4593e324931fa6","author":{"name":"zhuangyan","email":"6a1ab7e80d5a33700fe848ae83ff490322110a30@bytedance.com"},"message":"ipvs: add nat-mode support in multi-cores node.\n\no During the system boots up, the below resource is pre-allcoated.\n  - per-socket based global connetion redirect hash table;\n  - per-socket based connection redirect cache;\n  - each lcore allocates the respective packet forward rings for each other\n    lcores to avoid the contention of enqueuing the packets in the same ring.\n\no When a connection is created and hashed in nat-mode, the related redirect\n  is allocated and hashed accordingly.\n\no When a connection expires to be unhashed and freed in nat-mode, the related\n  redirect is unhashed and freed accordingly.\n\no In the stage of PRE_ROUTING, if the packet does not match any dpvs connection,\n  then check if it matches any connection redirect entry. If match, enqueue the\n  packet into the packet forward ring of the rediret owner core; otherwise,\n  continue to process it on the current lcore.\n\no Within lcore_job_recv_fwd(), add the task of dequeuing the packets from all\n  the packet forward rings owned by the current lcore and process them\n  accordingly.","distinct":true,"url":"https://api.github.com/repos/andrewhit/dpvs/commits/2afa7ba1987ef1c4b18749390d4593e324931fa6"}]}
{"actor":{"display_login":"andrewhit"}}