From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9B623A0093 for ; Tue, 19 May 2020 15:07:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 93A541D65D; Tue, 19 May 2020 15:07:23 +0200 (CEST) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id EAB801D666 for ; Tue, 19 May 2020 15:07:21 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id k13so13750019wrx.3 for ; Tue, 19 May 2020 06:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N6XaedQ2LcbNS2f8/vizuwFcnq7rxpt5ABIetI0qYDg=; b=VnIm2n1NpCYsyeAh7HMyQcLlxPcKILnB4plcHag/8P3nCWMj/p2eqpc+/YyJhtAaib v030CNmD3sK8ICLQPKfSFa3vGFlMNj76dWLWSrvV4lmVBOWgO5IM4w9mOdIyyGrVfHUV Blg3GtujLObEkbwtCepvyHZYMC4RtCOU/iIP3/tlG9bgI1yLFIk5QocQFp6EsMdGZ7A9 LGSoFZjDtDKD2qfvhLAhhpPRvOUGuka2wrMoSyusGJ6x17xVZrrPx6i8t9QjinYWVXk8 hi7R5UKnVYvXr3gkU6e+PiLNIw/i554h42EErAfuAqijYt859R8r1ujcNxiXbDEK2V0x KNDg== 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:mime-version:content-transfer-encoding; bh=N6XaedQ2LcbNS2f8/vizuwFcnq7rxpt5ABIetI0qYDg=; b=IkVdq5YZabqp5FQC0ShsVA3JtIb0KSF1HaRbNvI0VdvpI7XLvMrY7Ibq46v0cb5i0+ 0SqKHIRh23EZiNJErTDq3N8/ZBt9aSn5q1zHw2U22r/FYvqY6tvljWGtSzTYh2BjfNuA kddQw9M1HyUUkOM52xnEEuDcMblK9B1lk23pZNIOSlamGLZX/rGTzxFHn7YmN5kWSAw8 O56aVJPXo7jYqJ3EeGsfwnsyyGzCbRe8BQPA1C13USRh/wDncuS77WP6kiCeRRK6+Dkc wtXyUFPQPMFW27k0xr3NqRdtlBrSP5dB2dA+E3bgKrb3/sclx+Kk7rgWtlzFUUnuEg9c Y83g== X-Gm-Message-State: AOAM530JICEgBnW+p5tBXUW26L7nUl+evQfVTfZsMIaCaHhVGL1KXH22 AREkQFCF+SUhpro198zBNKWoOXfBUksriCQr X-Google-Smtp-Source: ABdhPJxYlXZpwPH5si73RgLQBRoNJ/kSCJOcLPomeK8jA96TxOZXMGrzXP48VpRuU4HydzM5HQPz6Q== X-Received: by 2002:adf:8563:: with SMTP id 90mr25049687wrh.74.1589893641682; Tue, 19 May 2020 06:07:21 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id a15sm20838560wrw.56.2020.05.19.06.07.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 06:07:21 -0700 (PDT) From: luca.boccassi@gmail.com To: Stephen Hemminger Cc: Ferruh Yigit , dpdk stable Date: Tue, 19 May 2020 14:02:44 +0100 Message-Id: <20200519130549.112823-29-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519130549.112823-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> <20200519130549.112823-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/pfe: do not use PMD log type' has been queued to stable release 19.11.3 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/21/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From 45284045c58780ae09331d624908109627842d46 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 30 Mar 2020 21:41:53 -0700 Subject: [PATCH] net/pfe: do not use PMD log type [ upstream commit b8907ccf16d00be8f8fb979c2aa44f867143661a ] The PMD logtype is a legacy from original DPDK logging. All drivers must use their own dynamic log type. Fixes: b1bc1afa4a0e ("net/pfe: support dynamic logging") Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit --- drivers/net/pfe/pfe_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/pfe/pfe_ethdev.c b/drivers/net/pfe/pfe_ethdev.c index 9403478198..59b5b8387b 100644 --- a/drivers/net/pfe/pfe_ethdev.c +++ b/drivers/net/pfe/pfe_ethdev.c @@ -990,7 +990,7 @@ pmd_pfe_probe(struct rte_vdev_device *vdev) if (rc < 0) return -EINVAL; - RTE_LOG(INFO, PMD, "Initializing pmd_pfe for %s Given gem-id %d\n", + PFE_PMD_LOG(INFO, "Initializing pmd_pfe for %s Given gem-id %d", name, init_params.gem_id); if (g_pfe) { @@ -1118,7 +1118,7 @@ eth_init: else gem_id = init_params.gem_id; - RTE_LOG(INFO, PMD, "Init pmd_pfe for %s gem-id %d(given =%d)\n", + PFE_PMD_LOG(INFO, "Init pmd_pfe for %s gem-id %d(given =%d)", name, gem_id, init_params.gem_id); rc = pfe_eth_init(vdev, g_pfe, gem_id); -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 14:04:45.792065814 +0100 +++ 0029-net-pfe-do-not-use-PMD-log-type.patch 2020-05-19 14:04:44.164647430 +0100 @@ -1,13 +1,14 @@ -From b8907ccf16d00be8f8fb979c2aa44f867143661a Mon Sep 17 00:00:00 2001 +From 45284045c58780ae09331d624908109627842d46 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 30 Mar 2020 21:41:53 -0700 Subject: [PATCH] net/pfe: do not use PMD log type +[ upstream commit b8907ccf16d00be8f8fb979c2aa44f867143661a ] + The PMD logtype is a legacy from original DPDK logging. All drivers must use their own dynamic log type. Fixes: b1bc1afa4a0e ("net/pfe: support dynamic logging") -Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit