app/testpmd: move txonly prepare in separate function
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Tue, 2 Apr 2019 09:53:33 +0000 (09:53 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 5 Apr 2019 17:28:22 +0000 (19:28 +0200)
commit01b645dcff7f5f0c39031ef5c2de14ff0ae1d7cd
tree16e212c89145ae8e71aca06eec7af5476dd216a9
parent561ddcf8d09917b266fe46bc5daea839573eed62
app/testpmd: move txonly prepare in separate function

Move the packet prepare logic into a separate function so that it
can be reused later.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/txonly.c