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 EC702A04FD; Tue, 27 Dec 2022 10:02:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F487410FC; Tue, 27 Dec 2022 10:02:24 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 9CFC840E2D; Tue, 27 Dec 2022 10:02:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672131744; x=1703667744; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=feGQrG3l3/oMXMjcZfAdjIEUGBiB/DOIH2kQ5TYwXG4=; b=G3/0JTUXexFqzNnE668nKMXWjj02F3KgrfkaP8UcN4LusOYSQA0ozcai ur2RHAhcbHSbJLIkK9N5qrRga5FwxJCwJyyvrCCcfDKFzKTbUn49V9FjU hcqa8rI6RAO7mO4Qc9btOMTW2Ip7YhPcThkkAZ70tndfrn8JIsBolqD8a 95ovbDNdgMdcg8wRs0C9tZ/Hfz1YqaS12C3MHGHu3xueLchfJAP32tS5q xKtfEzdadXAB1C/XMGvQH+7a5Z/iRokC0GRunJ2aPVrtpOcPsN32HBnqd LFbyIUy+4piqS/nRn/goAXkUn7yMVDheoJovBbRZhNcnn7IX7s7Q1SnOF w==; X-IronPort-AV: E=McAfee;i="6500,9779,10572"; a="318345787" X-IronPort-AV: E=Sophos;i="5.96,278,1665471600"; d="scan'208";a="318345787" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2022 01:02:22 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10572"; a="683558684" X-IronPort-AV: E=Sophos;i="5.96,278,1665471600"; d="scan'208";a="683558684" Received: from unknown (HELO yemj..) ([10.239.252.253]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2022 01:02:18 -0800 From: Mingjin Ye To: dev@dpdk.org Cc: qiming.yang@intel.com, stable@dpdk.org, yidingx.zhou@intel.com, Mingjin Ye , Qi Zhang , Ranjit Menon , Ferruh Yigit , Jie Zhou , Pallavi Kadam Subject: [PATCH v7] doc: add PMD known issue Date: Tue, 27 Dec 2022 17:00:40 +0800 Message-Id: <20221227090040.38394-1-mingjinx.ye@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221121025443.190608-1-mingjinx.ye@intel.com> References: <20221121025443.190608-1-mingjinx.ye@intel.com> 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 Add a known issue: Rx path dynamic routing is not supported for PMD. Fixes: de853a3bb151 ("net/ice: disable DDP package on Windows") Cc: stable@dpdk.org Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst index ce075e067c..a0739d81b1 100644 --- a/doc/guides/nics/ice.rst +++ b/doc/guides/nics/ice.rst @@ -395,3 +395,27 @@ file is used by both the kernel driver and the DPDK PMD. Windows support: The DDP package is not supported on Windows so, loading of the package is disabled on Windows. + +ice: Rx path is not supported after PF or DCF add vlan offload +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If pmd does not enable Vlan offload during initialization, it will +automatically select Rx paths that do not support offload. Even if +Vlan offload is subsequently enabled through the API, Vlan offload +will not work because the selected Rx path does not support Vlan +offload. + +cmd_vlan_offload_parsed() goes down to the follow ethdev API functions: + - rte_eth_dev_set_vlan_strip_on_queue() + - rte_eth_dev_set_vlan_offload() + +These functions add offload settings when the port is started, running +and processing traffic. At this time, ``rte_eth_rx_queue_setup`` api is +needed to reroute rxq to the RX path with offload function. But at this +time, it is possible that the original Rx path is handling packages, so +this is not thread-safe. + +When applying offload on the PF or DCF, starting the ``testpmd`` +application, use the ``--rx-offloads`` startup parameter to force the +dpdk lib to choose the Rx path with the offload function by default. + -- 2.34.1