내용으로 건너뛰기

Data transfer using f1.x4large

0

Hi,
I am new to AWS FPGA Development.
My task is, Using f1.x4large instance, I need to transfer packetized data from one FPGA to another FPGA.
After power-on, by design one FPGA is defined as Sender and the other as Receiver.
And Sender starts sending packets one at a time and the gap between the two packets is huge.
On receiving the correct packet, the receiver acknowledges this with an ACK packet.
Both Sender and Receivers maintain transmit and receive packet counters.
This data transfer happens without driver involvement.
The driver should be able to access the transmit and receive count register and other registers.

I have gone through the example DMA test cases.
I couldn't understand how to communicate without any driver involvement.

Appreciate your help.

Regards,
Venkat

질문됨 5년 전385회 조회
4개 답변
0

Hi Venkat,

Have you gone through this https://github.com/awslabs/aws-fpga-app-notes/tree/master/Using-PCIe-Peer2Peer for peer-to-peer transfers? The app note also provides recommendations no how to get best performance.

It's a bit unclear to me that you want "... data transfer happens without driver involvement." Are you referring to the DMA driver? Could you elaborate more?

Thanks,

  • Chen
AWS
답변함 5년 전
0

Hi Chen,

Thanks for the response.
I have gone through the Using-PCIe_Peer2Peer app note.

Yes, In my question, I was referring to the 'DMA driver' which I don't want to use.

In conventional FPGA implementation, either I would have connected FPGA1 to FPGA2 and then displayed the counters.

If I would like to achieve the same, with using f1.4xlarge instance.
Could you please let me know how to achieve this?

Regards,
Venkat

답변함 5년 전
0

Hi venkub,

Thank you for the clarification. I need to point out that direct FPGA-to-FPGA connection are not supported by F1. For inter-card communication, you need to use peer-2-peer transaction through PCIe. The link I shared should have all the details needed for BAR4 address exposure, accessing, etc. You don't need to use DMA diver for all that. Please let me know if that answers your questions.

  • Chen
AWS
답변함 5년 전
0

Thanks for the response.

답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.