Comment 8 for bug 1848585

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: dpdk 18.11.2-4 ADT test failure with linux 5.4.0-1.2

## DPDK in Ubuntu ##
18.11.x:
$ grep -Hrn pci-aspm *
kernel/linux/kni/ethtool/ixgbe/kcompat.h:2225:#include <linux/pci-aspm.h>
kernel/linux/kni/ethtool/igb/kcompat.h:2417:#include <linux/pci-aspm.h>
The same is true for DPDK 17.11.x in Bionic.
That is in the file of dpdk-rte-kni-dkms:
/usr/src/dpdk-rte-kni-18.11.2/ethtool/ixgbe/kcompat.h

Affected are:
18.11.x - Disco/Eoan - since they are part of UCA backportsthat are still active and might meet an HWE kernel in Bionic due to that (Or people install own 5.4 kernels).
19.11.x - Focal will move to that and not be affected
17.11.x - Bionic - due to >=5.4 HWE kernel showing up at some point

## Upstream DPDK ##
Nothing about that on latest dpdk master, but that is due to ethtool support being fully removed: https://git.dpdk.org/dpdk/commit/?id=ea6b39b5b847655cf65f283d3cc25d7ab629d039
Therefore there won't ever be an upstream fix on master.
But there might be on the stable branches.

## Kernel change ##
Related kernel change is: https://lkml.org/lkml/2019/8/27/695
So the solution might be to just include linux/pci.h instead depending on kernel version.

## Upstream stable branches ##
There is no change yet for the upstream stable branches.