app/testpmd: enable UDP GSO in csum engine
authorJiayu Hu <jiayu.hu@intel.com>
Fri, 6 Jul 2018 01:02:23 +0000 (09:02 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 11 Jul 2018 21:49:37 +0000 (23:49 +0200)
commitaaacd052cea499e146dbd12f92e7027ec07d505d
tree63fffe6e792c7c3d542454d62a1482432e7ca44a
parentb166d4f30b667b054bdd8bd1cbf30610061f8cc0
app/testpmd: enable UDP GSO in csum engine

This patch enables GSO for UDP/IPv4 packets. Oversized UDP/IPv4
packets transmitted over a GSO-enabled port will undergo segmentation.

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Acked-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
Tested-by: Yuwei Zhang <yuwei1.zhang@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/csumonly.c
app/test-pmd/testpmd.c