Re: [dpdk-dev] [PATCH v3 3/3] efd: run-time dispatch over x86 EFD functions

2017-10-02 Thread Ananyev, Konstantin
> > > > > This patch dynamically selects x86 EFD functions at run-time. > > I don't think it really does. > In fact, I am not sure that we need to touch EFD at all here - > from what I can see, it already does dynamic selection properly. Actually I was wrong here - in some cases it doesn't work

Re: [dpdk-dev] [PATCH v3 3/3] efd: run-time dispatch over x86 EFD functions

2017-10-01 Thread Li, Xiaoyun
OK. Won't touch it in next version. Best Regards, Xiaoyun Li > -Original Message- > From: Ananyev, Konstantin > Sent: Monday, October 2, 2017 08:08 > To: Li, Xiaoyun ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin > ; dev@dpdk.org > Subject: RE: [PATCH v3 3/3] efd: run-time disp

Re: [dpdk-dev] [PATCH v3 3/3] efd: run-time dispatch over x86 EFD functions

2017-10-01 Thread Ananyev, Konstantin
> > This patch dynamically selects x86 EFD functions at run-time. I don't think it really does. In fact, I am not sure that we need to touch EFD at all here - from what I can see, it already does dynamic selection properly. Konstantin > This patch uses function pointer and binds it to the rel

[dpdk-dev] [PATCH v3 3/3] efd: run-time dispatch over x86 EFD functions

2017-09-26 Thread Xiaoyun Li
This patch dynamically selects x86 EFD functions at run-time. This patch uses function pointer and binds it to the relative function based on CPU flags at constructor time. Signed-off-by: Xiaoyun Li --- lib/librte_efd/rte_efd_x86.h | 41 ++--- 1 file changed,