DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jijiang Liu <jijiang.liu@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 0/3] dpdk/xen:support DPDK running on Xen Dom0 of SUSE Linux
Date: Fri, 23 Jan 2015 13:35:37 +0800	[thread overview]
Message-ID: <1421991340-21960-1-git-send-email-jijiang.liu@intel.com> (raw)

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

             reply	other threads:[~2015-01-23  5:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23  5:35 Jijiang Liu [this message]
2015-01-23  5:35 ` [dpdk-dev] [PATCH 1/3] compilation:fix compilation issues of using gcc-4.3.4 Jijiang Liu
2015-01-23  5:35 ` [dpdk-dev] [PATCH 2/3] lib/xen:DPDK dom0 Driver change Jijiang Liu
2015-01-23  5:35 ` [dpdk-dev] [PATCH 3/3] lib/eal:igb_uio driver change Jijiang Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1421991340-21960-1-git-send-email-jijiang.liu@intel.com \
    --to=jijiang.liu@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).