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 38896A04FD for ; Mon, 3 Oct 2022 21:04:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31ED240DFB; Mon, 3 Oct 2022 21:04:41 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id D36E740684; Fri, 30 Sep 2022 09:59:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664524747; x=1696060747; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7NC1IieEKgdg3Ko2MVzCZ5Q43DUiuizR/VwixFRX5Bw=; b=U9+9mN47tbv20xSRmS6k6R/ABtgM9dbyEqmqVwwrOf/EQqg4RAWBQtM8 sWMjEgECXLgDfR2oMOElbwB2IAIQBCPe9mEnZiGH0qPn3Ucltad8th1WT Ldjl9v5gwNFY/eEgalpA2FJvQmyz4byyJqvSjASC80QkNMXpk7S8Gsazn 5qVfRZ9HVWHEz77PAMw6hfzZjtiM66rA54YgiPxCGdykw7TklpCZW5lJP JUYTKLerGlSuIiPn5Au2JtyXVCv6PHFbXf+o1hlXND40Mjx8X/HAh0zP1 4MP9LjUi1qLIqc5bZFSDF1ds3AT7szP39CLYboi641e8hS6SynImxE+n4 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="282497195" X-IronPort-AV: E=Sophos;i="5.93,357,1654585200"; d="scan'208";a="282497195" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2022 00:58:57 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10485"; a="617915747" X-IronPort-AV: E=Sophos;i="5.93,357,1654585200"; d="scan'208";a="617915747" Received: from unknown (HELO yemj..) ([10.239.252.253]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2022 00:58:55 -0700 From: Mingjin Ye To: dev@dpdk.org Cc: stable@dpdk.org, yidingx.zhou@intel.com, Mingjin Ye , Aman Singh , Yuying Zhang Subject: [PATCH] app/testpmd: fix vlan offload of rxq Date: Fri, 30 Sep 2022 15:45:57 +0000 Message-Id: <20220930154557.216141-1-mingjinx.ye@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 03 Oct 2022 21:04:39 +0200 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 After setting "vlan offload" in testpmd, the result does not update the rxq queues configuration. Therefore, this patch is to reconfigure rxq queues after executing the "vlan offload" command. 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 b4fe9dfb17..066a482fb5 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -4076,6 +4076,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