Re: [dpdk-dev] [PATCH] net/ipn3ke: use ctrl thread to check link status

2020-03-19 Thread Xu, Rosen
Thanks. > -Original Message- > From: Ye, Xiaolong > Sent: Thursday, March 19, 2020 21:43 > To: Pei, Andy > Cc: dev@dpdk.org; Xu, Rosen ; sta...@dpdk.org; > david.march...@redhat.com; Yigit, Ferruh > Subject: Re: [PATCH] net/ipn3ke: use ctrl thread to check link status > > On 03/16, And

Re: [dpdk-dev] [PATCH] net/ipn3ke: use ctrl thread to check link status

2020-03-19 Thread Ye Xiaolong
On 03/16, Andy Pei wrote: >ipn3ke driver creates a thread to check link status. > >before this patch, pthread_create() is used to create >thread, leaving the new thread unrestrained wrt cpu >affinity. > >After this patch, rte_ctrl_thread_create() is used to >create thread. The affinity of the new t

Re: [dpdk-dev] [PATCH] net/ipn3ke: use ctrl thread to check link status

2020-03-18 Thread Xu, Rosen
Hi, > -Original Message- > From: Pei, Andy > Sent: Monday, March 16, 2020 14:07 > To: dev@dpdk.org > Cc: Pei, Andy ; Xu, Rosen ; > sta...@dpdk.org; david.march...@redhat.com; Ye, Xiaolong > ; Yigit, Ferruh > Subject: [PATCH] net/ipn3ke: use ctrl thread to check link status > > ipn3ke dr

[dpdk-dev] [PATCH] net/ipn3ke: use ctrl thread to check link status

2020-03-15 Thread Andy Pei
ipn3ke driver creates a thread to check link status. before this patch, pthread_create() is used to create thread, leaving the new thread unrestrained wrt cpu affinity. After this patch, rte_ctrl_thread_create() is used to create thread. The affinity of the new thread is based on the CPU affinity