aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/uhd-dpdk/uhd_dpdk_udp.h
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-12-03 16:51:12 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-12-20 16:32:22 -0800
commit378dc931ab697ee13352008a025ec4732f6f46e1 (patch)
treeb7c85351738bfd39cf7377f11d110b4692f7c0db /host/lib/transport/uhd-dpdk/uhd_dpdk_udp.h
parent4547f2de85f0d8b258a89cea71af774fce8616b7 (diff)
downloaduhd-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/transport/uhd-dpdk/uhd_dpdk_udp.h')
-rw-r--r--host/lib/transport/uhd-dpdk/uhd_dpdk_udp.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/host/lib/transport/uhd-dpdk/uhd_dpdk_udp.h b/host/lib/transport/uhd-dpdk/uhd_dpdk_udp.h
deleted file mode 100644
index d7ca5609b..000000000
--- a/host/lib/transport/uhd-dpdk/uhd_dpdk_udp.h
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-// Copyright 2018 Ettus Research, a National Instruments Company
-//
-// SPDX-License-Identifier: GPL-3.0-or-later
-//
-#ifndef _UHD_DPDK_UDP_H_
-#define _UHD_DPDK_UDP_H_
-
-#include "uhd_dpdk_ctx.h"
-#include <rte_udp.h>
-
-struct uhd_dpdk_udp_priv {
- uint16_t src_port;
- uint16_t dst_port;
- uint32_t dst_ipv4_addr;
- size_t dropped_pkts;
- size_t xferd_pkts;
- bool filter_bcast;
- /* TODO: Cache destination address ptr to avoid ARP table lookup cost? */
- //struct uhd_dpdk_arp_entry *arp_entry;
-};
-
-int _uhd_dpdk_udp_setup(struct uhd_dpdk_config_req *req);
-int _uhd_dpdk_udp_release(struct uhd_dpdk_config_req *req);
-
-void uhd_dpdk_udp_open(struct uhd_dpdk_config_req *req,
- struct uhd_dpdk_sockarg_udp *arg);
-void uhd_dpdk_udp_close(struct uhd_dpdk_config_req *req);
-
-int uhd_dpdk_udp_prep(struct uhd_dpdk_socket *sock,
- struct rte_mbuf *mbuf);
-
-/*
- * Get key for RX table corresponding to this socket
- *
- * This is primarily used to get access to the waiter entry
- */
-int _uhd_dpdk_udp_rx_key(struct uhd_dpdk_socket *sock,
- struct uhd_dpdk_ipv4_5tuple *key);
-#endif /* _UHD_DPDK_UDP_H_ */