If we fail to set the priority, we should return the err code
and not return 0.
> On Jun 23, 2017, at 4:51 AM, Bhanuprakash Bodireddy
> wrote:
>
> Increase the DPDK pmd thread scheduling priority by lowering the nice
> value. This will advise the kernel
Acked-by: Billy O'Mahony
> -Original Message-
> From: Bodireddy, Bhanuprakash
> Sent: Thursday, June 22, 2017 9:51 PM
> To: d...@openvswitch.org
> Cc: O Mahony, Billy ; Bodireddy, Bhanuprakash
>
>
Increase the DPDK pmd thread scheduling priority by lowering the nice
value. This will advise the kernel scheduler to prioritize pmd thread
over other processes and will help PMD to provide deterministic
performance in out-of-the-box deployments.
This patch sets the nice value of PMD threads to