From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiayu Hu Subject: [PATCH 2/2] doc: update testpmd user guide for the heavyweight mode GRO Date: Thu, 10 Aug 2017 10:50:48 +0800 Message-ID: <1502333448-75976-3-git-send-email-jiayu.hu@intel.com> References: <1502333448-75976-1-git-send-email-jiayu.hu@intel.com> Cc: konstantin.ananyev@intel.com, thomas@monjalon.net, jianfeng.tan@intel.com, yliu@fridaylinux.org, jingjing.wu@intel.com, Jiayu Hu To: dev@dpdk.org Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 27E4C2BA1 for ; Thu, 10 Aug 2017 04:48:47 +0200 (CEST) In-Reply-To: <1502333448-75976-1-git-send-email-jiayu.hu@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" Signed-off-by: Jiayu Hu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 2ed62f5..bc8f7f8 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -903,7 +903,7 @@ gro Enable or disable GRO in ``csum`` forwarding engine:: - testpmd> gro (on|off) (port_id) + testpmd> gro (heavymode|lightmode) (on|off) (port_id) If enabled, the csum forwarding engine will perform GRO on the TCP/IPv4 packets received from the given port. @@ -932,6 +932,18 @@ number of packets a GRO table can store. If current packet number is greater than or equal to the max value, GRO will stop processing incoming packets. +gro flush interval +~~~~~~~~~~~~~~~~~~ + +Set the interval of flushing GROed packets from reassembly tables:: + + testpmd> gro flush interval (num) + +In the heavyweight mode, GROed packets are flushed from the reassembly +tables and sent out when perform GRO every ``num`` times. + +The value of ``num`` should be in the range of 0 to ``GRO_MAX_FLUSH_INTERVAL``. + mac_addr add ~~~~~~~~~~~~ -- 2.7.4