0001 =================================================
0002 FPGA Device Feature List (DFL) Framework Overview
0003 =================================================
0004
0005 Authors:
0006
0007 - Enno Luebbers <enno.luebbers@intel.com>
0008 - Xiao Guangrong <guangrong.xiao@linux.intel.com>
0009 - Wu Hao <hao.wu@intel.com>
0010 - Xu Yilun <yilun.xu@intel.com>
0011
0012 The Device Feature List (DFL) FPGA framework (and drivers according to
0013 this framework) hides the very details of low layer hardware and provides
0014 unified interfaces to userspace. Applications could use these interfaces to
0015 configure, enumerate, open and access FPGA accelerators on platforms which
0016 implement the DFL in the device memory. Besides this, the DFL framework
0017 enables system level management functions such as FPGA reconfiguration.
0018
0019
0020 Device Feature List (DFL) Overview
0021 ==================================
0022 Device Feature List (DFL) defines a linked list of feature headers within the
0023 device MMIO space to provide an extensible way of adding features. Software can
0024 walk through these predefined data structures to enumerate FPGA features:
0025 FPGA Interface Unit (FIU), Accelerated Function Unit (AFU) and Private Features,
0026 as illustrated below::
0027
0028 Header Header Header Header
0029 +----------+ +-->+----------+ +-->+----------+ +-->+----------+
0030 | Type | | | Type | | | Type | | | Type |
0031 | FIU | | | Private | | | Private | | | Private |
0032 +----------+ | | Feature | | | Feature | | | Feature |
0033 | Next_DFH |--+ +----------+ | +----------+ | +----------+
0034 +----------+ | Next_DFH |--+ | Next_DFH |--+ | Next_DFH |--> NULL
0035 | ID | +----------+ +----------+ +----------+
0036 +----------+ | ID | | ID | | ID |
0037 | Next_AFU |--+ +----------+ +----------+ +----------+
0038 +----------+ | | Feature | | Feature | | Feature |
0039 | Header | | | Register | | Register | | Register |
0040 | Register | | | Set | | Set | | Set |
0041 | Set | | +----------+ +----------+ +----------+
0042 +----------+ | Header
0043 +-->+----------+
0044 | Type |
0045 | AFU |
0046 +----------+
0047 | Next_DFH |--> NULL
0048 +----------+
0049 | GUID |
0050 +----------+
0051 | Header |
0052 | Register |
0053 | Set |
0054 +----------+
0055
0056 FPGA Interface Unit (FIU) represents a standalone functional unit for the
0057 interface to FPGA, e.g. the FPGA Management Engine (FME) and Port (more
0058 descriptions on FME and Port in later sections).
0059
0060 Accelerated Function Unit (AFU) represents an FPGA programmable region and
0061 always connects to a FIU (e.g. a Port) as its child as illustrated above.
0062
0063 Private Features represent sub features of the FIU and AFU. They could be
0064 various function blocks with different IDs, but all private features which
0065 belong to the same FIU or AFU, must be linked to one list via the Next Device
0066 Feature Header (Next_DFH) pointer.
0067
0068 Each FIU, AFU and Private Feature could implement its own functional registers.
0069 The functional register set for FIU and AFU, is named as Header Register Set,
0070 e.g. FME Header Register Set, and the one for Private Feature, is named as
0071 Feature Register Set, e.g. FME Partial Reconfiguration Feature Register Set.
0072
0073 This Device Feature List provides a way of linking features together, it's
0074 convenient for software to locate each feature by walking through this list,
0075 and can be implemented in register regions of any FPGA device.
0076
0077
0078 FIU - FME (FPGA Management Engine)
0079 ==================================
0080 The FPGA Management Engine performs reconfiguration and other infrastructure
0081 functions. Each FPGA device only has one FME.
0082
0083 User-space applications can acquire exclusive access to the FME using open(),
0084 and release it using close().
0085
0086 The following functions are exposed through ioctls:
0087
0088 - Get driver API version (DFL_FPGA_GET_API_VERSION)
0089 - Check for extensions (DFL_FPGA_CHECK_EXTENSION)
0090 - Program bitstream (DFL_FPGA_FME_PORT_PR)
0091 - Assign port to PF (DFL_FPGA_FME_PORT_ASSIGN)
0092 - Release port from PF (DFL_FPGA_FME_PORT_RELEASE)
0093 - Get number of irqs of FME global error (DFL_FPGA_FME_ERR_GET_IRQ_NUM)
0094 - Set interrupt trigger for FME error (DFL_FPGA_FME_ERR_SET_IRQ)
0095
0096 More functions are exposed through sysfs
0097 (/sys/class/fpga_region/regionX/dfl-fme.n/):
0098
0099 Read bitstream ID (bitstream_id)
0100 bitstream_id indicates version of the static FPGA region.
0101
0102 Read bitstream metadata (bitstream_metadata)
0103 bitstream_metadata includes detailed information of static FPGA region,
0104 e.g. synthesis date and seed.
0105
0106 Read number of ports (ports_num)
0107 one FPGA device may have more than one port, this sysfs interface indicates
0108 how many ports the FPGA device has.
0109
0110 Global error reporting management (errors/)
0111 error reporting sysfs interfaces allow user to read errors detected by the
0112 hardware, and clear the logged errors.
0113
0114 Power management (dfl_fme_power hwmon)
0115 power management hwmon sysfs interfaces allow user to read power management
0116 information (power consumption, thresholds, threshold status, limits, etc.)
0117 and configure power thresholds for different throttling levels.
0118
0119 Thermal management (dfl_fme_thermal hwmon)
0120 thermal management hwmon sysfs interfaces allow user to read thermal
0121 management information (current temperature, thresholds, threshold status,
0122 etc.).
0123
0124 Performance reporting
0125 performance counters are exposed through perf PMU APIs. Standard perf tool
0126 can be used to monitor all available perf events. Please see performance
0127 counter section below for more detailed information.
0128
0129
0130 FIU - PORT
0131 ==========
0132 A port represents the interface between the static FPGA fabric and a partially
0133 reconfigurable region containing an AFU. It controls the communication from SW
0134 to the accelerator and exposes features such as reset and debug. Each FPGA
0135 device may have more than one port, but always one AFU per port.
0136
0137
0138 AFU
0139 ===
0140 An AFU is attached to a port FIU and exposes a fixed length MMIO region to be
0141 used for accelerator-specific control registers.
0142
0143 User-space applications can acquire exclusive access to an AFU attached to a
0144 port by using open() on the port device node and release it using close().
0145
0146 The following functions are exposed through ioctls:
0147
0148 - Get driver API version (DFL_FPGA_GET_API_VERSION)
0149 - Check for extensions (DFL_FPGA_CHECK_EXTENSION)
0150 - Get port info (DFL_FPGA_PORT_GET_INFO)
0151 - Get MMIO region info (DFL_FPGA_PORT_GET_REGION_INFO)
0152 - Map DMA buffer (DFL_FPGA_PORT_DMA_MAP)
0153 - Unmap DMA buffer (DFL_FPGA_PORT_DMA_UNMAP)
0154 - Reset AFU (DFL_FPGA_PORT_RESET)
0155 - Get number of irqs of port error (DFL_FPGA_PORT_ERR_GET_IRQ_NUM)
0156 - Set interrupt trigger for port error (DFL_FPGA_PORT_ERR_SET_IRQ)
0157 - Get number of irqs of UINT (DFL_FPGA_PORT_UINT_GET_IRQ_NUM)
0158 - Set interrupt trigger for UINT (DFL_FPGA_PORT_UINT_SET_IRQ)
0159
0160 DFL_FPGA_PORT_RESET:
0161 reset the FPGA Port and its AFU. Userspace can do Port
0162 reset at any time, e.g. during DMA or Partial Reconfiguration. But it should
0163 never cause any system level issue, only functional failure (e.g. DMA or PR
0164 operation failure) and be recoverable from the failure.
0165
0166 User-space applications can also mmap() accelerator MMIO regions.
0167
0168 More functions are exposed through sysfs:
0169 (/sys/class/fpga_region/<regionX>/<dfl-port.m>/):
0170
0171 Read Accelerator GUID (afu_id)
0172 afu_id indicates which PR bitstream is programmed to this AFU.
0173
0174 Error reporting (errors/)
0175 error reporting sysfs interfaces allow user to read port/afu errors
0176 detected by the hardware, and clear the logged errors.
0177
0178
0179 DFL Framework Overview
0180 ======================
0181
0182 ::
0183
0184 +----------+ +--------+ +--------+ +--------+
0185 | FME | | AFU | | AFU | | AFU |
0186 | Module | | Module | | Module | | Module |
0187 +----------+ +--------+ +--------+ +--------+
0188 +-----------------------+
0189 | FPGA Container Device | Device Feature List
0190 | (FPGA Base Region) | Framework
0191 +-----------------------+
0192 ------------------------------------------------------------------
0193 +----------------------------+
0194 | FPGA DFL Device Module |
0195 | (e.g. PCIE/Platform Device)|
0196 +----------------------------+
0197 +------------------------+
0198 | FPGA Hardware Device |
0199 +------------------------+
0200
0201 DFL framework in kernel provides common interfaces to create container device
0202 (FPGA base region), discover feature devices and their private features from the
0203 given Device Feature Lists and create platform devices for feature devices
0204 (e.g. FME, Port and AFU) with related resources under the container device. It
0205 also abstracts operations for the private features and exposes common ops to
0206 feature device drivers.
0207
0208 The FPGA DFL Device could be different hardware, e.g. PCIe device, platform
0209 device and etc. Its driver module is always loaded first once the device is
0210 created by the system. This driver plays an infrastructural role in the
0211 driver architecture. It locates the DFLs in the device memory, handles them
0212 and related resources to common interfaces from DFL framework for enumeration.
0213 (Please refer to drivers/fpga/dfl.c for detailed enumeration APIs).
0214
0215 The FPGA Management Engine (FME) driver is a platform driver which is loaded
0216 automatically after FME platform device creation from the DFL device module. It
0217 provides the key features for FPGA management, including:
0218
0219 a) Expose static FPGA region information, e.g. version and metadata.
0220 Users can read related information via sysfs interfaces exposed
0221 by FME driver.
0222
0223 b) Partial Reconfiguration. The FME driver creates FPGA manager, FPGA
0224 bridges and FPGA regions during PR sub feature initialization. Once
0225 it receives a DFL_FPGA_FME_PORT_PR ioctl from user, it invokes the
0226 common interface function from FPGA Region to complete the partial
0227 reconfiguration of the PR bitstream to the given port.
0228
0229 Similar to the FME driver, the FPGA Accelerated Function Unit (AFU) driver is
0230 probed once the AFU platform device is created. The main function of this module
0231 is to provide an interface for userspace applications to access the individual
0232 accelerators, including basic reset control on port, AFU MMIO region export, dma
0233 buffer mapping service functions.
0234
0235 After feature platform devices creation, matched platform drivers will be loaded
0236 automatically to handle different functionalities. Please refer to next sections
0237 for detailed information on functional units which have been already implemented
0238 under this DFL framework.
0239
0240
0241 Partial Reconfiguration
0242 =======================
0243 As mentioned above, accelerators can be reconfigured through partial
0244 reconfiguration of a PR bitstream file. The PR bitstream file must have been
0245 generated for the exact static FPGA region and targeted reconfigurable region
0246 (port) of the FPGA, otherwise, the reconfiguration operation will fail and
0247 possibly cause system instability. This compatibility can be checked by
0248 comparing the compatibility ID noted in the header of PR bitstream file against
0249 the compat_id exposed by the target FPGA region. This check is usually done by
0250 userspace before calling the reconfiguration IOCTL.
0251
0252
0253 FPGA virtualization - PCIe SRIOV
0254 ================================
0255 This section describes the virtualization support on DFL based FPGA device to
0256 enable accessing an accelerator from applications running in a virtual machine
0257 (VM). This section only describes the PCIe based FPGA device with SRIOV support.
0258
0259 Features supported by the particular FPGA device are exposed through Device
0260 Feature Lists, as illustrated below:
0261
0262 ::
0263
0264 +-------------------------------+ +-------------+
0265 | PF | | VF |
0266 +-------------------------------+ +-------------+
0267 ^ ^ ^ ^
0268 | | | |
0269 +-----|------------|---------|--------------|-------+
0270 | | | | | |
0271 | +-----+ +-------+ +-------+ +-------+ |
0272 | | FME | | Port0 | | Port1 | | Port2 | |
0273 | +-----+ +-------+ +-------+ +-------+ |
0274 | ^ ^ ^ |
0275 | | | | |
0276 | +-------+ +------+ +-------+ |
0277 | | AFU | | AFU | | AFU | |
0278 | +-------+ +------+ +-------+ |
0279 | |
0280 | DFL based FPGA PCIe Device |
0281 +---------------------------------------------------+
0282
0283 FME is always accessed through the physical function (PF).
0284
0285 Ports (and related AFUs) are accessed via PF by default, but could be exposed
0286 through virtual function (VF) devices via PCIe SRIOV. Each VF only contains
0287 1 Port and 1 AFU for isolation. Users could assign individual VFs (accelerators)
0288 created via PCIe SRIOV interface, to virtual machines.
0289
0290 The driver organization in virtualization case is illustrated below:
0291 ::
0292
0293 +-------++------++------+ |
0294 | FME || FME || FME | |
0295 | FPGA || FPGA || FPGA | |
0296 |Manager||Bridge||Region| |
0297 +-------++------++------+ |
0298 +-----------------------+ +--------+ | +--------+
0299 | FME | | AFU | | | AFU |
0300 | Module | | Module | | | Module |
0301 +-----------------------+ +--------+ | +--------+
0302 +-----------------------+ | +-----------------------+
0303 | FPGA Container Device | | | FPGA Container Device |
0304 | (FPGA Base Region) | | | (FPGA Base Region) |
0305 +-----------------------+ | +-----------------------+
0306 +------------------+ | +------------------+
0307 | FPGA PCIE Module | | Virtual | FPGA PCIE Module |
0308 +------------------+ Host | Machine +------------------+
0309 -------------------------------------- | ------------------------------
0310 +---------------+ | +---------------+
0311 | PCI PF Device | | | PCI VF Device |
0312 +---------------+ | +---------------+
0313
0314 FPGA PCIe device driver is always loaded first once an FPGA PCIe PF or VF device
0315 is detected. It:
0316
0317 * Finishes enumeration on both FPGA PCIe PF and VF device using common
0318 interfaces from DFL framework.
0319 * Supports SRIOV.
0320
0321 The FME device driver plays a management role in this driver architecture, it
0322 provides ioctls to release Port from PF and assign Port to PF. After release
0323 a port from PF, then it's safe to expose this port through a VF via PCIe SRIOV
0324 sysfs interface.
0325
0326 To enable accessing an accelerator from applications running in a VM, the
0327 respective AFU's port needs to be assigned to a VF using the following steps:
0328
0329 #. The PF owns all AFU ports by default. Any port that needs to be
0330 reassigned to a VF must first be released through the
0331 DFL_FPGA_FME_PORT_RELEASE ioctl on the FME device.
0332
0333 #. Once N ports are released from PF, then user can use command below
0334 to enable SRIOV and VFs. Each VF owns only one Port with AFU.
0335
0336 ::
0337
0338 echo N > $PCI_DEVICE_PATH/sriov_numvfs
0339
0340 #. Pass through the VFs to VMs
0341
0342 #. The AFU under VF is accessible from applications in VM (using the
0343 same driver inside the VF).
0344
0345 Note that an FME can't be assigned to a VF, thus PR and other management
0346 functions are only available via the PF.
0347
0348 Device enumeration
0349 ==================
0350 This section introduces how applications enumerate the fpga device from
0351 the sysfs hierarchy under /sys/class/fpga_region.
0352
0353 In the example below, two DFL based FPGA devices are installed in the host. Each
0354 fpga device has one FME and two ports (AFUs).
0355
0356 FPGA regions are created under /sys/class/fpga_region/::
0357
0358 /sys/class/fpga_region/region0
0359 /sys/class/fpga_region/region1
0360 /sys/class/fpga_region/region2
0361 ...
0362
0363 Application needs to search each regionX folder, if feature device is found,
0364 (e.g. "dfl-port.n" or "dfl-fme.m" is found), then it's the base
0365 fpga region which represents the FPGA device.
0366
0367 Each base region has one FME and two ports (AFUs) as child devices::
0368
0369 /sys/class/fpga_region/region0/dfl-fme.0
0370 /sys/class/fpga_region/region0/dfl-port.0
0371 /sys/class/fpga_region/region0/dfl-port.1
0372 ...
0373
0374 /sys/class/fpga_region/region3/dfl-fme.1
0375 /sys/class/fpga_region/region3/dfl-port.2
0376 /sys/class/fpga_region/region3/dfl-port.3
0377 ...
0378
0379 In general, the FME/AFU sysfs interfaces are named as follows::
0380
0381 /sys/class/fpga_region/<regionX>/<dfl-fme.n>/
0382 /sys/class/fpga_region/<regionX>/<dfl-port.m>/
0383
0384 with 'n' consecutively numbering all FMEs and 'm' consecutively numbering all
0385 ports.
0386
0387 The device nodes used for ioctl() or mmap() can be referenced through::
0388
0389 /sys/class/fpga_region/<regionX>/<dfl-fme.n>/dev
0390 /sys/class/fpga_region/<regionX>/<dfl-port.n>/dev
0391
0392
0393 Performance Counters
0394 ====================
0395 Performance reporting is one private feature implemented in FME. It could
0396 supports several independent, system-wide, device counter sets in hardware to
0397 monitor and count for performance events, including "basic", "cache", "fabric",
0398 "vtd" and "vtd_sip" counters. Users could use standard perf tool to monitor
0399 FPGA cache hit/miss rate, transaction number, interface clock counter of AFU
0400 and other FPGA performance events.
0401
0402 Different FPGA devices may have different counter sets, depending on hardware
0403 implementation. E.g., some discrete FPGA cards don't have any cache. User could
0404 use "perf list" to check which perf events are supported by target hardware.
0405
0406 In order to allow user to use standard perf API to access these performance
0407 counters, driver creates a perf PMU, and related sysfs interfaces in
0408 /sys/bus/event_source/devices/dfl_fme* to describe available perf events and
0409 configuration options.
0410
0411 The "format" directory describes the format of the config field of struct
0412 perf_event_attr. There are 3 bitfields for config: "evtype" defines which type
0413 the perf event belongs to; "event" is the identity of the event within its
0414 category; "portid" is introduced to decide counters set to monitor on FPGA
0415 overall data or a specific port.
0416
0417 The "events" directory describes the configuration templates for all available
0418 events which can be used with perf tool directly. For example, fab_mmio_read
0419 has the configuration "event=0x06,evtype=0x02,portid=0xff", which shows this
0420 event belongs to fabric type (0x02), the local event id is 0x06 and it is for
0421 overall monitoring (portid=0xff).
0422
0423 Example usage of perf::
0424
0425 $# perf list |grep dfl_fme
0426
0427 dfl_fme0/fab_mmio_read/ [Kernel PMU event]
0428 <...>
0429 dfl_fme0/fab_port_mmio_read,portid=?/ [Kernel PMU event]
0430 <...>
0431
0432 $# perf stat -a -e dfl_fme0/fab_mmio_read/ <command>
0433 or
0434 $# perf stat -a -e dfl_fme0/event=0x06,evtype=0x02,portid=0xff/ <command>
0435 or
0436 $# perf stat -a -e dfl_fme0/config=0xff2006/ <command>
0437
0438 Another example, fab_port_mmio_read monitors mmio read of a specific port. So
0439 its configuration template is "event=0x06,evtype=0x01,portid=?". The portid
0440 should be explicitly set.
0441
0442 Its usage of perf::
0443
0444 $# perf stat -a -e dfl_fme0/fab_port_mmio_read,portid=0x0/ <command>
0445 or
0446 $# perf stat -a -e dfl_fme0/event=0x06,evtype=0x02,portid=0x0/ <command>
0447 or
0448 $# perf stat -a -e dfl_fme0/config=0x2006/ <command>
0449
0450 Please note for fabric counters, overall perf events (fab_*) and port perf
0451 events (fab_port_*) actually share one set of counters in hardware, so it can't
0452 monitor both at the same time. If this set of counters is configured to monitor
0453 overall data, then per port perf data is not supported. See below example::
0454
0455 $# perf stat -e dfl_fme0/fab_mmio_read/,dfl_fme0/fab_port_mmio_write,\
0456 portid=0/ sleep 1
0457
0458 Performance counter stats for 'system wide':
0459
0460 3 dfl_fme0/fab_mmio_read/
0461 <not supported> dfl_fme0/fab_port_mmio_write,portid=0x0/
0462
0463 1.001750904 seconds time elapsed
0464
0465 The driver also provides a "cpumask" sysfs attribute, which contains only one
0466 CPU id used to access these perf events. Counting on multiple CPU is not allowed
0467 since they are system-wide counters on FPGA device.
0468
0469 The current driver does not support sampling. So "perf record" is unsupported.
0470
0471
0472 Interrupt support
0473 =================
0474 Some FME and AFU private features are able to generate interrupts. As mentioned
0475 above, users could call ioctl (DFL_FPGA_*_GET_IRQ_NUM) to know whether or how
0476 many interrupts are supported for this private feature. Drivers also implement
0477 an eventfd based interrupt handling mechanism for users to get notified when
0478 interrupt happens. Users could set eventfds to driver via
0479 ioctl (DFL_FPGA_*_SET_IRQ), and then poll/select on these eventfds waiting for
0480 notification.
0481 In Current DFL, 3 sub features (Port error, FME global error and AFU interrupt)
0482 support interrupts.
0483
0484
0485 Add new FIUs support
0486 ====================
0487 It's possible that developers made some new function blocks (FIUs) under this
0488 DFL framework, then new platform device driver needs to be developed for the
0489 new feature dev (FIU) following the same way as existing feature dev drivers
0490 (e.g. FME and Port/AFU platform device driver). Besides that, it requires
0491 modification on DFL framework enumeration code too, for new FIU type detection
0492 and related platform devices creation.
0493
0494
0495 Add new private features support
0496 ================================
0497 In some cases, we may need to add some new private features to existing FIUs
0498 (e.g. FME or Port). Developers don't need to touch enumeration code in DFL
0499 framework, as each private feature will be parsed automatically and related
0500 mmio resources can be found under FIU platform device created by DFL framework.
0501 Developer only needs to provide a sub feature driver with matched feature id.
0502 FME Partial Reconfiguration Sub Feature driver (see drivers/fpga/dfl-fme-pr.c)
0503 could be a reference.
0504
0505 Please refer to below link to existing feature id table and guide for new feature
0506 ids application.
0507 https://github.com/OPAE/dfl-feature-id
0508
0509
0510 Location of DFLs on a PCI Device
0511 ================================
0512 The original method for finding a DFL on a PCI device assumed the start of the
0513 first DFL to offset 0 of bar 0. If the first node of the DFL is an FME,
0514 then further DFLs in the port(s) are specified in FME header registers.
0515 Alternatively, a PCIe vendor specific capability structure can be used to
0516 specify the location of all the DFLs on the device, providing flexibility
0517 for the type of starting node in the DFL. Intel has reserved the
0518 VSEC ID of 0x43 for this purpose. The vendor specific
0519 data begins with a 4 byte vendor specific register for the number of DFLs followed 4 byte
0520 Offset/BIR vendor specific registers for each DFL. Bits 2:0 of Offset/BIR register
0521 indicates the BAR, and bits 31:3 form the 8 byte aligned offset where bits 2:0 are
0522 zero.
0523 ::
0524
0525 +----------------------------+
0526 |31 Number of DFLS 0|
0527 +----------------------------+
0528 |31 Offset 3|2 BIR 0|
0529 +----------------------------+
0530 . . .
0531 +----------------------------+
0532 |31 Offset 3|2 BIR 0|
0533 +----------------------------+
0534
0535 Being able to specify more than one DFL per BAR has been considered, but it
0536 was determined the use case did not provide value. Specifying a single DFL
0537 per BAR simplifies the implementation and allows for extra error checking.
0538
0539
0540 Userspace driver support for DFL devices
0541 ========================================
0542 The purpose of an FPGA is to be reprogrammed with newly developed hardware
0543 components. New hardware can instantiate a new private feature in the DFL, and
0544 then present a DFL device in the system. In some cases users may need a
0545 userspace driver for the DFL device:
0546
0547 * Users may need to run some diagnostic test for their hardware.
0548 * Users may prototype the kernel driver in user space.
0549 * Some hardware is designed for specific purposes and does not fit into one of
0550 the standard kernel subsystems.
0551
0552 This requires direct access to MMIO space and interrupt handling from
0553 userspace. The uio_dfl module exposes the UIO device interfaces for this
0554 purpose.
0555
0556 Currently the uio_dfl driver only supports the Ether Group sub feature, which
0557 has no irq in hardware. So the interrupt handling is not added in this driver.
0558
0559 UIO_DFL should be selected to enable the uio_dfl module driver. To support a
0560 new DFL feature via UIO direct access, its feature id should be added to the
0561 driver's id_table.
0562
0563
0564 Open discussion
0565 ===============
0566 FME driver exports one ioctl (DFL_FPGA_FME_PORT_PR) for partial reconfiguration
0567 to user now. In the future, if unified user interfaces for reconfiguration are
0568 added, FME driver should switch to them from ioctl interface.