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

2016-09-16 Thread Thomas Monjalon
2016-09-02 17:53, Bruce Richardson: > On Thu, Sep 01, 2016 at 01:31:47AM +, Jianfeng Tan wrote: It would help the discussion to have a problem statement here. > > This patch uses pthread_getaffinity_np() to narrow down detected > > cores before parsing coremask (-c), corelist (-l), and corema

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

2016-09-16 Thread Thomas Monjalon
2016-09-01 01:31, 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 con

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

2016-09-02 Thread Bruce Richardson
On Thu, Sep 01, 2016 at 01:31:47AM +, 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 appli

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

2016-09-01 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