[dpdk-dev] [PATCH v6] compress/qat: enable dynamic huffman encoding
Akhil Goyal
akhil.goyal at nxp.com
Thu Oct 25 09:34:39 CEST 2018
Hi Fiona,
On 10/25/2018 7:00 AM, Fiona Trahe wrote:
> Enable dynamic huffman encoding in the QAT comp PMD.
>
> Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak at intel.com>
> Signed-off-by: Fiona Trahe <fiona.trahe at intel.com>
> Acked-by: Arek Kusztal <arkadiuszx.kusztal at intel.com>
> ---
The patch is still failing in i686 and armv7
**************** Testing i686 ***********************
In file included from
/home/b35197/dpdk/drivers/common/qat/qat_device.h:10:0,
from
/home/b35197/dpdk/drivers/compress/qat/qat_comp_pmd.h:13,
from
/home/b35197/dpdk/drivers/compress/qat/qat_comp_pmd.c:6:
/home/b35197/dpdk/drivers/compress/qat/qat_comp_pmd.c: In function
âqat_comp_setup_inter_buffersâ:
/home/b35197/dpdk/drivers/common/qat/qat_logs.h:13:4: error: format
â%ldâ expects argument of type âlong intâ, but argument 9 has type
âsize_t {aka const unsigned int}â [-Werror=format=]
"%s(): " fmt "\n", __func__, ## args)
^
/home/b35197/dpdk/drivers/compress/qat/qat_comp_pmd.c:194:2: note: in
expansion of macro âQAT_LOGâ
QAT_LOG(DEBUG, "Memzone %s: addr = %p, phys = 0x%"PRIx64
^~~~~~~
/home/b35197/dpdk/drivers/compress/qat/qat_comp_pmd.c:195:40: note:
format string is defined here
", size required %d, size created %ld",
~~^
%d
cc1: all warnings being treated as errors
make[5]: *** [qat_comp_pmd.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [common/qat] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [drivers] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2
Error in BUILD
**************** Testing armv7 ***********************
/home/b35197/dpdk/drivers/compress/qat/qat_comp.c: In function
'qat_comp_build_request':
/home/b35197/dpdk/drivers/compress/qat/qat_comp.c:33:6: warning: cast
increases required alignment of target type [-Wcast-align]
(struct icp_qat_fw_comp_req *)out_msg;
^
/home/b35197/dpdk/drivers/compress/qat/qat_comp.c: In function
'qat_comp_process_response':
/home/b35197/dpdk/drivers/compress/qat/qat_comp.c:112:4: warning: cast
increases required alignment of target type [-Wcast-align]
(struct icp_qat_fw_comp_resp *)resp;
^
/home/b35197/dpdk/drivers/compress/qat/qat_comp.c:146:6: warning: cast
increases required alignment of target type [-Wcast-align]
*((uint16_t *)(&resp_msg->comn_resp.comn_error));
^
In file included from
/home/b35197/dpdk/drivers/common/qat/qat_device.h:10:0,
from
/home/b35197/dpdk/drivers/compress/qat/qat_comp_pmd.h:13,
from
/home/b35197/dpdk/drivers/compress/qat/qat_comp_pmd.c:6:
/home/b35197/dpdk/drivers/compress/qat/qat_comp_pmd.c: In function
'qat_comp_setup_inter_buffers':
/home/b35197/dpdk/drivers/common/qat/qat_logs.h:13:4: error: format
'%ld' expects argument of type 'long int', but argument 9 has type
'size_t {aka const unsigned int}' [-Werror=format=]
"%s(): " fmt "\n", __func__, ## args)
^
/home/b35197/dpdk/drivers/compress/qat/qat_comp_pmd.c:194:2: note: in
expansion of macro 'QAT_LOG'
QAT_LOG(DEBUG, "Memzone %s: addr = %p, phys = 0x%"PRIx64
^
/home/b35197/dpdk/drivers/compress/qat/qat_comp_pmd.c:199:22: warning:
cast increases required alignment of target type [-Wcast-align]
array_of_pointers = (struct array_of_ptrs *)mz_start;
^
/home/b35197/dpdk/drivers/compress/qat/qat_comp_pmd.c:204:7: warning:
cast increases required alignment of target type [-Wcast-align]
(struct qat_inter_sgl *)(mz_start + curr_sgl_offset);
^
cc1: all warnings being treated as errors
make[5]: *** [qat_comp_pmd.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [common/qat] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [drivers] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2
Error in BUILD
More information about the dev
mailing list