From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f46.google.com (mail-pg0-f46.google.com [74.125.83.46]) by dpdk.org (Postfix) with ESMTP id D36ED996A for ; Mon, 21 Aug 2017 11:38:02 +0200 (CEST) Received: by mail-pg0-f46.google.com with SMTP id u191so22510403pgc.2 for ; Mon, 21 Aug 2017 02:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qFCX94Aivv31gDlV070YUVShHWiuTrL3NCZbpg4+0Vc=; b=OSLbHl6tK+pUro3zOM+GgqUaFswAWJLgAkG/nwIHsU7RJldp3kbhSQ4um1VYXga0wT VbZPuYEkKLGrT7LAf1RZLPWiKZrIwfdUvWudlQDocpZYLzo7cmsphQGgcvdmnCX5i5SC llfv7LG+LCeum0rC9srvBF113MLoDRUsYr2kZ+anx8/7fl7HEnjUkPXpfravk4crOC82 M7eJ2qg+25rCTKbg0mLnRXmm8CkqvA+15Gwza13Q6/5RLNtcGGws2I3B8/IBaxSG+pTO kMjU457dj15TrYTRsU6R39wDkSnO2vkaGaIiar7ve1hU55I989dsJwOcIFn+y93/N8me mf+w== 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:in-reply-to :references; bh=qFCX94Aivv31gDlV070YUVShHWiuTrL3NCZbpg4+0Vc=; b=F0/LfAfj8rtDrqDOdi0R52lgvhb4fYh2EFLnggsXEnGytsfrsHflpKpJ3ZzCVF6gYP XvCA8m7R1Y+ZTM7/xeQKtgpeUXjZ958cC1Xmg8fo5ZtKTHkGvFuI17/gsXQ+uS3Osxx0 pDmEiDEIxvlYnxoyWQcujy/2RSEqzH2k6qA4+v/TuNYxxmSj1af18+Vz1g7TbX115Jjo 3w7e3vRhL9jqRcRz8D94zp1F66ZbUK516nsaOOq0bRmUmL899wmveOT7e6j7dmjvGpVk 0y/gZJOU6HtcWupsNRNsYEgux4KOYC2OSlJ97BUIaOOMg0h0Jam90TkI15CjEwq5OjmR cQ+w== X-Gm-Message-State: AHYfb5i7kcGLJHMyHW1ibaDcmxoAYn/lZXd7y6oPQySwyXniOx8C2FBo STkVpm93KVBIsfzy0zsD+A== X-Received: by 10.84.210.175 with SMTP id a44mr1425571pli.274.1503308282234; Mon, 21 Aug 2017 02:38:02 -0700 (PDT) Received: from localhost.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 69sm23355087pfh.186.2017.08.21.02.37.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Aug 2017 02:38:01 -0700 (PDT) From: Yuanhan Liu To: Rasesh Mody Cc: dpdk stable , Yuanhan Liu Date: Mon, 21 Aug 2017 17:31:11 +0800 Message-Id: <1503307878-16728-57-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> References: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/qede: fix chip details print' has been queued to stable release 17.05.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2017 09:38:03 -0000 Hi, FYI, your patch has been queued to stable release 17.05.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 94468e6bb59a16529d84840c49e0d51937eb1eec Mon Sep 17 00:00:00 2001 From: Rasesh Mody Date: Mon, 24 Jul 2017 03:19:07 -0700 Subject: [PATCH] net/qede: fix chip details print [ upstream commit 3818ac224fd7ff536b233d711ba6e9654186ab09 ] Fix chip details printed as part of print adapter info Fixes: 2ea6f76aff40 ("qede: add core driver") Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index 9fae40b..bf3c2c8 100644 --- a/drivers/net/qede/qede_ethdev.c +++ b/drivers/net/qede/qede_ethdev.c @@ -308,9 +308,10 @@ static void qede_print_adapter_info(struct qede_dev *qdev) DP_INFO(edev, "*********************************\n"); DP_INFO(edev, " DPDK version:%s\n", rte_version()); - DP_INFO(edev, " Chip details : %s%d\n", + DP_INFO(edev, " Chip details : %s %c%d\n", ECORE_IS_BB(edev) ? "BB" : "AH", - CHIP_REV_IS_A0(edev) ? 0 : 1); + 'A' + edev->chip_rev, + (int)edev->chip_metal); snprintf(ver_str, QEDE_PMD_DRV_VER_STR_SIZE, "%d.%d.%d.%d", info->fw_major, info->fw_minor, info->fw_rev, info->fw_eng); snprintf(drv_ver, QEDE_PMD_DRV_VER_STR_SIZE, "%s_%s", -- 2.7.4