]> git.proxmox.com Git - mirror_ovs.git/commit
netdev-linux: Enable TSO in the TAP device.
authorFlavio Leitner <fbl@sysclose.org>
Sat, 29 Feb 2020 23:29:35 +0000 (20:29 -0300)
committerWilliam Tu <u9012063@gmail.com>
Mon, 2 Mar 2020 17:50:17 +0000 (09:50 -0800)
commit6211ad57089e16fe0c84cf5ba0f6a03b4df3ceb8
treefc8621ffbf4ccd07d6105ff1dffb75595ac50216
parent7cc77b301f80a63cd4893198d82be0eef303f731
netdev-linux: Enable TSO in the TAP device.

Use ioctl TUNSETOFFLOAD if kernel supports to enable TSO
offloading in the tap device.

Fixes: 29cf9c1b3b9c ("userspace: Add TCP Segmentation Offload support")
Reported-by: "Yi Yang (杨�D)-云服务集团" <yangyi01@inspur.com>
Tested-by: William Tu <u9012063@gmail.com>
Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: William Tu <u9012063@gmail.com>
lib/netdev-linux.c