Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

put ".py" in example commands as in other guides #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions doc/guides/tools/devbind.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,24 +78,24 @@ Examples

To display current device status::

dpdk-devbind --status
dpdk-devbind.py --status

To bind eth1 from the current driver and move to use vfio-pci::

dpdk-devbind --bind=vfio-pci eth1
dpdk-devbind.py --bind=vfio-pci eth1

To unbind 0000:01:00.0 from using any driver::

dpdk-devbind -u 0000:01:00.0
dpdk-devbind.py -u 0000:01:00.0

To bind 0000:02:00.0 and 0000:02:00.1 to the ixgbe kernel driver::

dpdk-devbind -b ixgbe 02:00.0 02:00.1
dpdk-devbind.py -b ixgbe 02:00.0 02:00.1

To check status of all network ports, assign one to the vfio-pci driver and check status again::

# Check the status of the available devices.
dpdk-devbind --status
dpdk-devbind.py --status
Network devices using DPDK-compatible driver
============================================
<none>
Expand All @@ -106,11 +106,11 @@ To check status of all network ports, assign one to the vfio-pci driver and chec


# Bind the device to vfio-pci.
sudo dpdk-devbind -b vfio-pci 0000:0a:00.0
sudo dpdk-devbind.py -b vfio-pci 0000:0a:00.0


# Recheck the status of the devices.
dpdk-devbind --status
dpdk-devbind.py --status
Network devices using DPDK-compatible driver
============================================
0000:0a:00.0 '82599ES 10-Gigabit' drv=vfio-pci unused=