From: Dekel Peled Date: Wed, 12 Sep 2018 08:28:02 +0000 (+0300) Subject: ethdev: fix missing names in Tx offload name array X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d9552ee24a9f6805ba3951647c26a21839fadefe;p=dpdk.git ethdev: fix missing names in Tx offload name array Patch 5355f443 added two definitions of DEV_TX_OFFLOAD_xxx. If new Tx offload capabilities are defined, they also must be mentioned in rte_tx_offload_names in rte_ethdev.c file. This patch adds the required lines in array rte_tx_offload_names. Fixes: 5355f4439e2e ("ethdev: introduce generic IP/UDP tunnel checksum and TSO") Cc: stable@dpdk.org Signed-off-by: Dekel Peled Acked-by: Andrew Rybchenko --- diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c index 3f8de93412..5004b9f7b5 100644 --- a/lib/librte_ethdev/rte_ethdev.c +++ b/lib/librte_ethdev/rte_ethdev.c @@ -156,6 +156,8 @@ static const struct { RTE_TX_OFFLOAD_BIT2STR(MULTI_SEGS), RTE_TX_OFFLOAD_BIT2STR(MBUF_FAST_FREE), RTE_TX_OFFLOAD_BIT2STR(SECURITY), + RTE_TX_OFFLOAD_BIT2STR(UDP_TNL_TSO), + RTE_TX_OFFLOAD_BIT2STR(IP_TNL_TSO), }; #undef RTE_TX_OFFLOAD_BIT2STR