common/cpt: fix null auth only

Fixes: 351fbee21986 ("common/cpt: support hash")
Cc: stable@dpdk.org

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
This commit is contained in:
Anoob Joseph 2019-02-13 09:22:50 +00:00 committed by Akhil Goyal
parent 0355c379b7
commit 3ca687a4a0

View File

@ -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);