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

2017-10-03 Thread Li, Xiaoyun
OK. > -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, October 3, 2017 19:23 > To: Li, Xiaoyun ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin > ; dev@dpdk.org > Subject: RE: [PATCH v4 3/3] efd: run-time dispatch over x86 EFD functions > > > > > -Original Mess

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

2017-10-03 Thread Ananyev, Konstantin
> -Original Message- > From: Li, Xiaoyun > Sent: Tuesday, October 3, 2017 9:15 AM > To: Ananyev, Konstantin ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin ; > dev@dpdk.org > Subject: RE: [PATCH v4 3/3] efd: run-time dispatch over x86 EFD functions > > Hi > > > -Original M

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

2017-10-03 Thread Li, Xiaoyun
Hi > -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, October 3, 2017 00:52 > To: Li, Xiaoyun ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin > ; dev@dpdk.org > Subject: RE: [PATCH v4 3/3] efd: run-time dispatch over x86 EFD functions > > > > > -Original Messa

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

2017-10-02 Thread Ananyev, Konstantin
> -Original Message- > From: Li, Xiaoyun > Sent: Monday, October 2, 2017 5:13 PM > To: Ananyev, Konstantin ; Richardson, Bruce > > Cc: Lu, Wenzhuo ; Zhang, Helin ; > dev@dpdk.org; Li, Xiaoyun > Subject: [PATCH v4 3/3] efd: run-time dispatch over x86 EFD functions > > This patch dynam

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

2017-10-02 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,