[dpdk-dev] [PATCH] fm10k: support XEN domain0

Stephen Hemminger stephen at networkplumber.org
Sat May 16 01:57:33 CEST 2015


On Fri, 15 May 2015 16:56:02 +0800
Shaopeng He <shaopeng.he at intel.com> wrote:

> fm10k was failing to run in XEN domain0, as the physical
> memory for DMA should be allocated and translated
> in a different way for XEN domain0. So
> rte_memzone_reserve_bounded() should be used for DMA
> memory allocation, and rte_mem_phy2mch() should be used
> for DMA memory address translation to support running
> fm10k PMD in XEN domain0.
> 
> Signed-off-by: Shaopeng He <shaopeng.he at intel.com>

I agree with Thomas that this code has spread everywhere and should
be in a common spot.

Also, we discovered as part of the Xen net-front driver that it
should be a runtime determination, not a config option!


More information about the dev mailing list