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>
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;