crypto/cnxk: fix debug build failure
PATCH 1/1 crypto/cnxk: fix debug build failure
Removing usage of unavailable macro.
Reported-by Ali Alnubani <[email protected]>
Suggested-by David Marchand <[email protected]>
Signed-off-by Tejasree Kondoj <[email protected]>
--- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/cnxk/cn10k_cryptodev_ops.c +1 -1
@@ -275,7 +275,7 @@ cn10k_cpt_sec_post_process(struct rte_crypto_op *cop, m_len =rte_be_to_cpu_16 (ip->total_length); }else {PLT_ASSERT (((ip->version_ihl &0xf0 ) >> -RTE_IPV4_IHL_MULTIPLIER ) ==IPV6_VERSION ); +RTE_IPV4_IHL_MULTIPLIER ) ==6 ); ip6 = (struct rte_ipv6_hdr *)ip; m_len =rte_be_to_cpu_16 (ip6->payload_len) +sizeof (struct rte_ipv6_hdr );
Signature · 1 line
2.27.0
David Marchand
AppliedQuoted 2 lines · Tejasree Kondoj
Removing usage of unavailable macro.
Fixes baee42a6beff ("crypto/cnxk: add IPsec datapath")
Quoted 4 lines
Reported-by Ali Alnubani <[email protected]>Suggested-by David Marchand <[email protected]>Signed-off-by Tejasree Kondoj <[email protected]>
Applied, thanks.
Signature · 1 line
David Marchand