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 0DC79A00C5; Mon, 24 Oct 2022 10:37:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6ADD1427F5; Mon, 24 Oct 2022 10:37:33 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id B91D940E5A; Mon, 24 Oct 2022 10:37:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666600652; x=1698136652; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DY4zhoClLedWly9N3MHnTRU5gyEEgkKctrOgNn6fntY=; b=DjB6iMA0yaA19qvAh6Jnv8nvCpWjFpYpIpceexj8RH/wXaqVcr0Ylm85 yd2hE5o85a1v8F2VuM57OW8MPneuADJ6dRmQJPzoJ3YZ6QlMj+VrsWHae WEYS5pHTd9wNv0q9A9AZ8VPX9hSxtKGsPYs2xRwaqbaZv+zFkyt3Y0qZD O8xGQQydG4mru0nU+NYeT7rk0bT+6oT6vQfg3LKjrdgXHy9i8Xck1csKW OQCkvpgxVFadWOhZjykDMXk+HEg9g7Dns3i4CIf9Jnj553vBKAOoRDVvM EM77Zg1GguDulYlUejx91OnBcbma/56G6C7oMf78/5Xo+nyvEE1F357Lh A==; X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="333952497" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="333952497" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2022 01:37:30 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="633639245" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="633639245" Received: from unknown (HELO yemj..) ([10.239.252.253]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2022 01:37:28 -0700 From: Mingjin Ye To: dev@dpdk.org Cc: stable@dpdk.org, yidingx.zhou@intel.com, Mingjin Ye , Aman Singh , Yuying Zhang Subject: [PATCH v4 1/2] app/testpmd: fix vlan offload of rxq Date: Mon, 24 Oct 2022 16:24:37 +0000 Message-Id: <20221024162438.358978-1-mingjinx.ye@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org After setting vlan offload in testpmd, the result is not updated to rxq. Therefore, the queue needs to be reconfigured after executing the "vlan offload" related commands. Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") Cc: stable@dpdk.org Signed-off-by: Mingjin Ye --- app/test-pmd/cmdline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 17be2de402..ce125f549f 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -4133,6 +4133,7 @@ cmd_vlan_offload_parsed(void *parsed_result, else vlan_extend_set(port_id, on); + cmd_reconfig_device_queue(port_id, 1, 1); return; } -- 2.34.1