diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-12-03 16:51:12 -0800 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-12-20 16:32:22 -0800 |
commit | 378dc931ab697ee13352008a025ec4732f6f46e1 (patch) | |
tree | b7c85351738bfd39cf7377f11d110b4692f7c0db /host/lib/include/uhdlib/transport/dpdk_zero_copy.hpp | |
parent | 4547f2de85f0d8b258a89cea71af774fce8616b7 (diff) | |
download | uhd-378dc931ab697ee13352008a025ec4732f6f46e1.tar.gz uhd-378dc931ab697ee13352008a025ec4732f6f46e1.tar.bz2 uhd-378dc931ab697ee13352008a025ec4732f6f46e1.zip |
lib: Remove dpdk_zero_copy files
These were left here as a reference.
Diffstat (limited to 'host/lib/include/uhdlib/transport/dpdk_zero_copy.hpp')
-rw-r--r-- | host/lib/include/uhdlib/transport/dpdk_zero_copy.hpp | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/host/lib/include/uhdlib/transport/dpdk_zero_copy.hpp b/host/lib/include/uhdlib/transport/dpdk_zero_copy.hpp deleted file mode 100644 index 3497f0598..000000000 --- a/host/lib/include/uhdlib/transport/dpdk_zero_copy.hpp +++ /dev/null @@ -1,45 +0,0 @@ -// -// Copyright 2018 Ettus Research, a National Instruments Company -// -// SPDX-License-Identifier: GPL-3.0-or-later -// - -#ifndef DPDK_ZERO_COPY_HPP -#define DPDK_ZERO_COPY_HPP - -#include <uhdlib/transport/dpdk_common.hpp> -#include <uhd/types/device_addr.hpp> -#include <uhd/transport/zero_copy.hpp> -#include <memory> -#include <string> - - -namespace uhd { namespace transport { - -/*! - * A zero copy transport interface to the dpdk DMA library. - */ -class dpdk_zero_copy : public virtual zero_copy_if { -public: - typedef std::shared_ptr<dpdk_zero_copy> sptr; - - static sptr make( - const struct uhd_dpdk_ctx &ctx, - const unsigned int dpdk_port_id, - const std::string &addr, - const std::string &remote_port, - const std::string &local_port, /* 0 = auto-assign */ - const zero_copy_xport_params &default_buff_args, - const device_addr_t &hints - ); - - virtual uint16_t get_local_port(void) const = 0; - - virtual std::string get_local_addr(void) const = 0; - - virtual uint32_t get_drop_count(void) const = 0; -}; - -}} // namespace uhd::transport - -#endif /* DPDK_ZERO_COPY_HPP */ |