DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] crypto/cnxk: fix debug build failure
@ 2021-07-09  9:41 Tejasree Kondoj
  2021-07-09 12:10 ` David Marchand
  0 siblings, 1 reply; 2+ messages in thread
From: Tejasree Kondoj @ 2021-07-09  9:41 UTC (permalink / raw)
  To: Akhil Goyal, Thomas Monjalon, David Marchand, Ali Alnubani
  Cc: Tejasree Kondoj, Anoob Joseph, dev

Removing usage of unavailable macro.

Reported-by: Ali Alnubani <alialnu@mellanox.com>
Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
---
 drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/cnxk/cn10k_cryptodev_ops.c b/drivers/crypto/cnxk/cn10k_cryptodev_ops.c
index 6d322a9cb6..2e1a73939c 100644
--- a/drivers/crypto/cnxk/cn10k_cryptodev_ops.c
+++ b/drivers/crypto/cnxk/cn10k_cryptodev_ops.c
@@ -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);
-- 
2.27.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-09 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09  9:41 [dpdk-dev] [PATCH] crypto/cnxk: fix debug build failure Tejasree Kondoj
2021-07-09 12:10 ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).