From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by dpdk.org (Postfix) with ESMTP id 089F2911D for ; Wed, 31 May 2017 10:33:36 +0200 (CEST) Received: from [IPv6:2001:67c:1220:80c:f8f4:f055:211e:fe80] (unknown [IPv6:2001:67c:1220:80c:f8f4:f055:211e:fe80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by office2.cesnet.cz (Postfix) with ESMTPSA id C747220008; Wed, 31 May 2017 10:33:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2; t=1496219615; bh=xbpbAZoVtfSpcxi5YprCbUDtdokZRJJpSZ6vcRFdf0M=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=V1eBd6ZqPUDDPkv9kW0/3wwXfxOZd1bbyrVhy4F3N1FhRes1pmI9Yp92DizqiTD9Z +/ahdLe2K4X6H3Qpes/hfiVcnak/SFOJvqwOMYMbfmkkDilRidJdcFI+xpx/zkSfJj CJtebtFazitMcJ0o3AXFP+wMZLs7luKdsIQp8ygo= To: Ferruh Yigit References: <1495821956-5050-1-git-send-email-vido@cesnet.cz> <1495821956-5050-3-git-send-email-vido@cesnet.cz> Cc: dev@dpdk.org From: Matej Vido Message-ID: <88fb0928-3b53-8660-0d8b-36a27218abe6@cesnet.cz> Date: Wed, 31 May 2017 10:33:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH 3/5] net/szedata2: refactor ibuf and obuf address definition 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: Wed, 31 May 2017 08:33:36 -0000 On 29.05.2017 14:41, Ferruh Yigit wrote: > On 5/26/2017 7:05 PM, Matej Vido wrote: >> This is to prepare for firmwares with multiple ibufs and obufs. >> Offsets of ibufs and obufs are defined in array. > I was thinking ibufs and obufs as queues, but since link functions > updated per ibufs it looks like ports, can you please provide some > information what is ibufs and obufs? > > What is the benefit of having multiple ibufs and obufs? Hi Ferruh, ibufs and obufs are the modules in FPGA firmware implementing the Ethernet port (MAC layer, to be exact). There is one ibuf+obuf per Ethernet port. Our cards and firmwares allow one 100GE physical port to be one Ethernet port, or split into 10 ports of 10GE. However, all DMA queues in the device are shared between all Ethernet ports. Packet from any port can be passed by crossbar logic to any DMA queue (and from any DMA queue to any port). Regards, Matej > >> Functions which operate on ibufs and obufs iterate over this array. >> >> Signed-off-by: Matej Vido > <...>