From 3ca687a4a02dedd2469ddd9824bbd531d5828a0c Mon Sep 17 00:00:00 2001 From: Anoob Joseph Date: Wed, 13 Feb 2019 09:22:50 +0000 Subject: [PATCH] common/cpt: fix null auth only Fixes: 351fbee21986 ("common/cpt: support hash") Cc: stable@dpdk.org Signed-off-by: Anoob Joseph Signed-off-by: Tejasree Kondoj --- drivers/common/cpt/cpt_ucode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cpt/cpt_ucode.h b/drivers/common/cpt/cpt_ucode.h index 5933ea77e5..d408d50e3e 100644 --- a/drivers/common/cpt/cpt_ucode.h +++ b/drivers/common/cpt/cpt_ucode.h @@ -549,7 +549,7 @@ cpt_digest_gen_prep(uint32_t flags, /* Minor op is passthrough */ opcode.s.minor = 0x03; /* Send out completion code only */ - vq_cmd_w0.s.param2 = 0x1; + vq_cmd_w0.s.param2 = rte_cpu_to_be_16(0x1); } vq_cmd_w0.s.opcode = rte_cpu_to_be_16(opcode.flags); -- 2.20.1