Repository navigation
π Initial Public Release
vfio-tool is a comprehensive CLI tool for managing VFIO device bindings and kernel bypass on Linux.
β¨ Features
- Comprehensive device listing - Shows all network devices (kernel, VFIO, and unbound states)
- Framework-specific queries - Get devices ready for DPDK, RDMA, SPDK, VPP, XDP, or Solarflare frameworks
- Intelligent bind/unbind - Automatic driver reprobe and state management
- Persistent configuration - TOML config + systemd service for boot persistence
- Interactive wizard - Guided setup for device configuration
- RDMA device detection - Shows RDMA device names (mlx5_0, mlx5_1, etc.)
- Multiple output formats - Human-readable, JSON, and comma-separated args
- Reliable PCI mappings - Preserves device mappings even when devices are unbound
- IOMMU automation - Automatic GRUB configuration for Intel/AMD IOMMU
π¦ Installation
See INSTALL.md for detailed installation instructions.
Quick install:
cargo build --release
sudo ./scripts/install.shπ Documentation
- README.md - Overview and usage
- INSTALL.md - Installation guide
- Man page:
man vfio-tool(after installation)
π Quick Start
# List all network devices
vfio-tool list
# Show devices ready for DPDK
vfio-tool show dpdk
# Show devices ready for RDMA
vfio-tool show rdma
# Interactive configuration
sudo vfio-tool configure