diff options
author | Alex Williams <alex.williams@ni.com> | 2019-03-18 11:11:13 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-04-10 16:50:43 -0700 |
commit | 88a405980fc19f5e9833c4880911b8b883435ad9 (patch) | |
tree | 5ecb53df1296833fc0ab6d191b27b212d656f547 /host/lib | |
parent | 4842d45fec1e62f9687ccf5c000f29cd34425964 (diff) | |
download | uhd-88a405980fc19f5e9833c4880911b8b883435ad9.tar.gz uhd-88a405980fc19f5e9833c4880911b8b883435ad9.tar.bz2 uhd-88a405980fc19f5e9833c4880911b8b883435ad9.zip |
uhdlib: Add dpdk_zero_copy.hpp
dpdk_zero_copy.hpp was referenced in multiple places using relative
paths. Let's throw it in uhdlib for easy access.
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/include/uhdlib/transport/dpdk_zero_copy.hpp (renamed from host/lib/transport/dpdk_zero_copy.hpp) | 0 | ||||
-rw-r--r-- | host/lib/transport/dpdk_zero_copy.cpp | 2 | ||||
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_xport_ctrl_dpdk_udp.cpp | 2 | ||||
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_xport_ctrl_dpdk_udp.hpp | 2 | ||||
-rw-r--r-- | host/lib/usrp/x300/x300_impl.cpp | 2 |
5 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/transport/dpdk_zero_copy.hpp b/host/lib/include/uhdlib/transport/dpdk_zero_copy.hpp index 8dcce6eee..8dcce6eee 100644 --- a/host/lib/transport/dpdk_zero_copy.hpp +++ b/host/lib/include/uhdlib/transport/dpdk_zero_copy.hpp diff --git a/host/lib/transport/dpdk_zero_copy.cpp b/host/lib/transport/dpdk_zero_copy.cpp index 9649c1cfb..a6a158762 100644 --- a/host/lib/transport/dpdk_zero_copy.cpp +++ b/host/lib/transport/dpdk_zero_copy.cpp @@ -4,10 +4,10 @@ // SPDX-License-Identifier: GPL-3.0-or-later // -#include "dpdk_zero_copy.hpp" #include <uhd/config.hpp> #include <uhd/utils/log.hpp> #include <uhdlib/transport/uhd-dpdk.h> +#include <uhdlib/transport/dpdk_zero_copy.hpp> #include <uhdlib/utils/prefs.hpp> #include <boost/algorithm/string.hpp> #include <boost/format.hpp> diff --git a/host/lib/usrp/mpmd/mpmd_xport_ctrl_dpdk_udp.cpp b/host/lib/usrp/mpmd/mpmd_xport_ctrl_dpdk_udp.cpp index f739942b4..a496e8e69 100644 --- a/host/lib/usrp/mpmd/mpmd_xport_ctrl_dpdk_udp.cpp +++ b/host/lib/usrp/mpmd/mpmd_xport_ctrl_dpdk_udp.cpp @@ -7,9 +7,9 @@ #include "mpmd_impl.hpp" #include "mpmd_xport_mgr.hpp" #include "mpmd_xport_ctrl_dpdk_udp.hpp" -#include "../../transport/dpdk_zero_copy.hpp" #include <uhd/transport/udp_simple.hpp> #include <uhd/transport/udp_constants.hpp> +#include <uhdlib/transport/dpdk_zero_copy.hpp> #include <arpa/inet.h> diff --git a/host/lib/usrp/mpmd/mpmd_xport_ctrl_dpdk_udp.hpp b/host/lib/usrp/mpmd/mpmd_xport_ctrl_dpdk_udp.hpp index 1ee1549e0..943cd44d6 100644 --- a/host/lib/usrp/mpmd/mpmd_xport_ctrl_dpdk_udp.hpp +++ b/host/lib/usrp/mpmd/mpmd_xport_ctrl_dpdk_udp.hpp @@ -8,8 +8,8 @@ #define INCLUDED_MPMD_XPORT_CTRL_DPDK_UDP_HPP #include "mpmd_xport_ctrl_base.hpp" -#include "../transport/dpdk_zero_copy.hpp" #include <uhd/types/device_addr.hpp> +#include <uhdlib/transport/dpdk_zero_copy.hpp> #include "../device3/device3_impl.hpp" namespace uhd { namespace mpmd { namespace xport { diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 72aeb09e6..796d422ad 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -25,7 +25,7 @@ #include <uhd/utils/static.hpp> #include <uhdlib/usrp/common/apply_corrections.hpp> #ifdef HAVE_DPDK -# include "../../transport/dpdk_zero_copy.hpp" +# include <uhdlib/transport/dpdk_zero_copy.hpp> # include <uhdlib/transport/dpdk_simple.hpp> #endif #include <boost/algorithm/string.hpp> |