[2/2] mbuf: fix missing Tx outer UDP checksum flag name
diff mbox series

Message ID 20181011193440.31995-2-jerin.jacob@caviumnetworks.com
State Superseded, archived
Delegated to: Ferruh Yigit
Headers show
Series
  • [1/2] mbuf: fix missing Tx offload flag name and list update
Related show

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation fail Compilation issues

Commit Message

Jerin Jacob Oct. 11, 2018, 7:34 p.m. UTC
From: Nithin Dabilpuram <ndabilpuram@marvell.com>

Fix missing Tx outer udp checksum flag name

Fixes: e1b1ae51877c ("ethdev: add Tx offload outer UDP checksum definition")

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---

This patch is based on next-net tree. We could stash this patch.

---
 lib/librte_mbuf/rte_mbuf.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/lib/librte_mbuf/rte_mbuf.c b/lib/librte_mbuf/rte_mbuf.c
index a93995184..fb741f06b 100644
--- a/lib/librte_mbuf/rte_mbuf.c
+++ b/lib/librte_mbuf/rte_mbuf.c
@@ -409,6 +409,7 @@  const char *rte_get_tx_ol_flag_name(uint64_t mask)
 	case PKT_TX_MACSEC: return "PKT_TX_MACSEC";
 	case PKT_TX_SEC_OFFLOAD: return "PKT_TX_SEC_OFFLOAD";
 	case PKT_TX_UDP_SEG: return "PKT_TX_UDP_SEG";
+	case PKT_TX_OUTER_UDP_CKSUM: return "PKT_TX_OUTER_UDP_CKSUM";
 	default: return NULL;
 	}
 }