From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5] ip_pipeline: add more functions to routing-pipeline Date: Mon, 07 Dec 2015 01:55:24 +0100 Message-ID: <2236848.gZKv1toHWy@xps13> References: <1446028504-21177-1-git-send-email-jasvinder.singh@intel.com> <1449051743-26873-1-git-send-email-jasvinder.singh@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Jasvinder Singh Return-path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 8AB5093CC for ; Mon, 7 Dec 2015 01:56:40 +0100 (CET) Received: by wmuu63 with SMTP id u63so121832666wmu.0 for ; Sun, 06 Dec 2015 16:56:40 -0800 (PST) In-Reply-To: <1449051743-26873-1-git-send-email-jasvinder.singh@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" 2015-12-02 10:22, Jasvinder Singh: > This patch adds following features to the > routing-pipeline to enable it for various NFV > use-cases; > > 1.Fast-path ARP table enable/disable > 2.Double-tagged VLAN (Q-in-Q) packet enacapsulation > for the next-hop > 3.MPLS encapsulation for the next-hop > 4.Add colour (Traffic-class for QoS) to the MPLS tag > 5.Classification action to select the input queue > of the hierarchical schedular (QoS) > > The above proposed features can be enabled > (or disabled) through the parameters specified > in configuration file as below; > > [PIPELINE0] > type = ROUTING > core = 1 > pktq_in = RXQ0.0 RXQ1.0 RXQ2.0 RXQ3.0 > pktq_out = TXQ0.0 TXQ1.0 TXQ2.0 TXQ3.0 > n_routes = 4096 > n_arp_entries = 1024 > ip_hdr_offset = 142 > arp_key_offset = 64 > l2 = qinq > qinq_sched = no > > The LPM table entries might include additional > fields depending upon the packet encapsulation > (Q-in-Q, MPLS)for the next-hop. The CLI > commands for adding or deleting such entries > to LPM table have been implemented. Action > handlers for QinQ and MPLS encapsulation, > classification action to select the input queue > of the hierarchical schedular(QoS) and adding > colour (Traffic-class for QoS) to the MPLS > tag have been implemented. > > Signed-off-by: Jasvinder Singh > Acked-by: Cristian Dumitrescu Applied, thanks