[dpdk-dev] [PATCH 11/12] net/sfc: improve log message about missing HW TSO support

Andrew Rybchenko arybchenko at solarflare.com
Tue Apr 2 11:28:43 CEST 2019


From: Ivan Malov <ivan.malov at oktetlabs.ru>

Said message cannot be considered as warning since
the PMD anyway reports available offload capabilities
by means of device info interface. Make this log
message informational and improve its formatting
by placing the text itself on the same line.

Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
---
 drivers/net/sfc/sfc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/sfc/sfc.c b/drivers/net/sfc/sfc.c
index fd4156f78..dee468f89 100644
--- a/drivers/net/sfc/sfc.c
+++ b/drivers/net/sfc/sfc.c
@@ -747,8 +747,7 @@ sfc_attach(struct sfc_adapter *sa)
 	if (sa->priv.dp_tx->features & SFC_DP_TX_FEAT_TSO) {
 		sa->tso = encp->enc_fw_assisted_tso_v2_enabled;
 		if (!sa->tso)
-			sfc_warn(sa,
-				 "TSO support isn't available on this adapter");
+			sfc_info(sa, "TSO support isn't available on this adapter");
 	}
 
 	sfc_log_init(sa, "estimate resource limits");
-- 
2.17.1



More information about the dev mailing list