LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-18-2018, 09:13 PM   #1
promach
LQ Newbie
 
Registered: Mar 2018
Posts: 8

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


Regarding https://github.com/KastnerRG/riffa/i...ment-373602633 , how do I rewrite this code segments https://github.com/KastnerRG/riffa/b...il.c#L150-L159 to two separate read and write threads ?

I am not sure how I should modify this function https://github.com/KastnerRG/riffa/b..._driver.c#L747

The developer documentation on RIFFA https://github.com/KastnerRG/riffa/b...umentation.pdf 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, 05:10 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 4,772
Blog Entries: 6

Rep: Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586Reputation: 2586
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, 09:46 AM   #3
promach
LQ Newbie
 
Registered: Mar 2018
Posts: 8

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 ?
 
  


Reply


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 08:45 AM
linux coding Question Tordne Linux - Software 5 03-10-2008 11:12 AM
Linux video driver coding and 10bpp support Defunct Programming 1 07-06-2007 06:40 AM
Coding question quentusrex Programming 11 08-17-2004 09:03 AM
Coding question quentusrex Debian 6 08-16-2004 04:42 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:46 PM.

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