Skip to content

RC4ML/qdma_driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QDMA Driver Installa

  1. prepare clone these repo to your home dir or anywhere you like.
sudo apt-get install libaio1 libaio-dev
git clone https://github.com/RC4ML/qdma_driver.git
cd qdma_driver
  1. compile
make
  1. insmod and config
insmod /path/to/qdma_driver/src/qdma-pf.ko

echo 1024 > /sys/bus/pci/devices/0000:1a:00.0/qdma/qmax
dma-ctl qdma1a000 q add idx 0 mode st dir bi
dma-ctl qdma1a000 q start idx 0 dir bi desc_bypass_en pfetch_bypass_en

QDMA Control APP Install

  1. follow step1 to clone this repo

  2. compile

make apps
  1. instlal all to /usr/local/sbin
sudo make install-apps

If you find the kernel module fails to install due to invalid module format, consider updating your Linux header files by the following script:

sudo apt update && sudo apt upgrade
sudo apt remove --purge linux-headers-*
sudo apt autoremove && sudo apt autoclean
sudo apt install linux-headers-generic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •