From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2017 19:48:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,349,1498546800"; d="scan'208";a="1203989554" Received: from dpdk15.sh.intel.com ([10.67.111.77]) by fmsmga002.fm.intel.com with ESMTP; 09 Aug 2017 19:48:36 -0700 From: Jiayu Hu To: dev@dpdk.org Cc: konstantin.ananyev@intel.com, thomas@monjalon.net, jianfeng.tan@intel.com, yliu@fridaylinux.org, jingjing.wu@intel.com, Jiayu Hu Date: Thu, 10 Aug 2017 10:50:48 +0800 Message-Id: <1502333448-75976-3-git-send-email-jiayu.hu@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502333448-75976-1-git-send-email-jiayu.hu@intel.com> References: <1502333448-75976-1-git-send-email-jiayu.hu@intel.com> Subject: [dpdk-dev] [PATCH 2/2] doc: update testpmd user guide for the heavyweight mode GRO X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2017 02:48:47 -0000 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