Re: [dpdk-dev] [PATCH v6 1/8] cryptodev: introduce cpu crypto support API

2020-02-05 Thread Thomas Monjalon
04/02/2020 14:12, Marcin Smoczynski: > +/** > + * Converts portion of mbuf data into a vector representation. > + * Each segment will be represented as a separate entry in *vec* array. > + * Expects that provided *ofs* + *len* not to exceed mbuf's *pkt_len*. > + * @param mbuf > + * Pointer to the

Re: [dpdk-dev] [PATCH v6 1/8] cryptodev: introduce cpu crypto support API

2020-02-05 Thread Akhil Goyal
> > Add new API allowing to process crypto operations in a synchronous > manner. Operations are performed on a set of SG arrays. > > Cryptodevs which allows CPU crypto operation mode have to > use RTE_CRYPTODEV_FF_SYM_CPU_CRYPTO capability. > > Add a helper method to easily convert mbufs to a SG

[dpdk-dev] [PATCH v6 1/8] cryptodev: introduce cpu crypto support API

2020-02-04 Thread Marcin Smoczynski
Add new API allowing to process crypto operations in a synchronous manner. Operations are performed on a set of SG arrays. Cryptodevs which allows CPU crypto operation mode have to use RTE_CRYPTODEV_FF_SYM_CPU_CRYPTO capability. Add a helper method to easily convert mbufs to a SGL form. Signed-o