app/testpmd: use existing checksum API in flowgen engine
authorZhihong Wang <wangzhihong.wzh@bytedance.com>
Fri, 13 Aug 2021 08:05:46 +0000 (16:05 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 24 Aug 2021 16:54:18 +0000 (18:54 +0200)
commit7f4d3d1242e3eb3faa4fdf851361101d63f51c23
tree6e3dcef3e118dd80b7c8ed72958b39e33bf120f5
parentea275674a0c65dad334c8ab55ddd1d5a7e243af6
app/testpmd: use existing checksum API in flowgen engine

Use the rte_ipv4_cksum API to replace local ip_sum implementation.

Signed-off-by: Zhihong Wang <wangzhihong.wzh@bytedance.com>
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
app/test-pmd/flowgen.c