From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Zhao Subject: [PATCH v4 3/3] doc/testpmd_app_ug: add doc info for queue region Date: Thu, 28 Sep 2017 17:10:09 +0800 Message-ID: <1506589809-59533-4-git-send-email-wei.zhao1@intel.com> References: <1505445188-70251-1-git-send-email-wei.zhao1@intel.com> <1506589809-59533-1-git-send-email-wei.zhao1@intel.com> Cc: Wei Zhao To: dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id D80952BF2 for ; Thu, 28 Sep 2017 11:21:11 +0200 (CEST) In-Reply-To: <1506589809-59533-1-git-send-email-wei.zhao1@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Queue region only support PF by now, so this document is only for configuration of queue region on PF port. Signed-off-by: Wei Zhao --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 40 +++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 2ed62f5..f31ec5f 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -842,6 +842,46 @@ Where: Check the NIC Datasheet for hardware limits. +RSS queue region +~~~~~~~~~~~~~~~~ + +Set RSS queue region span on a port:: + + testpmd> queue-region set port (port_id) region_id (value) queue_start_index (value) queue_num (value) + +Set flowtype mapping on a RSS queue region on a port:: + + testpmd> queue-region set port (port_id) region_id (value) flowtype (value) + +where: + +* For the flowtype(pctype) of packet,the specific index for each type has + been defined in file i40e_type.h as enum i40e_filter_pctype. + +Set user priority mapping on a RSS queue region on a port:: + + testpmd> queue-region set port (port_id) UP (value) region_id (value) + +Flush all queue region related configuration on a port:: + + testpmd> queue-region flush (on|off) port (port_id) + +where: +* "on"is just an enable function which server for other configuration, + it is for all configuration about queue region from up layer, + at first will only keep in DPDK softwarestored in driver, + only after "flush on", it commit all configuration to HW. + "off" is just clean all configuration about queue region just now, + and restore all to DPDK i40e driver default config when start up. + +Get all queue region related configuration info on a port:: + + testpmd> queue-region get port (port_id) + +.. note:: +Queue region only support on PF by now, so these command is +only for configuration of queue region on PF port. + csum parse-tunnel ~~~~~~~~~~~~~~~~~ -- 2.7.4