[dpdk-dev] [PATCH] i40e: fix base driver allocation when on numa != 0

2015-09-09 Thread Thomas Monjalon
> > Seen by code review. > > > > If dpdk is run with memory only available on socket 0, then i40e pmd > > refuses to > > initialize ports as this pmd requires some memory on socket 0. > > Fix this by setting socket to SOCKET_ID_ANY, so that allocations happen on > > the > > caller socket. > > >

[dpdk-dev] [PATCH] i40e: fix base driver allocation when on numa != 0

2015-09-06 Thread Zhang, Helin
> -Original Message- > From: David Marchand [mailto:david.marchand at 6wind.com] > Sent: Thursday, September 3, 2015 9:24 PM > To: dev at dpdk.org > Cc: Zhang, Helin > Subject: [PATCH] i40e: fix base driver allocation when on numa != 0 > > Seen by code review. > > If dpdk is run with me

[dpdk-dev] [PATCH] i40e: fix base driver allocation when on numa != 0

2015-09-03 Thread David Marchand
Seen by code review. If dpdk is run with memory only available on socket 0, then i40e pmd refuses to initialize ports as this pmd requires some memory on socket 0. Fix this by setting socket to SOCKET_ID_ANY, so that allocations happen on the caller socket. Signed-off-by: David Marchand --- dri