intel / intel/QAT_Engine

configure script detects for 8086:4940 device; this is problematic for packaging

Open
#280 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
443
Forks
137
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm working on some debian packaging for QAT_Engine and discovered that in the configure script there is PCI H/W detection that uses lspci to detect if a feature should be enabled. This is problematic when building on a system that does not have this hardware and the package is being built for a system that may have this hardware. Is there a workaround to enable without the need of lspci and/or H/W PCI ID checking?

```
AM_CONDITIONAL([QAT_HW], [test "x$cflags_qat_hw" != "x"])
case "$host_os" in
linux*)
AS_IF([test `lspci -vnd 8086: | grep -c 4940` != "0"], [AC_SUBST([enable_qat20_oot], ["-DQAT20_OOT"])])
esac
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.