From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by dpdk.org (Postfix) with ESMTP id E0E247CBD for ; Mon, 19 Mar 2018 13:37:31 +0100 (CET) Received: by mail-lf0-f67.google.com with SMTP id j68-v6so4574154lfg.13 for ; Mon, 19 Mar 2018 05:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=fNbZ8/Or3G67+rqP/D3Ng3LstKUoNqkHRLViu715c7c=; b=TBdHjfVb592s1bBmzwr+jAXsWlT8dKC+7Nlx7Jck1neNDJOwrrTgi0/V6DR+Bw+GgH QSCW9AGJ7YoJrL6oFTNaS1fpu+V7USullifVcs9a2MB0HL/0NJPsim6iHDuBkbqNiQmC nkgsdKIczVQUaEc3InRXyYIkkWvr6uPx9Vd696734DEMwCJbwR61Hv9xJpsv3MGv56Wm P73qfrOk9lLR+qewCnOaBS278CBC9+cMsbl5XYdN4OCYRM9ryAzT+qcrUTw80X6FEg0B dCU5UHRHRzDbo5r75wIn96NviLsjUxAj86IwlOvanUkt8adEHFfM+Z2tEzxAVEFxI43a Q7pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=fNbZ8/Or3G67+rqP/D3Ng3LstKUoNqkHRLViu715c7c=; b=ejQNLzYCY7nkLJOtuQpj+SgStBXi3ywZEzmWZXJW9ci2THIq3HFd6PrRagxJaTQCQ4 iyTuNqLDp6DVZOuzpTOTEFxF/4VYO2Ns3tNCyLJCoqRVuGLuFBVX0t7aagabSyiDh+JN BYXIc9qLqI1sGssudLn6/xrT9yg8ZpxtjRoiPvL/vXtu49e34rR1e4xmCRmSFYACAyLp tMLo338+LZ+78LWAsbI30a7g6JvgdEj0WpNs4G7GxZLdRfQOVvGDN6J7BKImj2v8X0ww mt7nLkGAmiqA/v2Rtbne1CPSaIYVs3ScFobRol3ObL8oIOgYt9bgdBViuRQGHZZ6aN3E 0F4w== X-Gm-Message-State: AElRT7HLem2OdO05ycEAvWdR5N65dGLCO/+vu5gFh8MZuwk+ymzYvkVp u6rVVlXtHklOEVVc9DveLIgUST7dejY= X-Google-Smtp-Source: AG47ELtAP0ROojoHfSfVWNLorJ5tuhIdlfG+5+0XzuJyIbk5lUUkQnMCetuXpPZanxZvUzFKsVtAPw== X-Received: by 2002:a19:290d:: with SMTP id p13-v6mr7040451lfp.35.1521463051267; Mon, 19 Mar 2018 05:37:31 -0700 (PDT) Received: from sh.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id h75-v6sm3385789lfe.62.2018.03.19.05.37.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Mar 2018 05:37:30 -0700 (PDT) From: Tomasz Duszynski To: dev@dpdk.org Cc: dima@marvell.com, nsamsono@marvell.com, jck@semihalf.com, jianbo.liu@arm.com, Tomasz Duszynski , stable@dpdk.org Date: Mon, 19 Mar 2018 13:37:22 +0100 Message-Id: <1521463042-31226-1-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] net/mrvl: fix typo in log message X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2018 12:37:32 -0000 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 --- 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