I would like to support Scatter Gather Lists (SGL) on our 66xc DSP (four and eight core). Would you have any whitepapers or samples on how to do this? Is this possible on the given DSP?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I would like to support Scatter Gather Lists (SGL) on our 66xc DSP (four and eight core). Would you have any whitepapers or samples on how to do this? Is this possible on the given DSP?
Elaborating on Eric's application:
There is a CPU attached via PCIe to the DSP. The CPU will write a scatter-gather list (SGL) to the DSP and the DSP would use the SGL to write to the CPU's PCIe mapped memory. The transfer would be over 760kB and the "NumberOfElements" and "Length" field below can be variable.
typedef struct _SCATTER_GATHER_LIST { ULONG NumberOfElements; ULONG_PTR Reserved; SCATTER_GATHER_ELEMENT Elements[]; } SCATTER_GATHER_LIST, *PSCATTER_GATHER_LIST; typedef struct _SCATTER_GATHER_ELEMENT { PHYSICAL_ADDRESS Address; ULONG Length; ULONG_PTR Reserved; } SCATTER_GATHER_ELEMENT, *PSCATTER_GATHER_ELEMENT;
Cheers2u
Eddie
Hi Eric Hanson,
Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.
I think we do not have whitepaper or samples to support SGL on DSP's.
Please provide exact part number that you are using. Are you looking for SGL support on keystone II device (ARM + DSP)?
Thank you.
Hi Raja
We (Eric and I) are using TI's latest RTOS/SYSBIOS.
(also, we are not using OpenCL).
If there are no TI functions available to configure the DMA given an SGL, would it be possible to implement an SGL like transfer using a linked DMA transfer? We'd have to write a function that would convert the SGL into a param list. Since the SGL could possibly become large, we'd be limited since the DMA Param set is 256. True? Maybe there is a better way to deal with this instead of linked DMAs?
Just curious, would SGL support be available if we were running linux?
Cheers
Eddie
Just curious, would SGL support be available if we were running linux?