X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=flowspec-xdp;a=blobdiff_plain;f=install.sh;h=1371807cd7fdf0fffcde963e5027ee9aba792b1a;hp=2a47a1dd1ffe57cddb1e8473ef633ae6d8771cc9;hb=HEAD;hpb=3a4f945c529523a181916300196e6314e0c5f63b diff --git a/install.sh b/install.sh index 2a47a1d..1371807 100755 --- a/install.sh +++ b/install.sh @@ -26,9 +26,6 @@ else cat xdp.bc | llc -O3 -march=bpf -mcpu=probe -filetype=obj -o xdp fi -echo "Before unload drop count was:" -./dropcount.sh || echo "Not loaded" - # Note that sometimes the automated fallback does not work properly so we have to || generic here ip -force link set "$1" xdpoffload obj xdp sec $XDP_SECTION || ( echo "Failed to install in NIC, testing in driver..." && ip -force link set "$1" xdpdrv obj xdp sec $XDP_SECTION || (