Public bug reported: While I got positive feedback first when trying myself it was rather clear that UHD is not compatible with DPDK 21.11 yet :-/
FTBFS on all DPDK arches: https://launchpad.net/ubuntu/+source/uhd/4.1.0.5-1build1 Example: /<<PKGBUILDDIR>>/host/lib/include/uhdlib/transport/dpdk/udp.hpp:61:13: warning: "PKT_TX_IP_CKSUM" is deprecated 61 | mbuf->ol_flags = PKT_TX_IP_CKSUM | PKT_TX_IPV4; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/host/lib/include/uhdlib/transport/dpdk/udp.hpp:61:13: warning: "PKT_TX_IPV4" is deprecated 61 | mbuf->ol_flags = PKT_TX_IP_CKSUM | PKT_TX_IPV4; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/host/lib/transport/udp_dpdk_link.cpp: In member function ‘virtual void uhd::transport::udp_dpdk_link::release_send_buff(uhd::transport::frame_buff::uptr)’: /<<PKGBUILDDIR>>/host/lib/transport/udp_dpdk_link.cpp:173:52: error: ‘struct rte_ether_hdr’ has no member named ‘d_addr’; did you mean ‘dst_addr’? 173 | rte_ether_addr_copy(&_remote_mac, &l2_hdr->d_addr); | ^~~~~~ | dst_addr /<<PKGBUILDDIR>>/host/lib/transport/udp_dpdk_link.cpp:174:50: error: ‘struct rte_ether_hdr’ has no member named ‘s_addr’; did you mean ‘dst_addr’? 174 | rte_ether_addr_copy(&local_mac, &l2_hdr->s_addr); | ^~~~~~ | dst_addr In a similar fashion to => https://github.com/EttusResearch/uhd/commit/b17d2dfa988344debe63f1b5d7e8556fef87218f We'd need a change to support DPDK 21.11 DPDK 21.11 is strictly needed for jammy and being important itself and the new openvswitch/OVN versions. But then OTOH UHD has way to many dependencies to "just remove it" until ready for the new DPDK. Instead I'll disable the DPDK support which isn't strictly needed to make use of UHD and resolves this dependency issue until upstream implements the DPDK 21.11 API. It is "only" used for the usual DPDK speedup (https://kb.ettus.com/Getting_Started_with_DPDK_and_UHD) that you'd expect but has no dependencies in any of the projects consuming UHD so far: $ reverse-depends --release jammy libuhd4.1.0-dpdk Reverse-Depends * libuhd4.1.0-dpdk-tests $ reverse-depends --release jammy libuhd4.1.0-dpdk-tests No reverse dependencies found Upstream report to get 21.11 support => https://github.com/EttusResearch/uhd/issues/547 ** Affects: uhd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1957754 Title: Incompatible with DPDK 21.11 - disable dpdk support To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/uhd/+bug/1957754/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
