An apparatus, and method and computer program thereof, comprises a
plurality of ports each adapted to receive packets of data; a memory
controller core adapted to generate one or more memory transactions for
each of the packets of the data, wherein each memory transaction
comprises a payload having a size of m bytes, and wherein the payloads
contain the data; a memory comprising a plurality of memory banks adapted
to store the data, wherein the memory can receive no more than n bytes of
data in a single memory transaction; and a memory interface adapted to
transmit the memory transactions to the memory; wherein m=kn and k is an
integer.