[dpdk-dev] [PATCH v2] eal: restrict cores detection

2016-09-01 Thread Tan, Jianfeng
t; Subject: Re: [dpdk-dev] [PATCH v2] eal: restrict cores detection > > On Wed, 31 Aug 2016 03:07:10 + > Jianfeng Tan wrote: > > > This patch uses pthread_getaffinity_np() to narrow down detected > > cores before parsing coremask (-c), corelist (-l), and coremap >

[dpdk-dev] [PATCH v2] eal: restrict cores detection

2016-08-31 Thread Stephen Hemminger
On Wed, 31 Aug 2016 03:07:10 + Jianfeng Tan wrote: > This patch uses pthread_getaffinity_np() to narrow down detected > cores before parsing coremask (-c), corelist (-l), and coremap > (--lcores). > > The purpose of this patch is to leave out these core related options > when DPDK applicatio

[dpdk-dev] [PATCH v2] eal: restrict cores detection

2016-08-31 Thread Jianfeng Tan
This patch uses pthread_getaffinity_np() to narrow down detected cores before parsing coremask (-c), corelist (-l), and coremap (--lcores). The purpose of this patch is to leave out these core related options when DPDK applications are deployed under container env, so that users only specify core