diff options
author | Thomas F Herbert <therbert@redhat.com> | 2016-06-23 04:01:17 -0400 |
---|---|---|
committer | Thomas F Herbert <therbert@redhat.com> | 2016-06-30 11:39:30 -0400 |
commit | 6f971f00a354bd68af0ca6b55ab00c5d1c1dfa0f (patch) | |
tree | 5560f802eaf423cd82c9ce54d4fc808f65859fa7 /build/patches/spec_file_add_virtio_patch.patch | |
parent | 1fe93bf666765927d9ed15ead14db85caf51098c (diff) |
RPM: Apex: Backport patch to dpdk to fix PCI walk to fix segfault to
ovs-vswitch. Rebased to latest.
Change-Id: Ic7788c4a479378866eda95473bd0c0d398dc33fd
Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'build/patches/spec_file_add_virtio_patch.patch')
-rw-r--r-- | build/patches/spec_file_add_virtio_patch.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/build/patches/spec_file_add_virtio_patch.patch b/build/patches/spec_file_add_virtio_patch.patch new file mode 100644 index 0000000..65465f1 --- /dev/null +++ b/build/patches/spec_file_add_virtio_patch.patch @@ -0,0 +1,22 @@ +diff --git a/dpdk.spec b/dpdk.spec +index 2ee5bdd..af2dede 100644 +--- a/dpdk.spec ++++ b/dpdk.spec +@@ -24,6 +24,9 @@ Source100: dpdk-snapshot.sh + + # Some tweaking and tuning needed due to Fedora %%optflags + Patch2: dpdk-2.2-warningflags.patch ++# Before checking if the virtio device is whitelisted, check if devargs ++# is specified. ++Patch4: dpdk-16.04-virtio-devargs.patch + + Summary: Set of libraries and drivers for fast packet processing + +@@ -106,6 +109,7 @@ as L2 and L3 forwarding. + %prep + %setup -q -n %{name}-%{srcver} + %patch2 -p1 -z .warningflags ++%patch4 -p1 -z .virtiofix + + %build + function setconf() |