Revert "CHROMIUM: veth - Remove NETIF_F_HW_CSUM from features"
This reverts commit edbe726868cc6c7445de5a384f87b1053eae9385 ("CHROMIUM:
veth - Remove NETIF_F_HW_CSUM from features").
Disabling NETIF_F_HW_CSUM in the driver code causes TCP segmentation
offload to be disabled permanently (i.e., tso cannot be enabled using
ethtool). If TSO is disabled, the throughput over veth pair drops by an
order of magnitude (from ~18Gbps to ~2Gbps when measured by running iperf
in network namespace connected via veth pairs and ethernet bridge.)
TEST=bleung@ reported network_Dchp* tests passed on his v4.4 system.
(cherry picked from commit eb1161c8d73393f75db0ef5cc6f6197ef34fb3fd)
Reviewed-by: Benson Leung <firstname.lastname@example.org>
Commit-Queue: Amey Deshpande <email@example.com>
Tested-by: Amey Deshpande <firstname.lastname@example.org>
1 file changed