mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 18:42:25 -04:00
The hns driver uses __raw_writeq which is only defined in 64BIT
environments. Trying to compile the driver in a 32BIT environment
results in errors. Only COMPILE_TEST when 64BIT is defined.
Fixes: 7d1b6a678e0b ("IB/hns: Support compile test for hns RoCE driver")
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
11 lines
396 B
Plaintext
11 lines
396 B
Plaintext
config INFINIBAND_HNS
|
|
tristate "HNS RoCE Driver"
|
|
depends on NET_VENDOR_HISILICON
|
|
depends on (ARM64 || (COMPILE_TEST && 64BIT)) && HNS && HNS_DSAF && HNS_ENET
|
|
---help---
|
|
This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine
|
|
is used in Hisilicon Hi1610 and more further ICT SoC.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called hns-roce.
|