Skip to content

If I want to use hardware acceleration, and I don't want to turn off iommu of host, is there any other way  #115

@yangni2017

Description

@yangni2017

qzip version: QATzip-QATzip_1.1.2_release
card info: Intel Corporation C62x Chipset QuickAssist Technology
driver info:QAT.L.4.25.0-00001
cpu:Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz

hi. I want to use the qzip hardware acceleration, after i install the driver, exec qzip and i get the error:
# qzip -O 7z CentOS-8-x86_64-1905-dvd1.iso -o result.7z
Error no hardware, switch to SW if permitted

driver install:
# export ICP_ROOT=/home/hcitos/qat_driver; ./configure --enable-icp-sriov=host ;make -j install

qzip install
# ./configure --with-ICP_ROOT=$ICP_ROOT ;make clean ; make ;make install

the dmesg get ther error:
# dmesg -T | grep PF
[Mon Jul 29 15:08:34 2024] c6xx 0000:0c:00.0: Cannot use PF with IOMMU enabled

after i disable iommu of host, and qzip can work well with using hardware acceleration. But i need to keep iommu on, Is there any other way to use hardware acceleration and not disable iommu .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions