* [dpdk-dev] [PATCH] net/mrvl: fix typo in log message
@ 2018-03-19 12:37 Tomasz Duszynski
2018-03-20 12:05 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Tomasz Duszynski @ 2018-03-19 12:37 UTC (permalink / raw)
To: dev; +Cc: dima, nsamsono, jck, jianbo.liu, Tomasz Duszynski, stable
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 <tdu@semihalf.com>
---
drivers/net/mrvl/mrvl_ethdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/mrvl/mrvl_ethdev.c b/drivers/net/mrvl/mrvl_ethdev.c
index fac924f..61c1223 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;
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-20 12:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-19 12:37 [dpdk-dev] [PATCH] net/mrvl: fix typo in log message Tomasz Duszynski
2018-03-20 12:05 ` Ferruh Yigit
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).