From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 70418C486 for ; Thu, 23 Jun 2016 11:05:05 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 23 Jun 2016 02:05:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,515,1459839600"; d="scan'208";a="833728934" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga003.jf.intel.com with ESMTP; 23 Jun 2016 02:05:05 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id u5N9528I023948; Thu, 23 Jun 2016 17:05:02 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u5N94x6N027075; Thu, 23 Jun 2016 17:05:01 +0800 Received: (from beileixi@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id u5N94xNN027071; Thu, 23 Jun 2016 17:04:59 +0800 From: Beilei Xing To: john.mcnamara@intel.com Cc: dev@dpdk.org, Beilei Xing Date: Thu, 23 Jun 2016 17:04:55 +0800 Message-Id: <1466672695-27041-1-git-send-email-beilei.xing@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] examples/l3fwd: update documentation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 09:05:05 -0000 Update l3fwd documentation with -E, -L and --eth-dest options. Signed-off-by: Beilei Xing --- doc/guides/sample_app_ug/l3_forward.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/guides/sample_app_ug/l3_forward.rst b/doc/guides/sample_app_ug/l3_forward.rst index 491f99d..4ab5149 100644 --- a/doc/guides/sample_app_ug/l3_forward.rst +++ b/doc/guides/sample_app_ug/l3_forward.rst @@ -101,8 +101,14 @@ where, * -P: optional, sets all ports to promiscuous mode so that packets are accepted regardless of the packet's Ethernet MAC destination address. Without this option, only packets with the Ethernet MAC destination address set to the Ethernet address of the port are accepted. +* -E: enable exact match + +* -L: enable longest prefix match + * --config (port,queue,lcore)[,(port,queue,lcore)]: determines which queues from which ports are mapped to which cores +* --eth-dest=X,MM:MM:MM:MM:MM:MM: optional, ethernet destination for port X + * --enable-jumbo: optional, enables jumbo frames * --max-pkt-len: optional, maximum packet length in decimal (64-9600) @@ -113,7 +119,7 @@ where, * --ipv6: optional, set it if running ipv6 packets -* --parse-ptype: optional, set it if use software way to analyze packet type +* --parse-ptype: optional, set it if use software way to analyze packet type. Without this option, HW will check packet type. For example, consider a dual processor socket platform where cores 0-7 and 16-23 appear on socket 0, while cores 8-15 and 24-31 appear on socket 1. Let's say that the programmer wants to use memory from both NUMA nodes, the platform has only two ports, one connected to each NUMA node, -- 2.5.0