Public bug reported:

SRU Justification

[ Impact ]

After cherry picking upstream commit a6e4b9a6deb9362ef7a0706c70d674e92fe1411a
("xsk: honor XDP_TX_METADATA in zero-copy path") the file 
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c in mlnx-ofed-kernel stopped 
compiling
as now the called API needs 3 parameters instead of 2.

[ Fix ]

To fix, a check during the configure phase is needed, and at that point a 
discriminant 
to decide whether to use 2 or 3 parameters will generate the right call.

[ Regression potential ]

If not correctly used, the 3rd parameter might introduce a but, but this is 
considered
almost as none, as desc.option exists in the pre-existing environment

** Affects: doca-ofed-3.4-dkms (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: doca-ofed-3.4-dkms (Ubuntu Resolute)
     Importance: High
     Assignee: Alessio Faina (alessiofaina)
         Status: New

** Changed in: doca-ofed-3.4-dkms (Ubuntu)
       Status: New => In Progress

** Also affects: doca-ofed-3.4-dkms (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Changed in: doca-ofed-3.4-dkms (Ubuntu Resolute)
   Importance: Undecided => High

** Changed in: doca-ofed-3.4-dkms (Ubuntu Resolute)
     Assignee: (unassigned) => Alessio Faina (alessiofaina)

** Changed in: doca-ofed-3.4-dkms (Ubuntu)
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169596

Title:
  doca-ofed-3.4 stops building after cherry pick of upstream commit
  a6e4b9a6deb9362ef7a0706c70d674e92fe1411a

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/doca-ofed-3.4-dkms/+bug/2169596/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to