Skip to content

Commit

Permalink
net/iavf: fix Tx debug
Browse files Browse the repository at this point in the history
[ upstream commit 145b3f04a2971423c483c7f4cc00a7491668a893 ]

Commit 1e728b0 ("net/iavf: rework Tx path") reintroduced a check on
RTE_LIBRTE_IAVF_DEBUG_TX that has been dropped in favor of
RTE_ETHDEV_DEBUG_TX.

Fixes: 1e728b0 ("net/iavf: rework Tx path")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
  • Loading branch information
david-marchand authored and kevintraynor committed Oct 31, 2023
1 parent 1cc6a40 commit 11e3255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/iavf/iavf_rxtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2326,7 +2326,7 @@ iavf_fill_ctx_desc_segmentation_field(volatile uint64_t *field,
total_length -= m->outer_l3_len;
}

#ifdef RTE_LIBRTE_IAVF_DEBUG_TX
#ifdef RTE_ETHDEV_DEBUG_TX
if (!m->l4_len || !m->tso_segsz)
PMD_TX_LOG(DEBUG, "L4 length %d, LSO Segment size %d",
m->l4_len, m->tso_segsz);
Expand Down

0 comments on commit 11e3255

Please sign in to comment.