Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 2017 16:08:57 +0200
From:      Hartmut Brandt <hartmut.brandt@dlr.de>
To:        <hackers@freebsd.org>
Subject:   PCIe transaction size
Message-ID:  <alpine.BSF.2.20.1710211602260.30338@KNOP-BEAGLE.kn.op.dlr.de>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm designing a FPGA board that has memory that is accessible via the PCIe 
bus from FreeBSD. I observed, that the host always splits the memory 
transactions on 8 byte boundaries. So reading or storing an 128-bit 
integer generates two transactions, if the integer is unaligned even four.

Is there a way to get the CPU or chipset or whoever produces the 
transactions to make larger transactions? I found an Intel paper that 
seems to talk about this (How to Implement a 64B PCIe Burst Transfer or 
Intel Architecture) but I've no idea how to do what they write on FreeBSD 
:-).

Any help?

harti



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1710211602260.30338>