RE: [PATCH 2/3] examples/ipsec-secgw: fix NAT-T header fields

2022-06-14 Thread Zhang, Roy Fan
> -Original Message- > From: Radu Nicolau > Sent: Wednesday, May 25, 2022 2:59 PM > To: Nicolau, Radu ; Akhil Goyal > Cc: dev@dpdk.org; Buckley, Daniel M ; Zhang, Qi > Z ; sta...@dpdk.org > Subject: [PATCH 2/3] examples/ipsec-secgw: fix NAT-T header fields > >

[PATCH 2/3] examples/ipsec-secgw: fix NAT-T header fields

2022-05-25 Thread Radu Nicolau
Use the proper IP protocol (UDP instead of ESP) and set the ports when UDP encapsulation is enabled. Fixes: 9ae86b4cfc77 ("examples/ipsec-secgw: support UDP encap for inline crypto") Cc: sta...@dpdk.org Signed-off-by: Radu Nicolau --- examples/ipsec-secgw/sa.c | 6 -- 1 file changed, 4 ins