Skip to content

Commit

Permalink
Fix 1q vmdq test and testrecv.lua
Browse files Browse the repository at this point in the history
The former wasn't updated for an API change and the latter
was missing a module declaration.
  • Loading branch information
takikawa committed Aug 16, 2017
1 parent 67420dd commit e6f2b05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/intel_mp/test_10g_1q_blast_vmdq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SNABB_SEND_BLAST=true ./testsend.snabb $SNABB_PCI_INTEL1 0 source.pcap &
BLAST=$!

SNABB_RECV_SPINUP=2 SNABB_RECV_DURATION=5 ./testvmdqrecv.snabb $SNABB_PCI_INTEL0 "90:72:82:78:c9:7a" 0 0 > results.0
SNABB_RECV_SPINUP=2 SNABB_RECV_DURATION=5 ./testvmdqrecv.snabb $SNABB_PCI_INTEL0 "90:72:82:78:c9:7a" nil 0 0 > results.0

kill -9 $BLAST
test `cat results.0 | grep "^RXDGPC" | awk '{print $2}'` -gt 10000
Expand Down
2 changes: 2 additions & 0 deletions src/apps/intel_mp/testrecv.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
-- Helper module for testing intel_mp driver receive

module(..., package.seeall)

local intel = require("apps.intel_mp.intel_mp")
local basic = require("apps.basic.basic_apps")
local ffi = require("ffi")
Expand Down

0 comments on commit e6f2b05

Please sign in to comment.