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

Zhang, Helin helin.zhang at intel.com
Sun Sep 6 03:33:29 CEST 2015



> -----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 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 <david.marchand at 6wind.com>
Acked-by: Helin Zhang <helin.zhang at intel.com>


More information about the dev mailing list