Skip to content

Commit

Permalink
Add GEN_PAUSE instead of PAUSE
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarbette committed May 10, 2024
2 parents 02d3524 + 74450e1 commit 0df78c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/fastclick-play-single-mt.npf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ GEN_BURST=32
PROMISC=false
promisc:PROMISC=true
IGNORE?=0
PAUSE=none
GEN_PAUSE=none
GEN_DESC=0
END_AFTER=0
GEN_PROGRESSIVE=0
Expand Down Expand Up @@ -69,6 +69,7 @@ GEN_NGEN=EXPAND( $((1 if $GEN_PIPELINE else $GEN_THREADS)) )
GEN_IPV6?=0
GEN_NANO?=0
GEN_PREFIX?=
GEN_FNT?=

UNQUEUE=
udpgen:UNQUEUE=Unqueue()
Expand Down Expand Up @@ -164,6 +165,7 @@ Idle->[1]output;
elementclass Numberise { $magic |
input-> Strip(14)
$GEN_NUMBER
$GEN_FNT
$(( "" if $GEN_IPV6 else " -> ResetIPChecksum() " ))
-> Unstrip(14) -> output
}
Expand Down Expand Up @@ -196,7 +198,7 @@ $(( " StaticThreadSched(fdIN0 0/0, unqueue0 0/0);" if $GEN_PIPELINE else "" ))

$(( " StaticThreadSched(tdIN 0/%d);" % ($GEN_THREADS + 1) if $GEN_TX_PIPELINE else "" ))

receiveIN :: FromDPDKDevice($port, VERBOSE $rxverbose, MAC $INsrcmac, PROMISC $PROMISC, PAUSE $PAUSE, NDESC $GEN_DESC, MAXTHREADS $GEN_RX_THREADS, NUMA false, ACTIVE $GEN_RX)
receiveIN :: FromDPDKDevice($port, VERBOSE $rxverbose, MAC $INsrcmac, PROMISC $PROMISC, PAUSE $GEN_PAUSE, NDESC $GEN_DESC, MAXTHREADS $GEN_RX_THREADS, NUMA false, ACTIVE $GEN_RX)

elementclass Receiver { $mac, $dir |
input[0]
Expand Down

0 comments on commit 0df78c0

Please sign in to comment.