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.
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.
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.
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.
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>
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>
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>
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>