You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My end goal is to use the AF_XDP functionality 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 the development.md guide 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 13
The 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 whole set-executionpolicy unrestricted dance to no avail.
I appreciate ForSpinxskTest doesn't include the string xskfwd but I figured they'd need similar setup so went with it.
My NICs look like this (from netsh int ipv4 show interfaces):
Idx Met MTU State Name
--- ---------- ---------- ------------ ---------------------------
1 75 4294967295 connected Loopback Pseudo-Interface 1
19 35 1500 connected Wi-Fi
17 65 1500 disconnected Bluetooth Network Connection
3 25 1500 disconnected Local Area Connection* 1
6 25 1500 disconnected Local Area Connection* 2
13 25 1500 connected Ethernet 3
5 5 1500 disconnected Ethernet 4
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.
The text was updated successfully, but these errors were encountered:
My end goal is to use the
AF_XDP
functionality 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.md
guide 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 13
The 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 unrestricted
dance to no avail.I appreciate
ForSpinxskTest
doesn't include the stringxskfwd
but 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.The text was updated successfully, but these errors were encountered: