Commit 59af87d4 authored by paul luse's avatar paul luse Committed by Tomasz Zawadzki
Browse files

doc/accel_fw: add comment on use of DSA kernel mode



Comment about device claiming was missing from docs.

Signed-off-by: default avatarpaul luse <paul.e.luse@intel.com>
Change-Id: I6f5fe07b8fee9678a2ef588b295ce9ebdcdd1037
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12702


Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 51e897c4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -118,6 +118,15 @@ accel-config enable-wq dsa0/wq0.1
```

DSA can be configured in many ways, but the above configuration is needed for use with SPDK.
Before you can run using the kernel driver you need to make sure that the hardware is bound
to the kernel driver and not VFIO.  By default when you run `setup.sh` DSA devices will be
bound to VFIO.  To exclude DSA devices, pass a whitespace separated list of DSA devices BDF
using the PCI_BLOCKED parameter as shown below.

`sudo PCI_BLOCKED="0000:04:00.0 0000:05:00.0" ./setup.sh`

Note: you might need to run `sudo ./setup.sh reset` to unbind all drivers before performing
the step above.

### Software Module {#accel_sw}