From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 022E2A0C41 for ; Tue, 30 Nov 2021 17:36:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EA8DD411A7; Tue, 30 Nov 2021 17:36:37 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 448DF41170 for ; Tue, 30 Nov 2021 17:36:37 +0100 (CET) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 2A90C3FFF1 for ; Tue, 30 Nov 2021 16:36:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290197; bh=gMGZCoUl6MeRJmAXyxyjJppbBAwmZCWRrWlpUyv3nKg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sWnsroakPlEBrQ4pkkMQtv4hszfxDJKsGLegvGEQ1wcY0wPjUvy6YRU8mKnFZbZ9a 8dNTfteJZMBKS70C8kwXXXUyzFNj8V74v54gqXOMH/qxvHD0SHnDLyCsuI5EEXX9mx 10X6AfZQsOlZRlkE/WnUANlPHICHV8skGU9fKyiLX/hvQt/SshWzu5lr/nuGoQNJO2 OGLIwdR3F3oAH4qwiCU+nhown13uPymF9jj8VYzZkYuR3beYpUoVNF0/hMi2GzYx5Z lX/VDda3M5j+6W5LEBjGo7n58VRTodVXzOgkYn/sEuH5PtQh/odKUBwBMWK02kwyzl CRDz/bojmT4kA== Received: by mail-ed1-f71.google.com with SMTP id v22-20020a50a456000000b003e7cbfe3dfeso17438356edb.11 for ; Tue, 30 Nov 2021 08:36:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gMGZCoUl6MeRJmAXyxyjJppbBAwmZCWRrWlpUyv3nKg=; b=Se52aC4Ipau4gB6ObpZPgVIalDl9tLJNJANK6ai6fEArsA3x3NB5ZdZL02XqtAP1Fe 9kC3YCcIDFrjZLkc5UIg7NhRCvxs1MStEq0AREvz68dy+BMEKsmgjSeisMa3UDh2O7d6 mIaDLgicpJwSzyARjbJqURx+oaWPtplf8V6MG3diuAiEjcap6vP+pa6SH0KgjoJv3r58 3i54bD21YyzcN8S6n3+KIeZcUJ//9YKkKTAcoxT/vqeZW1HQL8dh6fqAIcfG7BI3q0iL iCqcIVA9+yHTok6VhcvakHhowQmXBORoBItqm57gAs759XJiz0Mxr42JfsRmlD+3D8vF KnaQ== X-Gm-Message-State: AOAM532530T1Zomen6JYW6U7QapsfYxuG8k/c4O31Aq52BpgHPZb3csH d2hsBVCV/z8tDRLFhf7mGAUvGlxItk0M5q0+Iv0s1ozEGM49vM++6KJUHpT2N6OpIB/x+StDCep U22+F2+rzibvUCQTEFGmW4PGz X-Received: by 2002:a17:906:1558:: with SMTP id c24mr137296ejd.553.1638290196174; Tue, 30 Nov 2021 08:36:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHYVY2AgkKQBofHdj59rXDlxKZpa1UrQIcD9HiRpB8Y4aIttRqLrpVxMIlVLInToOpLCvPDw== X-Received: by 2002:a17:906:1558:: with SMTP id c24mr137277ejd.553.1638290196029; Tue, 30 Nov 2021 08:36:36 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id e13sm9224302eje.95.2021.11.30.08.36.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:36:35 -0800 (PST) From: christian.ehrhardt@canonical.com To: Nithin Dabilpuram Cc: Xiaoyun Li , Raslan Darawsheh , dpdk stable Subject: patch 'app/testpmd: fix dump of Tx offload flags' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:33:33 +0100 Message-Id: <20211130163605.2460997-9-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> References: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 Hi, FYI, your patch has been queued to stable release 19.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before December 10th 2021. 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. Queued patches are on a temporary branch at: https://github.com/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/f534d153299040bd4c82a18670dd98c370cf8660 Thanks. Christian Ehrhardt --- >From f534d153299040bd4c82a18670dd98c370cf8660 Mon Sep 17 00:00:00 2001 From: Nithin Dabilpuram Date: Mon, 16 Aug 2021 12:39:42 +0530 Subject: [PATCH] app/testpmd: fix dump of Tx offload flags [ upstream commit eeedef704c11bd74c367d62838700bdb8e5b573f ] Fix verbose mode dump for Tx to dump tx offload flags instead of Rx offload flags. Fixes: d862c45b5955 ("app/testpmd: move dumping packets to a separate function") Signed-off-by: Nithin Dabilpuram Acked-by: Xiaoyun Li Acked-by: Raslan Darawsheh --- app/test-pmd/util.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/util.c b/app/test-pmd/util.c index 487260d59d..416980cb2d 100644 --- a/app/test-pmd/util.c +++ b/app/test-pmd/util.c @@ -191,7 +191,11 @@ dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[], " - %s queue=0x%x", is_rx ? "Receive" : "Send", (unsigned int) queue); MKDUMPSTR(print_buf, buf_size, cur_len, "\n"); - rte_get_rx_ol_flag_list(mb->ol_flags, buf, sizeof(buf)); + if (is_rx) + rte_get_rx_ol_flag_list(mb->ol_flags, buf, sizeof(buf)); + else + rte_get_tx_ol_flag_list(mb->ol_flags, buf, sizeof(buf)); + MKDUMPSTR(print_buf, buf_size, cur_len, " ol_flags: %s\n", buf); if (rte_mbuf_check(mb, 1, &reason) < 0) -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:06.683854689 +0100 +++ 0009-app-testpmd-fix-dump-of-Tx-offload-flags.patch 2021-11-30 16:50:05.514871505 +0100 @@ -1 +1 @@ -From eeedef704c11bd74c367d62838700bdb8e5b573f Mon Sep 17 00:00:00 2001 +From f534d153299040bd4c82a18670dd98c370cf8660 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit eeedef704c11bd74c367d62838700bdb8e5b573f ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 5dd7157947..14a9a251fb 100644 +index 487260d59d..416980cb2d 100644 @@ -23 +24 @@ -@@ -275,7 +275,11 @@ dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[], +@@ -191,7 +191,11 @@ dump_pkt_burst(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[],