Skip to content

Commit

Permalink
test xdp with ebpf 0.20.0 MSI
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfriesen committed Dec 19, 2024
1 parent 56fb133 commit e2be9f9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tools/common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function Get-EbpfInstallPath {
}

function Get-EbpfMsiVersion {
return "0.18.0"
return "0.20.0"
}

# Returns the eBPF MSI full path
Expand All @@ -116,7 +116,7 @@ function Get-EbpfMsiFullPath {
)
$RootDir = Split-Path $PSScriptRoot -Parent
$EbpfVersion = Get-EbpfMsiVersion
return "$RootDir\artifacts\ebpfmsi\ebpf-for-windows.$EbpfVersion.$Platform.msi"
return "$RootDir\artifacts\ebpfmsi\ebpf-for-windows.$Platform.$EbpfVersion.msi"
}

function Get-EbpfMsiUrl {
Expand All @@ -125,11 +125,7 @@ function Get-EbpfMsiUrl {
[string]$Platform
)
$EbpfVersion = Get-EbpfMsiVersion -Platform $Platform
if ($Platform -eq "x64") {
return "https://github.com/microsoft/ebpf-for-windows/releases/download/Release-v$EbpfVersion/ebpf-for-windows.$EbpfVersion.msi"
} else {
return "https://github.com/microsoft/xdp-for-windows/releases/download/main-prerelease/ebpf-for-windows.$Platform.0.20.0.msi"
}
return "https://github.com/microsoft/ebpf-for-windows/releases/download/Release-v$EbpfVersion/ebpf-for-windows.$Platform.$EbpfVersion.msi"
}

function Get-FnVersion {
Expand Down

0 comments on commit e2be9f9

Please sign in to comment.