[ovs-dev] [PATCH 9/9] netdev-dpdk: Use multiple core for dpdk IO.

Pravin Shelar pshelar at nicira.com
Wed Mar 19 22:01:09 UTC 2014


On Wed, Mar 19, 2014 at 12:32 PM, Ben Pfaff <blp at nicira.com> wrote:
> On Tue, Mar 18, 2014 at 01:54:09PM -0700, Pravin wrote:
>> DPDK need to set _lcore_id for using multiple core.
>>
>> Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
>
> In xpthread_setaffinity_np_cpu(), I think that the whole function is
> Linux-specific, so that the implementation should be enclosed in
> #ifdef __linux__.  I'd also encourage you to add a comment explaining
> what it does to make it easier to provide an implementation on other
> OSes.

For now I will move this API to dpif-netdev. I do not see it getting
used in other parts of vswitchd in near future.



More information about the dev mailing list