From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wang Xiao W Subject: [RFC PATCH 3/3] doc: add introduction for fm10k FTAG based forwarding Date: Tue, 5 Jan 2016 20:31:36 +0800 Message-ID: <1451997096-24248-4-git-send-email-xiao.w.wang@intel.com> References: <1451997096-24248-1-git-send-email-xiao.w.wang@intel.com> Cc: dev@dpdk.org To: jing.d.chen@intel.com, bruce.richardson@intel.com Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 6729E9370 for ; Tue, 5 Jan 2016 13:31:57 +0100 (CET) In-Reply-To: <1451997096-24248-1-git-send-email-xiao.w.wang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add a brief introduction on FTAG, describes what's FTAG and how it works in forwarding, introduction on how to run fm10k with FTAG is also included. Signed-off-by: Wang Xiao W --- doc/guides/nics/fm10k.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/guides/nics/fm10k.rst b/doc/guides/nics/fm10k.rst index 4206b7f..d82bf41 100644 --- a/doc/guides/nics/fm10k.rst +++ b/doc/guides/nics/fm10k.rst @@ -34,6 +34,19 @@ FM10K Poll Mode Driver The FM10K poll mode driver library provides support for the Intel FM10000 (FM10K) family of 40GbE/100GbE adapters. +FTAG Based Forwarding of FM10K +------------------------------ +FTAG Based Forwarding is a unique feature of FM10K. The FM10K family of NICs +support the addition of a Fabric Tag (FTAG) to carry special information. +The FTAG is placed at the beginning of the frame, it contains information such +as where the packet comes from and goes, the vlan tag. In FTAG based forwarding +mode, the switch logic forwards packets according to glort (global resource tag) +information, other than the mac and vlan table. Now this feature works only on +PF. + +To enable this feature, turn CONFIG_RTE_LIBRTE_FM10K_FTAG_FWD to y in the +configuration file. A unit test case fm10k_ftag_autotest is for reference, it shows +how to read sglort info on RX and how to make an FTAG on TX. Limitations ----------- -- 1.9.3