On Mon, 29 Mar 2021 15:40:32 -0700
Narcisa Ana Maria Vasile <navas...@linux.microsoft.com> wrote:

> +
> +int
> +rte_thread_attr_set_priority(rte_thread_attr_t *thread_attr,
> +                          enum rte_thread_priority priority)
> +{
> +     if (thread_attr == NULL) {
> +             RTE_LOG(DEBUG, EAL,
> +                     "Unable to set priority attribute, invalid 
> parameter\n");
> +             return EINVAL;
> +     }
> +
> +     thread_attr->priority = priority;
> +     return 0;
> +}

For Linux, shouldn't this be ENOTSUPP since not supported.

Reply via email to