Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-18-2018, 10:13 PM   #1
LQ Newbie
Registered: Mar 2018
Posts: 12

Rep: Reputation: Disabled
Smile RIFFA linux driver c coding question

Regarding , how do I rewrite this code segments to two separate read and write threads ?

I am not sure how I should modify this function

The developer documentation on RIFFA which is the last few pages of the PDF confuses me a lot.

Besides, if anyone have any idea about the c coding, do let me know.
Old 03-19-2018, 06:10 PM   #2
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 4,878
Blog Entries: 7

Rep: Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745
Your question does not provide any details necessary for others to understand your goals and provide a useful answer. You should provide a more complete description of what you want to acheive, and show us what you have tried so far and why it has not worked. That will help us to better understand your intent and the problem at hand.

Please review the Site FAQ for guidance in asking well formed questions.

I had a look at the github repo and the docs, but honestly it is too much to ask other to review it based on the information you have provided. You may do better to ask at the github repo itself.

Good luck!
Old 03-27-2018, 10:46 AM   #3
LQ Newbie
Registered: Mar 2018
Posts: 12

Original Poster
Rep: Reputation: Disabled
I have modified testutil.c , riffa.c and chnl_tester.v for multithreading such that I could achieve Full duplex transactions.

However, I am not receiving any bytes from fpga_recv(). Therefore, I am not sure if I have modified the linux driver correctly or not, or it is some other issues ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random Reboots (+ Linux Coding Question) ckozler Linux - Server 2 09-12-2011 09:45 AM
linux coding Question Tordne Linux - Software 5 03-10-2008 12:12 PM
Linux video driver coding and 10bpp support Defunct Programming 1 07-06-2007 07:40 AM
Coding question quentusrex Programming 11 08-17-2004 10:03 AM
Coding question quentusrex Debian 6 08-16-2004 05:42 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration