Commit Graph

76 Commits

Author SHA1 Message Date
Neil Horman
0a1db0d33b Resolves bz 1548404 2018-02-27 16:03:58 -05:00
Neil Horman
c859593f94 Resolves bz 1548404 2018-02-27 15:25:53 -05:00
Neil Horman
ad4ae46109 Resolves bz 1548404 2018-02-27 15:25:30 -05:00
Neil Horman
58b352af2d Resolves: bz 1545455 2018-02-26 14:00:08 -05:00
Timothy Redaelli
19a0d9337f Add BuildRequires: gcc
This is needed since GCC will be removed from BuildRoot
https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-02-19 10:37:24 +01:00
Fedora Release Engineering
4841ee82aa - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 07:15:11 +00:00
Iryna Shcherbina
da35c896c2 Update Python 2 dependency declarations to new packaging standards 2018-01-03 12:41:46 +01:00
Neil Horman
9c7cd86c54 Resolves: bz1519322
Resolves: bz1519332
Resolves: bz1519336
2017-11-30 12:37:28 -05:00
Neil Horman
fa7000a8ad Update to latest upstream 2017-11-16 16:30:19 -05:00
Neil Horman
c560cd8ef3 dpdk: update to 17.08 (bz 1479601) 2017-08-10 14:14:13 -04:00
Neil Horman
1f0725d632 Resolves: bz 1476341 2017-07-31 11:47:20 -04:00
Fedora Release Engineering
c52b4798d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 06:31:14 +00:00
Neil Horman
9890c7a8d0 Resolves: bz 1450021 2017-05-15 15:21:20 -04:00
Neil Horman
8816b75a33 Resolves: bz 1426561 2017-02-24 13:40:34 -05:00
Neil Horman
8af87f94d1 Resolves: bz 142285 2017-02-22 10:17:56 -05:00
Neil Horman
45f496a7f3 REsolves: bz 1419731 2017-02-07 12:17:21 -05:00
Neil Horman
37160b0165 Resolves: bz 1419731 2017-02-07 12:16:41 -05:00
Neil Horman
6f454a7d2d Resolves: Bz 1394589 2016-11-15 15:05:06 -05:00
Neil Horman
50e63f751e resolves: bz 1361451 2016-08-02 15:05:13 -04:00
Panu Matilainen
e17ab00173 - Update to 16.04
- Drop all patches, they're not needed anymore
- Drop linker script generation, its upstream now
- Enable vhost numa support again
2016-04-14 11:57:55 +03:00
Panu Matilainen
4047cbae56 Generalize target/machine/etc macros to enable i686 builds 2016-03-16 11:42:54 +02:00
Panu Matilainen
1ceb8c515f vhost numa code causes crashes, disable until upstream fixes 2016-03-16 11:42:44 +02:00
Panu Matilainen
07453da715 Disable unmaintained librte_power as per upstream recommendation 2016-03-01 15:55:23 +02:00
Panu Matilainen
1382547ee6 Eliminate the need for the enic patch by eliminating second -Wall from CFLAGS 2016-03-01 15:53:34 +02:00
Panu Matilainen
e0841ab3ef Drop no longer needed -Wno-error=array-bounds from CFLAGS 2016-03-01 15:43:29 +02:00
Panu Matilainen
847f834b03 Drop no longer needed bnx2x patch, the gcc false positive has been fixed 2016-03-01 15:11:21 +02:00
Neil Horman
587202f673 Resolves: bz 1307431 2016-02-16 11:52:18 -05:00
Dennis Gilmore
cbae95aa4c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 18:58:08 +00:00
Panu Matilainen
4cc0992520 Quoting fixes in the spec
- Use a different quoting method to avoid messing up vim syntax highlighting
- CONFIG_RTE_MACHINE value needs to be quoted too
2016-01-26 14:45:14 +02:00
Panu Matilainen
251f084df4 Enable librte_vhost NUMA-awareness
Note that CONFIG_RTE_LIBRTE_VHOST is enabled by default in DPDK
since 2.1 so we can "reuse" the redundant line for enabling
CONFIG_RTE_LIBRTE_VHOST_NUMA instead, but that makes the commit
seem slightly strange.
2016-01-25 18:07:12 +02:00
Panu Matilainen
7c36913a2c Adopt upstream standard installation layout now that there is one.
Now that upstream has a sane "make install" target, lets use it.
The layout (inevitably) differs a fair bit from what we had but
better switch now than live with our own invention forevermore.
2016-01-20 16:43:58 +02:00
Panu Matilainen
01bbd4d155 Define & use a macro for includedir location throughout the spec
No layout changes here, just to make next step simpler.
2016-01-20 16:43:27 +02:00
Panu Matilainen
457cb5d962 Make option matching stricter in spec setconf
Previously commented-out and/or similar entries could mistakenly
match the grep (but fail the sed-part). Doesn't affect current
config so its just future-proofing.
2016-01-20 16:43:13 +02:00
Panu Matilainen
15b653debe Establish a driver directory for automatic driver loading.
Configure %{_libdir}/dpdk-pmds as the default driver directory,
from which all pmds will be automatically loaded, no more manually
messing with -d, yay. Add symlinks for all the pmds, and move the
unversioned pmd symlinks to -devel where they belong.
2016-01-20 16:43:05 +02:00
Panu Matilainen
02e4a4c017 Update to dpdk 2.2.0 2016-01-20 16:42:01 +02:00
Aaron Conole
171be5b8cc dpdk.spec: Build an examples SDK package
Include examples to be built with the SDK, and ratchet the version
forward. IMPORTANT: this commit disables the vm_power_manager example
since that particular example requires in-tree builds, which is not
possible. Also disabled is the ip_pipeline build, since it depends on
sse4 intrinsics.

Signed-off-by: Aaron Conole <aconole@redhat.com>
2015-11-13 17:29:18 -05:00
Panu Matilainen
76d6fa84dd dpdk.spec: PMD builds: Enable the bnx2x build
This commit enables building the Broadcom NetXtreme II poll mode
driver.

Signed-off-by: Aaron Conole <aconole@redhat.com>
2015-11-13 17:29:18 -05:00
Aaron Conole
8f01de6aa6 dpdk.spec: linkage and file overlap
The dpdk-tools and dpdk packages copy the same files into %{_bindir}, which
should be avoided. To fix this, setup an exclude.

Additionally, there's an odd requirement imposed by using dpdk because of
libraries not being linked in properly against the shared objects generated.
To fix this, introduce the dt-needed patch. A version of this has been
accepted upstream for some PMDs, but we will do this for all.

Signed-off-by: Aaron Conole <aconole@redhat.com>
2015-11-13 17:29:13 -05:00
Aaron Conole
4c2d5be950 dpdk.spec: dpdk: bundle tools separately
There is currently a bug where -tools and the main package include the
same dpdk tools, which were meant to be separate packages. Remove the
overlap.

Signed-off-by: Aaron Conole <aconole@redhat.com>
2015-10-27 10:43:04 -04:00
Aaron Conole
adda67cfae dpdk.spec: Add a changelog entry and bump minor to 2
The last commit in the series.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
2015-10-02 13:52:24 -04:00
Aaron Conole
735beec75d dpdk.spec: Rename the combined library from libintel_dpdk to libdpdk
This brings the combined library linker script inline with the upstream
definition of the combined library name in DPDK 2.1.0 release.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
2015-10-02 13:43:41 -04:00
Aaron Conole
549fcba8af dpdk-config: Remove the config patch file, and rewrite the config file
post `make config'

The config file patch is a bit cumbersome to maintain. Any time the
config files change, it will be required to regenerate this patch
against the new sets of files. Additionally, it is difficult to build
modular enable/disables for these configs down the line.

With this set, create a block for PMD enable/disable. RHEL wants this
enabled, for sure.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
2015-10-02 13:42:43 -04:00
Aaron Conole
b6c6c73d13 dpdk.spec: Move the sdk libraries into the system library directory
Ensure that the DPDK libraries, including the combined library, are
found at the system library path.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
2015-10-02 13:42:15 -04:00
Aaron Conole
4a192f9082 dpdk.spec: Allow builds to have the lightweight api-guide as well as the full pdf build
The PDF guides drag a large amount of build requirements with them, and
because of the reliance on the DejaVu texlive package, will not build on
RHEL7. To keep the option of the PDF guide for Fedora, while allowing
RH to build, make this a tunable which Fedora can default 'on'.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
2015-10-02 13:39:26 -04:00
Panu Matilainen
a0dcad0075 dpdk.spec: Make lib and include available both ways in the SDK paths
This is for consistency's sake.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: NeilHorman <nhorman@redhat.com>
2015-10-02 13:37:57 -04:00
Aaron Conole
7c47af9e00 dpdk.spec: Remove the combined build option
The desired end effect of build is to have a combined library, and it will
not be going away. The upstream combined library is considered bloatware
which creates issues when library versions start moving, so force the
issue by using linker script instead.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
2015-10-02 13:37:27 -04:00
Aaron Conole
f961f12771 dpdk.spec: Include the scripts directory.
Some makefiles refer to the scripts in the directory, and eg
pktgen make fails without the script foo. To allow these builds
to succeed, include the scripts directory

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
2015-10-02 13:22:54 -04:00
Aaron Conole
24952bd83d dpdk.spec: Do not honor environmental IDs for RTE_SDK, etc.
As part of the dpdk solution, we include an extensible profile option
which automatically configures the dpdk 'RTE' environment
variables. However, these will create build issues if we attempt to
build packages on a machine which has these packages installed. To
combat this, we undefine these variables in the build environment.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
2015-10-02 13:22:35 -04:00
Aaron Conole
a199da43d0 dpdk.spec: Package the dpdk tools into the -tools package
Currently, dpdk ships with cpu_layout.py and dpdk_bind_tools.py to
assist with common workflow. Create a tools package which can encompass
these items.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
2015-10-02 13:22:09 -04:00
Aaron Conole
f8c235c907 dpdk.spec: Do not avoid array-bounds warning by patching the sources
By changing the array size to work around a spurious warning from gcc,
we run the risk of breaking future code which may rely on the array's
size (using, ex: sizeof). Since this array-bounds failure is the product
of gcc-5.x, and not actually an error here, it can safely be ignored.

We need to keep the -Wformat warning, however, because that will trigger
build errors in some of the PMD builds.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
2015-10-02 13:09:31 -04:00