Yuanhan Liu df40169ac0 examples/vhost: fix offload settings
Comments for PKT_TX_TCP_SEG at rte_mbuf says that we should only set
PKT_TX_IP_CKSUM and reset ip hdr checksum for IPv4:

  - if it's IPv4, set the PKT_TX_IP_CKSUM flag and write the IP checksum
    to 0 in the packet

Fixes: 9fd72e3cbd29 ("examples/vhost: add virtio offload")

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-03-25 19:53:00 +01:00
..
2015-12-07 03:21:13 +01:00
2015-06-12 11:10:10 +02:00
2015-12-07 04:57:16 +01:00
2016-02-16 07:33:44 +01:00
2015-08-10 16:25:30 +02:00
2016-03-11 18:05:55 +01:00
2016-03-11 18:05:55 +01:00
2016-03-11 18:05:55 +01:00
2016-03-11 18:05:55 +01:00
2016-03-11 18:05:55 +01:00
2016-03-11 18:05:55 +01:00
2016-03-11 18:05:55 +01:00
2015-05-11 15:51:14 +02:00
2015-03-10 11:47:46 +01:00
2016-03-16 17:47:10 +01:00