Hi Bala,

*If your requirement is to support in-place crypto processing you can
specify the output packet*
*as same as input packet (i.e out_pkt = pkt).*

My requirement is to support out of place, so out_pkt = ODP_PACKET_INVALID?

On Thu, 16 Mar 2017 at 14:01 Bala Manoharan <[email protected]>
wrote:

>
> On 15 March 2017 at 18:42, Nanda Gopal <[email protected]> wrote:
>
> *Hi,*
>
>
>
> *When we pass, odp_crypto_op_params_t    params  to  odp_crypto_operation
>
>
> (), as per the documentation, if we set params-> out_pkt to INVALID, a new
> pkt would be created from the original pkt pool, data copied from original
>
> pkt and then passed on to DPDK. *
>
> *In our test case, we are passing a chained buffer to this crypto API, so
>
>
> in order for send the same buffer to lower layer without a copy, are there
>
> any flags to be set? *
>
>
> If your requirement is to support in-place crypto processing you can
> specify the output packet
> as same as input packet (i.e out_pkt = pkt).
>
> Regards,
> Bala
>
>
>
> *Regards,*
>
> *Nanda*
>
>
>

Reply via email to