From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 5CFCC5ACD for ; Fri, 23 Jan 2015 06:35:46 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 22 Jan 2015 21:29:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,453,1418112000"; d="scan'208";a="655292209" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga001.fm.intel.com with ESMTP; 22 Jan 2015 21:35:42 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t0N5ZgZC003539 for ; Fri, 23 Jan 2015 13:35:42 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t0N5Ze8U021995 for ; Fri, 23 Jan 2015 13:35:42 +0800 Received: (from jijiangl@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t0N5Ze5V021991 for dev@dpdk.org; Fri, 23 Jan 2015 13:35:40 +0800 From: Jijiang Liu To: dev@dpdk.org Date: Fri, 23 Jan 2015 13:35:37 +0800 Message-Id: <1421991340-21960-1-git-send-email-jijiang.liu@intel.com> X-Mailer: git-send-email 1.7.12.2 Subject: [dpdk-dev] [PATCH 0/3] dpdk/xen:support DPDK running on Xen Dom0 of SUSE Linux X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2015 05:35:46 -0000 Because SUSE linux kernel doesn't not fully follow Linux kernel in main branch, there are some diffirences between them, and DPDK can't run on Xen Dom0 of SUSE Linux. Recently, some customers want us to support this, so we provide this patch set for it. Now this patch set V1 is not compatible with Linux kernel in main branch, this purpose of sending the patch set is to help those customers who have an urgent need;we probably cooperate with SUSE to eliminate the gap in the future. The patch set was validated with the following SW version: SUSE 11 SP3 (Linux Kernel: 3.0.76-0.11-xen) Hypervisor: XEN 4.2 GCC: gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) DPDK: 1.8 In addition, users have to a small change in the source codes in SUSE 11 SP3 Linux kernel for this patch set: comment the 'CONFIG_XEN' define out in ./include/linux/msi.h, or esle there will be some compilation errors. //#ifndef CONFIG_XEN struct msi_msg { u32 address_lo; /* low 32 bits of msi message address */ u32 address_hi; /* high 32 bits of msi message address */ u32 data; /* 16 bits of msi message data */ }; ... //#else /* CONFIG_XEN */ //struct pci_dev; //struct msi_desc; //#endif /* CONFIG_XEN */ Jijiang Liu (3): fix compilation issue Dom0 driver change igb_uio driver change app/test/test.h | 2 +- config/common_linuxapp | 2 +- lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 8 +++----- lib/librte_eal/linuxapp/xen_dom0/dom0_mm_misc.c | 10 ++++++---- 4 files changed, 11 insertions(+), 11 deletions(-) -- 1.7.7.6