-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix segment length in packet generator
[ upstream commit b88b8af25e7cbb267584bd4c36d3615c4b20109f ] Assign correct data length to each segments according to the given pkt_len and nb_pkt_segs, instead of using pkt_len as the data_len of every packet segment. Fixes: a9c9e96 ("app/test: allow to create packets of different sizes") Signed-off-by: Zhuobin Huang <zobin1999@gmail.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
- Loading branch information
1 parent
b71a128
commit 988dc26
Showing
2 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters