xskfwd fails with error 0x80070002
#934
Replies: 1 comment
-
|
Hey, to set up a machine for general testing, I'd recommend using The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
My end goal is to use the
AF_XDPfunctionality in this project to send Ethernet II frames containing EtherCAT packets without bothering the rest of the network stack. To get started with this repo I thought I'd just try running an existing example. I followed thedevelopment.mdguide and, after installing VS2022 and all the build dependencies, I ran:.\tools\build.ps1.\tools\prepare-machine.ps1 -ForSpinxskTest.\artifacts\bin\x64_Debug\test\xskfwd.exe 13The last command fails with
ERR: XskCreate failed: 80070002. I searched around and didn't find anything about that specific error code so, assuming it was permissions based, tried to run the binary in an admin powershell but that didn't change anything. I also did the wholeset-executionpolicy unrestricteddance to no avail.I appreciate
ForSpinxskTestdoesn't include the stringxskfwdbut I figured they'd need similar setup so went with it.My NICs look like this (from
netsh int ipv4 show interfaces):Neither Ethernet 3 nor Ethernet 4 have anything connected to them, although the same error message is printed if I do plug a cable in. They're both Intel i226-V chipsets with Intel driver version 2.1.3.3. I'm on Windows 11 Pro 24H2.
Is there a common thing I need to do/change/configure to be able to run the examples (and subsequently my own programs with
AF_XDP)? I'm a very new Windows developer so hopefully something obvious I've missed.Beta Was this translation helpful? Give feedback.
All reactions