>-----Original Message-----
>From: De Lara Guarch, Pablo <[email protected]>
>Sent: 24 July 2018 03:29
>To: Verma, Shally <[email protected]>
>Cc: [email protected]; Athreya, Narayana Prasad
><[email protected]>; Challa, Mahipal
><[email protected]>; Gupta, Ashish <[email protected]>; Sahu,
>Sunila <[email protected]>
>Subject: RE: [PATCH v4 1/5] compress/zlib: add ZLIB PMD
>
...
>
>> +++ b/drivers/compress/zlib/zlib_pmd.c
>
>...
>
>> +static int
>> +zlib_probe(struct rte_vdev_device *vdev) {
>> + struct rte_compressdev_pmd_init_params init_params = {
>> + "",
>> + rte_socket_id()
>> + };
>> + const char *name;
>> + const char *input_args;
>> +
>> + name = rte_vdev_device_name(vdev);
>> +
>> + if (name == NULL)
>> + return -EINVAL;
>> + input_args = rte_vdev_device_args(vdev);
>> + rte_compressdev_pmd_parse_input_args(&init_params, input_args);
>
>Need to check the return value of this function.
Ack.
Thanks
Shally