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 E405BA0032; Fri, 21 Oct 2022 12:51:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 78A6F42BA6; Fri, 21 Oct 2022 12:51:16 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 260BA42BA4; Fri, 21 Oct 2022 12:51:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666349475; x=1697885475; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DY4zhoClLedWly9N3MHnTRU5gyEEgkKctrOgNn6fntY=; b=g9WSY4nsIAqFDXXQtlmVpCy1Uw24BJDtfM3xp6xbYE1v5AjFp87ReZhc dZpI/cC/8ScOW6BDDgZwDPk5CcybH5R5UV0+fEKfuFnCwJ/NtH6PBr0N+ htxWFQ1dvsMS7fqsYvFRsj24+gaM3OoR5n8OUpXsva9itLPK0atOJc9MJ FwQCFEs6RIbXYnmEnYAeVNLZWIfjL8xPpyFTlauXyCASXqMHtLd1w6w0S G7QSsOH+FihRL7qhSuKxO1TcZevveeHEnU4grDiLAWpJjijg7jCNDCubQ VA15KZnsOAb0zUs7UWS0QUuvVoRwaw0RUQ+4LLTwoiSkDgdvI7dnb3vtG w==; X-IronPort-AV: E=McAfee;i="6500,9779,10506"; a="290280854" X-IronPort-AV: E=Sophos;i="5.95,200,1661842800"; d="scan'208";a="290280854" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2022 03:51:14 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10506"; a="772987608" X-IronPort-AV: E=Sophos;i="5.95,200,1661842800"; d="scan'208";a="772987608" Received: from unknown (HELO yemj..) ([10.239.252.253]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2022 03:51:11 -0700 From: Mingjin Ye To: dev@dpdk.org Cc: stable@dpdk.org, yidingx.zhou@intel.com, Mingjin Ye , Aman Singh , Yuying Zhang Subject: [PATCH v3 1/2] app/testpmd: fix vlan offload of rxq Date: Fri, 21 Oct 2022 18:38:18 +0000 Message-Id: <20221021183819.116270-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