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.

Change-Id: Id85fd3901edc9fd325543be4df486367239950e2
(cherry picked from commit eb1161c8d73393f75db0ef5cc6f6197ef34fb3fd)
Reviewed-by: Benson Leung <>
Commit-Queue: Amey Deshpande <>
Tested-by: Amey Deshpande <>
1 file changed