Re: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: fix usage of incorrect port

2017-12-11 Thread Anoob Joseph
Hi, On 12/11/2017 03:56 PM, Radu Nicolau wrote: Hi, On 12/6/2017 11:08 AM, Anoob wrote: Hi Akhil, On 12/04/2017 01:19 PM, Akhil Goyal wrote: Hi Anoob, On 11/29/2017 9:51 AM, Anoob Joseph wrote: Hi Akhil, On 24-11-2017 16:19, Akhil Goyal wrote: Hi Anoob, On 11/24/2017 3:28 PM, Anoob wr

Re: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: fix usage of incorrect port

2017-12-11 Thread Radu Nicolau
Hi, On 12/6/2017 11:08 AM, Anoob wrote: Hi Akhil, On 12/04/2017 01:19 PM, Akhil Goyal wrote: Hi Anoob, On 11/29/2017 9:51 AM, Anoob Joseph wrote: Hi Akhil, On 24-11-2017 16:19, Akhil Goyal wrote: Hi Anoob, On 11/24/2017 3:28 PM, Anoob wrote:   static inline void   route4_pkts(struct rt_

Re: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: fix usage of incorrect port

2017-12-06 Thread Anoob
Hi Akhil, On 12/04/2017 01:19 PM, Akhil Goyal wrote: Hi Anoob, On 11/29/2017 9:51 AM, Anoob Joseph wrote: Hi Akhil, On 24-11-2017 16:19, Akhil Goyal wrote: Hi Anoob, On 11/24/2017 3:28 PM, Anoob wrote:   static inline void   route4_pkts(struct rt_ctx *rt_ctx, struct rte_mbuf *pkts[], uint

Re: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: fix usage of incorrect port

2017-12-03 Thread Akhil Goyal
Hi Anoob, On 11/29/2017 9:51 AM, Anoob Joseph wrote: Hi Akhil, On 24-11-2017 16:19, Akhil Goyal wrote: Hi Anoob, On 11/24/2017 3:28 PM, Anoob wrote:   static inline void   route4_pkts(struct rt_ctx *rt_ctx, struct rte_mbuf *pkts[], uint8_t nb_pkts)   {   uint32_t hop[MAX_PKT_BURST * 2]

Re: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: fix usage of incorrect port

2017-11-28 Thread Anoob Joseph
Hi Akhil, On 24-11-2017 16:19, Akhil Goyal wrote: Hi Anoob, On 11/24/2017 3:28 PM, Anoob wrote:   static inline void   route4_pkts(struct rt_ctx *rt_ctx, struct rte_mbuf *pkts[], uint8_t nb_pkts)   {   uint32_t hop[MAX_PKT_BURST * 2];   uint32_t dst_ip[MAX_PKT_BURST * 2]; +    int32

Re: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: fix usage of incorrect port

2017-11-24 Thread Akhil Goyal
Hi Anoob, On 11/24/2017 3:28 PM, Anoob wrote:   static inline void   route4_pkts(struct rt_ctx *rt_ctx, struct rte_mbuf *pkts[], uint8_t nb_pkts)   {   uint32_t hop[MAX_PKT_BURST * 2];   uint32_t dst_ip[MAX_PKT_BURST * 2]; +    int32_t pkt_hop = 0;   uint16_t i, offset; +    uint16

Re: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: fix usage of incorrect port

2017-11-24 Thread Anoob
Hi Akhil, Please see inline. Thanks, Anoob On 11/24/2017 02:58 PM, Akhil Goyal wrote: Hi Anoob, On 11/15/2017 3:11 PM, Anoob Joseph wrote: When security offload is enabled, the packet should be forwarded on the port configured in the SA. Security session will be configured on that port onl

Re: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: fix usage of incorrect port

2017-11-24 Thread Akhil Goyal
Hi Anoob, On 11/15/2017 3:11 PM, Anoob Joseph wrote: When security offload is enabled, the packet should be forwarded on the port configured in the SA. Security session will be configured on that port only, and sending the packet on other ports could result in unencrypted packets being sent out.

[dpdk-dev] [PATCH v3] examples/ipsec-secgw: fix usage of incorrect port

2017-11-15 Thread Anoob Joseph
When security offload is enabled, the packet should be forwarded on the port configured in the SA. Security session will be configured on that port only, and sending the packet on other ports could result in unencrypted packets being sent out. This would have performance improvements too, as the p