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

Comment about device claiming was missing from docs.

Signed-off-by: paul 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: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
paul luse 2022-05-16 12:09:42 -07:00 committed by Tomasz Zawadzki
parent 51e897c42e
commit 59af87d4b0

View File

@ -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}