RPM: Apex: Backport patch to dpdk to fix PCI walk to fix segfault to
[ovsnfv.git] / build / patches / spec_file_add_virtio_patch.patch
1 diff --git a/dpdk.spec b/dpdk.spec
2 index 2ee5bdd..af2dede 100644
3 --- a/dpdk.spec
4 +++ b/dpdk.spec
5 @@ -24,6 +24,9 @@ Source100: dpdk-snapshot.sh
6  
7  # Some tweaking and tuning needed due to Fedora %%optflags
8  Patch2: dpdk-2.2-warningflags.patch
9 +# Before checking if the virtio device is whitelisted, check if devargs
10 +# is specified.
11 +Patch4: dpdk-16.04-virtio-devargs.patch
12  
13  Summary: Set of libraries and drivers for fast packet processing
14  
15 @@ -106,6 +109,7 @@ as L2 and L3 forwarding.
16  %prep
17  %setup -q -n %{name}-%{srcver}
18  %patch2 -p1 -z .warningflags
19 +%patch4 -p1 -z .virtiofix
20  
21  %build
22  function setconf()