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 D991FA034C for ; Mon, 24 Oct 2022 11:40:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D3B404281C; Mon, 24 Oct 2022 11:40:01 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 5A833400D6; Mon, 24 Oct 2022 11:39: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=1666604399; x=1698140399; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DY4zhoClLedWly9N3MHnTRU5gyEEgkKctrOgNn6fntY=; b=GCiTiEX1jkXMthPsbpINg/F8kXihbbnKG/nAl7RLJdC1TeTh6hRqTcPT ZQrQsZUvQScwXvrJGl+HGxMsFNsqteaCuqIg6n7iCNRf/acolX9WrZyB/ rHgdrE5h9UbRefXvnC5UdSl0ZIO+JSK4Rufm0jWQxD142Zxfm4UzdiJ0f YP0dn+R2sgDGTmJCxZTgZRZazbiIkNkkRR1DjV7yTtB+q2CPSN3VFwlrx ETpgkSGRAGpLCv0DgcGbuD/fKg7TVIppra6apoH0OwKImlPI6qa6UybrW 6ZGX5gchEeD5olDsbaUopY/3WD9BbPjeuVdSK0LL+wTVRST1Q3uQVCihi g==; X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="371596079" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="371596079" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2022 02:39:57 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="806253259" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="806253259" Received: from unknown (HELO yemj..) ([10.239.252.253]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2022 02:39: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 v4 1/2] app/testpmd: fix vlan offload of rxq Date: Mon, 24 Oct 2022 17:27:03 +0000 Message-Id: <20221024172704.414513-1-mingjinx.ye@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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