From: Tomasz Duszynski Date: Mon, 19 Mar 2018 12:37:22 +0000 (+0100) Subject: net/mrvl: fix typo in log message X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6f324a91df5d5d7ac7bed35e1ed80e7e5765ddd0;p=dpdk.git net/mrvl: fix typo in log message Show appropriate log message in case Tx offloads are either not supported or missing. Fixes: 7d8f6c20cc7c ("net/mrvl: switch to the new Tx offload API") Cc: stable@dpdk.org Signed-off-by: Tomasz Duszynski --- diff --git a/drivers/net/mrvl/mrvl_ethdev.c b/drivers/net/mrvl/mrvl_ethdev.c index fac924fc6d..61c1223e19 100644 --- a/drivers/net/mrvl/mrvl_ethdev.c +++ b/drivers/net/mrvl/mrvl_ethdev.c @@ -1700,14 +1700,14 @@ mrvl_tx_queue_offloads_okay(struct rte_eth_dev *dev, uint64_t requested) uint64_t missing = mandatory & ~requested; if (unsupported) { - RTE_LOG(ERR, PMD, "Some Rx offloads are not supported. " + RTE_LOG(ERR, PMD, "Some Tx offloads are not supported. " "Requested 0x%" PRIx64 " supported 0x%" PRIx64 ".\n", requested, supported); return 0; } if (missing) { - RTE_LOG(ERR, PMD, "Some Rx offloads are missing. " + RTE_LOG(ERR, PMD, "Some Tx offloads are missing. " "Requested 0x%" PRIx64 " missing 0x%" PRIx64 ".\n", requested, missing); return 0;