[dpdk-dev] [PATCH v3 08/20] vhost: introduce new API to export numa node

2016-06-13 Thread Yuanhan Liu
On Thu, Jun 09, 2016 at 12:45:00PM +0800, Yuanhan Liu wrote: > On Wed, Jun 08, 2016 at 02:51:33PM -0700, Rich Lane wrote: > > On Mon, Jun 6, 2016 at 8:51 PM, Yuanhan Liu > > wrote: > > > > @@ -248,14 +248,9 @@ new_device(struct virtio_net *dev) > > ? ? ? ? internal =

[dpdk-dev] [PATCH v3 08/20] vhost: introduce new API to export numa node

2016-06-09 Thread Yuanhan Liu
On Wed, Jun 08, 2016 at 02:51:33PM -0700, Rich Lane wrote: > On Mon, Jun 6, 2016 at 8:51 PM, Yuanhan Liu > wrote: > > @@ -248,14 +248,9 @@ new_device(struct virtio_net *dev) > ? ? ? ? internal = eth_dev->data->dev_private; > > ?#ifdef RTE_LIBRTE_VHOST_NUMA > -? ? ? ?ret? =

[dpdk-dev] [PATCH v3 08/20] vhost: introduce new API to export numa node

2016-06-08 Thread Rich Lane
On Mon, Jun 6, 2016 at 8:51 PM, Yuanhan Liu wrote: > > @@ -248,14 +248,9 @@ new_device(struct virtio_net *dev) > internal = eth_dev->data->dev_private; > > #ifdef RTE_LIBRTE_VHOST_NUMA > - ret = get_mempolicy(, NULL, 0, dev, > - MPOL_F_NODE | MPOL_F_ADDR); >

[dpdk-dev] [PATCH v3 08/20] vhost: introduce new API to export numa node

2016-06-07 Thread Yuanhan Liu
On Tue, Jun 07, 2016 at 02:42:58PM +0300, Panu Matilainen wrote: > On 06/07/2016 06:51 AM, Yuanhan Liu wrote: > >Introduce a new API rte_vhost_get_numa_node() to get the numa node > >from which the virtio_net struct is allocated. > > > >Signed-off-by: Yuanhan Liu > >Tested-by: Rich Lane >

[dpdk-dev] [PATCH v3 08/20] vhost: introduce new API to export numa node

2016-06-07 Thread Panu Matilainen
On 06/07/2016 06:51 AM, Yuanhan Liu wrote: > Introduce a new API rte_vhost_get_numa_node() to get the numa node > from which the virtio_net struct is allocated. > > Signed-off-by: Yuanhan Liu > Tested-by: Rich Lane > Acked-by: Rich Lane > --- > drivers/net/vhost/rte_eth_vhost.c | 13

[dpdk-dev] [PATCH v3 08/20] vhost: introduce new API to export numa node

2016-06-07 Thread Yuanhan Liu
Introduce a new API rte_vhost_get_numa_node() to get the numa node from which the virtio_net struct is allocated. Signed-off-by: Yuanhan Liu Tested-by: Rich Lane Acked-by: Rich Lane --- drivers/net/vhost/rte_eth_vhost.c | 13 - lib/librte_vhost/rte_vhost_version.map | 7