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 C7744A00C5; Mon, 24 Oct 2022 09:56:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A885A40E5A; Mon, 24 Oct 2022 09:56:59 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 20E1340041; Mon, 24 Oct 2022 09:56:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666598218; x=1698134218; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DY4zhoClLedWly9N3MHnTRU5gyEEgkKctrOgNn6fntY=; b=jLr9zZhMfGx2i6ZEvrhY1KodScof9JkEj/IEAT3E5bYmAVtDBAMJRLBQ j3IiRNCKv5uxUY4A6cDFUs4SIXKOZebSnSbROWcYcBxwyQNVpHlBPQ4MF OQd04p+0tUbNGorcdyU2XyagMW3/RdVq4BwWofpIjrnOkudPSmdBIyoh1 G5GQE2BNYDQmLiRPHsM3W0u57UBWmt2MAWsSC6gIRbCEMO9liRkFA1zhq AoCOO06RMIUkwb9s3e00kOevSWMIJtjbG9I12YcPhV374KXJt1aNm16k+ uCVaGWwosVN35Ta5aBUMNmRyDjmsee5svEhcOvfvkNchuXMoiPosjt+G9 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="308455957" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="308455957" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2022 00:56:57 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="582342274" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="582342274" Received: from unknown (HELO yemj..) ([10.239.252.253]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2022 00:56:54 -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 15:44:01 +0000 Message-Id: <20221024154402.302702-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