>-----Original Message-----
>From: De Lara Guarch, Pablo [mailto:[email protected]]
>Sent: 14 July 2018 03:55
>To: Verma, Shally <[email protected]>
>Cc: [email protected]; Athreya, Narayana Prasad
><[email protected]>; Challa, Mahipal
><[email protected]>; Gupta, Ashish <[email protected]>; Gupta,
>Ashish <[email protected]>; Sahu,
>Sunila <[email protected]>
>Subject: RE: [PATCH v2 3/6] compress/octeontx: add xform and stream create
>support
>
>External Email
>
>> -----Original Message-----
>> From: Shally Verma [mailto:[email protected]]
>> Sent: Monday, July 2, 2018 5:55 PM
>> To: De Lara Guarch, Pablo <[email protected]>
>> Cc: [email protected]; [email protected];
>> [email protected]; Ashish Gupta
>> <[email protected]>; Ashish Gupta
>> <[email protected]>; Sunila Sahu
>> <[email protected]>
>> Subject: [PATCH v2 3/6] compress/octeontx: add xform and stream create
>> support
>>
>> From: Ashish Gupta <[email protected]>
>>
>> implement private xform and stream create ops
>>
>> Signed-off-by: Ashish Gupta <[email protected]>
>> Signed-off-by: Shally Verma <[email protected]>
>> Signed-off-by: Sunila Sahu <[email protected]>
>> ---
>
>...
>
>>
>> +static int
>> +zip_pmd_stream_create(struct rte_compressdev *dev,
>> + const struct rte_comp_xform *xform, void **stream) {
>
>Do you support stateful ops? If you don't, this should not be implemented, I
>think (or should return -ENOTSUP).
For us non-shareable priv_xform are equivalent to stream, so priv_xform_create
falls back to stream_create . However, I see your point so to reflect stateful
not supported, we will set stream_create function pointer = NULL in pmd_ops.
Thanks
Shally