DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Can't compile QAT driver on Fedora30
@ 2020-05-19  9:17 Berger, MichalX
  2020-05-19 12:56 ` Trahe, Fiona
  0 siblings, 1 reply; 3+ messages in thread
From: Berger, MichalX @ 2020-05-19  9:17 UTC (permalink / raw)
  To: users

Hi All,

I am currently having some issues with compiling the QAT driver under Fedora30 running 5.6.11 kernel (gcc 9.3.1). Output below:

make -C /lib/modules/5.6.11-100.fc30.x86_64/build M=/QAT/quickassist/qat modules
make[2]: Entering directory '/usr/src/kernels/5.6.11-100.fc30.x86_64'
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c3xxx/adf_drv.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.o
  LD [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c3xxx/qat_c3xxx.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c3xxxvf/adf_drv.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.o
  LD [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c3xxxvf/qat_c3xxxvf.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c62x/adf_drv.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.o
  LD [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c62x/qat_c62x.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c62xvf/adf_drv.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.o
  LD [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_c62xvf/qat_c62xvf.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_cfg.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_isr.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_ctl_drv.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_dev_mgr.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_dev_err.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_init.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_accel_engine.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_aer.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_transport.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_admin.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_hw_arbiter.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/qat_uclo.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/qat_hal.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_cfg_dev_dbg.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_heartbeat.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_heartbeat_dbg.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_ver_dbg.o
  CC [M]  /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.o
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c: In function ‘timespec_to_us’:
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c:118:17: error: dereferencing pointer to incomplete type ‘const struct timespec’
  118 |  return ((s64)ts->tv_sec * USEC_PER_SEC +
      |                 ^~
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c: In function ‘measure_clock’:
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c:132:18: error: storage size of ‘ts1’ isn’t known
  132 |  struct timespec ts1;
      |                  ^~~
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c:133:18: error: storage size of ‘ts2’ isn’t known
  133 |  struct timespec ts2;
      |                  ^~~
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c:134:18: error: storage size of ‘ts3’ isn’t known
  134 |  struct timespec ts3;
      |                  ^~~
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c:135:18: error: storage size of ‘ts4’ isn’t known
  135 |  struct timespec ts4;
      |                  ^~~
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c:146:3: error: implicit declaration of function ‘getnstimeofday’ [-Werror=implicit-function-declaration]
  146 |   getnstimeofday(&ts1);
      |   ^~~~~~~~~~~~~~
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c:135:18: warning: unused variable ‘ts4’ [-Wunused-variable]
  135 |  struct timespec ts4;
      |                  ^~~
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c:134:18: warning: unused variable ‘ts3’ [-Wunused-variable]
  134 |  struct timespec ts3;
      |                  ^~~
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c:133:18: warning: unused variable ‘ts2’ [-Wunused-variable]
  133 |  struct timespec ts2;
      |                  ^~~
/QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.c:132:18: warning: unused variable ‘ts1’ [-Wunused-variable]
  132 |  struct timespec ts1;
      |                  ^~~
cc1: some warnings being treated as errors
make[5]: *** [scripts/Makefile.build:268: /QAT/quickassist/qat/drivers/crypto/qat/qat_common/adf_clock.o] Error 1
make[4]: *** [scripts/Makefile.build:505: /QAT/quickassist/qat/drivers/crypto/qat/qat_common] Error 2
make[3]: *** [scripts/Makefile.build:505: /QAT/quickassist/qat/drivers/crypto/qat] Error 2
make[2]: *** [Makefile:1683: /QAT/quickassist/qat] Error 2
make[2]: Leaving directory '/usr/src/kernels/5.6.11-100.fc30.x86_64'
make[1]: *** [Makefile:89: modules] Error 2
make[1]: Leaving directory '/QAT/quickassist/qat'
make: *** [Makefile:1560: qat-driver-all] Error 2

I've been using what I think is the latest version of the driver: qat1.7.l.4.9.0-00008.tar.gz

Any feedback on the above failure would be appreciated. 🙂

This issue was initially reported here https://github.com/spdk/spdk/issues/1396.

Regards,
Michal
--------------------------------------------------------------------

Intel Technology Poland sp. z o.o.
ul. Sowackiego 173 | 80-298 Gdask | Sd Rejonowy Gdask Pnoc | VII Wydzia Gospodarczy Krajowego Rejestru Sdowego - KRS 101882 | NIP 957-07-52-316 | Kapita zakadowy 200.000 PLN.

Ta wiadomo wraz z zacznikami jest przeznaczona dla okrelonego adresata i moe zawiera informacje poufne. W razie przypadkowego otrzymania tej wiadomoci, prosimy o powiadomienie nadawcy oraz trwae jej usunicie; jakiekolwiek przegldanie lub rozpowszechnianie jest zabronione.

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-23 20:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19  9:17 [dpdk-users] Can't compile QAT driver on Fedora30 Berger, MichalX
2020-05-19 12:56 ` Trahe, Fiona
2020-05-19 14:22   ` Berger, MichalX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).