Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I87b3361f11a59e8deed04ba93b536e5cc9e3486c
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
The mempool API as linked and becoming a dependency only is the frontent
API/ABI for the mempool. Just as with the PMDs it needs an
implementation in the default driver directory to work.
While testing OVS-DPDK I found that when adding a dpdk based port
allocations fail:
sudo ovs-vsctl set Open_vSwitch . other_config:dpdk-init=true
sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x1e
sudo ovs-vsctl set Open_vSwitch . other_config:dpdk-alloc-mem=2048
sudo systemctl restart openvswitch-switch
sudo ovs-vsctl add-port ovsdpdkbr0 dpdk0 -- set Interface dpdk0 \
type=dpdk options:dpdk-devargs=0000:04:00.0
ovs-vsctl: Error detected while setting up 'dpdk0': could not add network
device dpdk0 to ofproto (No such device). See ovs-vswitchd log for details.
ovs-vsctl: The default log directory is "/var/log/openvswitch".
And in the log I found:
2019-01-30T07:23:55.917Z|00098|dpdk|ERR|MBUF: error setting mempool handler
2019-01-30T07:23:55.917Z|00099|netdev_dpdk|ERR|Failed to create mempool
"ovs62a2ca2f00021580262144" with a request of 262144 mbufs
2019-01-30T07:23:55.917Z|00100|netdev_dpdk|ERR|Failed to create memory pool
for netdev dpdk0, with MTU 1500 on socket 0: Invalid argument
2019-01-30T07:23:55.917Z|00101|dpif_netdev|ERR|Failed to set interface dpdk0
new configuration
Installing one of the actual mempool implementations fixed the issue.
This is similar to this discussion:
http://mails.dpdk.org/archives/users/2017-June/002032.html
Since per upstream documentation
https://doc.dpdk.org/guides/prog_guide/mempool_lib.html
the default mempool implementation is the ring based one we should add
librte-mempool-ring to the default Recommends.
Recommends (vs Depends) with the same argument as with the PMDs.
That allows an administrator of a very special system to not only
install his own mempool implementation, but also to remove the
librte-mempool-ring in case that would conflict with his required setup.
Change-Id: Iacd3ee7a4378a3b5d4294c8e762dc50809f0b22b
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
pkg-config --static includes the ipsec library link flag, so libdpdk-dev
must depend on it so that it's installed and available for static
builds.
Change-Id: Ib8db8e9280945e9b0ecc63d7163501747921510b
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Fixes various bugs with Meson and dependencies parsing and
generation.
Change-Id: I2e7351e0954e16b1f4f928d2c09b653504fe8dc9
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Idf2c19559de91ff70f4aa50d3f1badf588236190
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I8c7bb8e63951ee66e385b09b6b63a59137328d17
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
Change-Id: I889b88603da5537264bbdde49feac5d977381cc5
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
static builds fail as pkg-config --static --libs includes lnuma and
lmnl, as they are used by some of the libraries/PMDs.
Change-Id: Id583bf0deda16736d983c47832510ef0e6106b2d
Signed-off-by: Luca Boccassi <bluca@debian.org>
|
|
Needed when building binary kmod packages, otherwise the process is not
idempotent when appending/removing debian/control.modules to d/control
Change-Id: I73f7adf3abdcc9180d722dc753eca2d1c7b016ce
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Icc9ca45b3a10678fdfe3053dbfda069523e2bc12
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
Change-Id: Ic04191a3ee78409d6be4ee7cb8eac59bb5970b60
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
* changes:
fix package version
changelog: apply wrap-and-sort --wrap-always --trailing-comma
d/control, d/control.modules.in, d/dpdk.install, d/dpdk-doc.install: apply wrap-and-sort --wrap-always --trailing-comma
d/rules: d/control: drop the majority of PMDs to suggest and select only a common subset for Recommends
|
|
wrap-and-sort --wrap-always --trailing-comma
Change-Id: Iaf4dc32f8d09ded6cacb260208a4dfb7d9332957
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
common subset for Recommends
Change-Id: I1c88c888206196c727a1902f7ec8008af6b6dee1
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
Change-Id: I596d8ed396ada95ccc003c00a94f1cad9ce6504e
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Ie379d8c7d56d6479cc83038a8e92a330c2deee68
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
Change-Id: I139c6767d9cbeb8af84211302d5d9d79fba40c8d
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
Change-Id: I96c2b22856e4b916cdec8ba8d7a19283c7142d4d
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
Since dpdk is built with libbsd-dev, a public header needs to include
bsd/strings.h so a dependency is needed
Change-Id: I5bf3bda02c438621553cbb7a1a1995d84e7f8157
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
libdpdk.pc lists libcrypto as a Requires.private for static builds, but
due to the way pkg-config works the Requires.private dependencies must
always be satisfied regardless of whether pkg-config --static is used or
not, or it will fail.
Change-Id: If6ec5486966316fed96d498acf4d4819fbc5becd
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I7485576fb4e0de9aa037748d41028157b3631a4c
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I1a9c20bf0571b824d32a3007065712583b4931dd
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Iec8abcb643a004ebe642522a4933068d58597853
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I98658ebf18809c7e983dd5fb86130b7b01dd19b3
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I01cd48a4dfefabd7bc2d7cd88166887af9bb7d79
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Ic8b7b3fdc479df4bc56ccfe911fac91afd1d94a2
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I573da457a21662a02e1f11a45a759f44ed36dc43
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
ibverbs needs to be newer than what is available in Debian stretch, so
bump the build dependency.
Change-Id: I978fbde8411203ec85c855758b47f1ec99cc1e49
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Make dpdk-dev a transitional dummy package, as with pkgconfig upstream
support it's no longer necessary for third parties to use the dpdk
specific SDK.
Change-Id: Ib3710d1c806d0017759599615884da3c133612ae
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I2b17c80d7205df809e54cad1e4ff7799467af63f
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
The zlib library is commonly installed, so Meson will build the zlib
PMD. Package it to avoid annoying dh-missing errors and build failures.
Change-Id: I344cd924858dd3392de78e79420c5830b4982212
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Meson build by default a handful of new libraries, package them
Change-Id: I5ebd451231c8af7741c9984c6ae78373f7c7cd2d
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Allows to use external dependencies rather than inline versions of
library functions, so that we don't have to worry about security
issues and so on.
Change-Id: I313f94d0ed82766caab5d84a690d2ffea4ac771b
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Ia1dbaaffea54b1bd4986ac58769840ac9ccbb488
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Switch build system from the legacy makefiles to Meson.
Add build dependencies on Meson and pkg-config, update package
names to match the shared library files and their symbols files,
use dh_install instead of manually copying files, delete pkg-config
file as it's provided upstream.
Change-Id: I43271c311736f94a96e55b72b0a056ac45d8eb62
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Ia97e2b695735d707b2da500db349de4f8388e6f9
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Ibf2b34007949fcec560550608cc71eb183c912b2
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I4061cb2b1424758666af411463d0c6d985ac8038
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Iab4c3f1ab52c9734a406b4cf4a0a2e83d13d85d5
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
These libraries and PMDs are built by default (broken symlinks can be
found in libdpdk-dev) so packaged them
Change-Id: Id988f8734e7d42bd3d45871de5e91e4b9c7e7425
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Ia7de6217da6cd555aaaf4b245632d3263f2fec2d
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I3f82b8c7a86e822a79a3e406b4877b4d2a58751d
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
18.08 renamed this PMD library, so rename the package and symbols file
Change-Id: Ib26a77dc00a98482dd3869781065c6c423a8dae5
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Id6c6fdb436ee67e07d45042fc0c86b4ad9c14c98
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I51459c18e700ba30fc3629cb371af07ccc6cb7a4
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I4cb261e42c349a9140ab910ef5ca963c9db05e8e
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
This PMD is available on all architecture, but it was mistakenly
marked as amd64-only.
As a result, since the shared library was being built, the libdpdk-dev
symlink generator found it and created the link to it, that was
unresolvable since there's no package for it.
Change-Id: I96802509973188ac9c4c839196f24b9e79a993bd
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: I410e660b0adc111b978b8b0046c493208dcea9e5
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
|
|
Change-Id: Ibc24dc47af20bd53bfaf3ce48477a9f9f01920d7
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
|
Change-Id: Icbc4ca2d6daa05404a9c7ae9f269b59a59073e53
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|