Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Regular Contributor
maxman
Posts: 81
Registered: ‎09-30-2009
0

Maximum packet size

Hi,

 

 

What is maximum packet size of DMA Scatter Gather with Packet Mode (as a part of opb_ipif)?
How many buffer descriptors can comprises one packet?
And what is maximum/minimum size of one buffer descriptor?
Do these parameters have any restrictions or not?

 

Thanks!

 

Max

 

Visitor
cuiziq
Posts: 1
Registered: ‎03-13-2011
0

Re: Maximum packet size

Hi,

 

I am now working with the Scatter Gather DMA, and have the same question as yours.

 

As i know, it is ok to use only one buffer descriptor to form a packet, which you can find in MPMC datasheet for detailed information.

 

and I have no idea about the maximum size of a buffer descriptor.

 

Cui

Regular Contributor
maxman
Posts: 81
Registered: ‎09-30-2009
0

Re: Maximum packet size

 

Hi Cui,
Good for you that you can use MPMC. 
I have no such opportunity, bcause we use QNX OS and it's bsp attached to EDK 8.2 and only one way to connect high performance IP is through opb_ipif.  
Where I  found that max buffer discriptor size is 64byte. And if I want make 4kbyte packet I need create 64 BDs. 
And if all quantity of data to be transfered is 2Mbyte then I need create 32768(!!!) BDs.

 

 

Max

Xilinx Employee
joshual
Posts: 188
Registered: ‎08-01-2007
0

Re: Maximum packet size

can't remember it clearly, but there should be some IP core such as opb_central_dma available for you, right?
Regular Contributor
maxman
Posts: 81
Registered: ‎09-30-2009
0

Re: Maximum packet size

Hi Joshua,

 

Yes, opb_central_dma IP exists, but it doesn't support SG packet mode.  So only one way to use SG is through ipif.
But 64 byte size of one buffer descriptor is something abnormal!

In this way it's easier to use Master interface burst transactions for transfering big volume of data. Besides master IP interface doesn't require any software initialization. 

 

Max