From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] fm10k: enable PCIe port level Loopback Suppression Date: Thu, 25 Feb 2016 21:45:46 +0000 Message-ID: <20160225214546.GC14936@bricha3-MOBL3> References: <1454589801-691-1-git-send-email-shaopeng.he@intel.com> <4341B239C0EFF9468EE453F9E9F4604D0443D022@shsmsx102.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" To: "Chen, Jing D" Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id D8A0D2BC8 for ; Thu, 25 Feb 2016 22:46:15 +0100 (CET) Content-Disposition: inline In-Reply-To: <4341B239C0EFF9468EE453F9E9F4604D0443D022@shsmsx102.ccr.corp.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" On Fri, Feb 05, 2016 at 09:25:02AM +0000, Chen, Jing D wrote: > Hi, > > Best Regards, > Mark > > > > -----Original Message----- > > From: He, Shaopeng > > Sent: Thursday, February 04, 2016 8:43 PM > > To: dev@dpdk.org > > Cc: Chen, Jing D; Wang, Xiao W; He, Shaopeng > > Subject: [PATCH v2] fm10k: enable PCIe port level Loopback Suppression > > > > In FM10K, a single PCIe port can derive out a few logical ports, > > like SRIOV PF/VF devices, VMDQ objects. To better manage them, FM10K > > silicon assigned a Unique GLORT ID to each logical ports. > > When a logical port sends a broadcast packet, the silicon will flood > > it to all Logical ports, including the one sent the broadcast packet. > > To prevent this, silicon has a rxq register to fill the glort id of > > the logical port that queue binds to. > > FM10K has a switch core inside, which has another loopback suppression > > mechanism in the switch level. Switch level loopback suppression mostly > > works for the ether port traffic. > > This patch assigns a SGLORT for each RX queue, and enables PCIe port > > level Loopback Suppression. > > > > Signed-off-by: Shaopeng He > Acked-by : Jing Chen > Applied to dpdk-next-net/rel_16_04 /Bruce