diff options
Diffstat (limited to 'host/lib/transport/udp_dpdk_link.cpp')
-rw-r--r-- | host/lib/transport/udp_dpdk_link.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/transport/udp_dpdk_link.cpp b/host/lib/transport/udp_dpdk_link.cpp index b2fe55e24..194b0536c 100644 --- a/host/lib/transport/udp_dpdk_link.cpp +++ b/host/lib/transport/udp_dpdk_link.cpp @@ -13,6 +13,11 @@ #include <arpa/inet.h> #include <memory> +// The DPDK function rte_mbuf_to_priv() is experimental and generates a warning. +// This pragma disables that warning since it is expected +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + using namespace uhd::transport; using namespace uhd::transport::dpdk; @@ -196,3 +201,4 @@ void udp_dpdk_link::release_send_buff(frame_buff::uptr buff) rte_pktmbuf_free(mbuf); } } +#pragma GCC diagnostic pop |