Skip to content

Commit

Permalink
Fastclick-play: Add GEN_CSUM parameter to enable/disable TX CSUM
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarbette committed Aug 23, 2024
1 parent 00fe740 commit d388f79
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/fastclick-play-single-mt.npf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ promisc:PROMISC=true
IGNORE?=0
GEN_PAUSE=none
GEN_DESC=0
GEN_CSUM=true
END_AFTER=0
GEN_PROGRESSIVE=0
progressive:GEN_PROGRESSIVE=1
Expand Down Expand Up @@ -187,7 +188,7 @@ tdIN ::
{% else %}
{[0] -> [0]} ->
{% endif %}
realTD :: ToDPDKDevice($port, BLOCKING $GEN_BLOCKING, BURST $bout, VERBOSE $txverbose, IQUEUE $bout, NDESC $GEN_TX_DESC, IPCO true )
realTD :: ToDPDKDevice($port, BLOCKING $GEN_BLOCKING, BURST $bout, VERBOSE $txverbose, IQUEUE $bout, NDESC $GEN_TX_DESC, IPCO $GEN_CSUM )



Expand All @@ -200,7 +201,7 @@ elementclass Numberise { $magic |
input-> Strip(14)
$GEN_NUMBER
$GEN_FNT
$(( "" if $GEN_IPV6 else " -> ResetIPChecksum() " ))
$(( "" if $GEN_IPV6 and $GEN_CSUM else " -> ResetIPChecksum() " ))
-> Unstrip(14) -> output
}

Expand Down

0 comments on commit d388f79

Please sign in to comment.