Commit f9a7b1f
committed
feat(init): implement dataplane NIC initialization
Implements basic NIC driver binding for DPDK compatibility.
Binds PCI network devices to vfio-pci driver as required
by DPDK for device control.
This is part 1 of the dataplane initialization system,
focusing on minimal viable functionality for team testing.
Future work:
- Add proper argument parsing
- Implement privilege dropping (especially CAP_SYS_ADMIN)
- Add exec to dataplane process after success
Signed-off-by: Daniel Noland <daniel@githedgehog.com>1 parent dc21060 commit f9a7b1f
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
96 | 104 | | |
97 | 105 | | |
0 commit comments