Multi Channel DMA Intel® FPGA IP for PCI Express User Guide

ID 683821
Date 10/29/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

8.3.3.3.2. Poll Mode

  • In Poll mode, poll system call is called on the character device node
  • Kernel module uses 2 flags as return values to pass the current state of each descriptor queue of the channel
  • POLLIN/POLLOUT: Indicates whether there exists at least one available slot in the descriptor queue
  • POLLRDNORM/POLLWRNORM: Indicates whether the descriptor queue is empty or not
  • Polling also increases the eventfd counter using eventfd_signal API