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 9DC3DA0542; Wed, 26 Oct 2022 11:23:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 925C142B82; Wed, 26 Oct 2022 11:23:02 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 3BA8840041; Wed, 26 Oct 2022 11:22:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666776180; x=1698312180; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DY4zhoClLedWly9N3MHnTRU5gyEEgkKctrOgNn6fntY=; b=F6T7puDm2uqN8na2YhEfM3PdTJiRFct0g5cTjmd7KpjU6FWOO9gOM5xX prvdJeVatRMVyEWnjIsArwuJrm/4xkC9kO+2JbRLGR4cd6H4c34Gp1bSW ap1zaAE4HEuwXtMqLR02D/JiIoBG75O/6GArp1gonZNUn9PDIEhs05srH fgqaFeK+P8GOAIj6/fBydjfTTehCqsc33vPF441TQWBma2QpC5h9Xqw1u dVoXWtSjOViejaKdZPU8utBZ/EScc8sv/142cjDC4FpNkYk4E1BDchNqC m6imA5g8KqQwpsjnd8EQsRL1crwRLfik3fhHumjRxnpl5loclbwvhdNAN Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="308994966" X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="308994966" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2022 02:22:59 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="877123472" X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="877123472" Received: from unknown (HELO yemj..) ([10.239.252.253]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2022 02:22:56 -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: Wed, 26 Oct 2022 17:10:06 +0000 Message-Id: <20221026171007.654038-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