Incompatible with DPDK 21.11 - disable dpdk support

Bug #1957754 reported by Christian Ehrhardt 
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uhd (Debian)
Fix Released
Unknown
uhd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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

Tags: server-todo
Changed in uhd (Ubuntu):
status: New → In Progress
tags: added: server-todo
Changed in uhd (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package uhd - 4.1.0.5-1ubuntu1

---------------
uhd (4.1.0.5-1ubuntu1) jammy; urgency=medium

  * Disable DPDK support as UHD is yet incompatible with dpdk 21.11
    that is required for Jammy (LP: #1957754)

 -- Christian Ehrhardt <email address hidden> Thu, 13 Jan 2022 08:11:15 +0100

Changed in uhd (Ubuntu):
status: In Progress → Fix Released
Changed in uhd (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.