numam-dpdk/app
Jianfeng Tan 0f62d63593 app/testpmd: support tunneled TSO in checksum engine
Add a new command "tunnel_tso set <tso_segsz> <port>" to enable
segmentation offload and set MSS to tso_segsz. Another command,
"tunnel_tso show <port>" is added to show tunneled packet MSS.
Result 0 means tunnel_tso is disabled.

The original commands, "tso set <tso_segsz> <port>" and "tso show
<port>" are only reponsible for non-tunneled packets. And the new
commands are for tunneled packets.

Below conditions are needed to make it work:
  a. tunnel TSO is supported by the NIC;
  b. "csum parse_tunnel" must be set so that tunneled pkts are
     recognized;
  c. for tunneled pkts with outer L3 is IPv4, "csum set outer-ip"
     must be set to hw, because after tso, total_len of outer IP
     header is changed, and the checksum of outer IP header calculated
     by sw should be wrong; that is not necessary for IPv6 tunneled
     pkts because there's no checksum field to be filled anymore.

Suggested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Signed-off-by: Zhe Tao <zhe.tao@intel.com>
Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-10-09 23:19:45 +02:00
..
cmdline_test app/cmdline_test: add missing dependencies 2015-12-03 00:02:26 +01:00
pdump drivers: make driver names consistent 2016-09-16 11:55:59 +02:00
proc_info app/proc_info: check for primary process 2016-09-23 20:42:30 +02:00
test app/test: remove crypto queue number hard-coding 2016-10-08 17:54:38 +02:00
test-acl acl: add AltiVec for ppc64 2016-09-09 17:56:14 +02:00
test-pipeline app/test-pipeline: fix table hash LRU initialization 2016-09-23 19:19:51 +02:00
test-pmd app/testpmd: support tunneled TSO in checksum engine 2016-10-09 23:19:45 +02:00
Makefile app/pdump: add tool for packet capturing 2016-06-16 23:40:21 +02:00