Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix dropping of initial IPsec pkts

2020-04-15 Thread Ananyev, Konstantin
Hi Lukasz, > Hi Konstantin, > > In this patch I moved the sa_init() before rte_eth_dev_start() in order to > avoid dropping > of IPsec pkts when a traffic flows and the ipsec-secgw application is started. > > However I remember that during review of event mode patches you mentioned that > mo

Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix dropping of initial IPsec pkts

2020-04-15 Thread Lukas Bartosik [C]
Hi Konstantin, In this patch I moved the sa_init() before rte_eth_dev_start() in order to avoid dropping of IPsec pkts when a traffic flows and the ipsec-secgw application is started. However I remember that during review of event mode patches you mentioned that moving sa_init() before rte_eth_d

[dpdk-dev] [PATCH] examples/ipsec-secgw: fix dropping of initial IPsec pkts

2020-04-08 Thread Lukasz Bartosik
In inline event mode when traffic flows and the ipsec-secgw app is started then for short period of time IPsec packets arrive at application without being decrypted and are dropped by the application. This happens because eth ports are started before creation of inline sessions and IPsec flows. Thi