[dpdk-dev] [PATCH 3/5] net/szedata2: refactor ibuf and obuf address definition

Matej Vido vido at cesnet.cz
Wed May 31 10:33:35 CEST 2017


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 <vido at cesnet.cz>
> <...>



More information about the dev mailing list