Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 506aa8ec authored by Sivan Reinstein's avatar Sivan Reinstein
Browse files

net: rmnet_data: add support to UL checksum offload for IPv6 over UDP



Set rmnet_data virtual network devices with NETIF_F_IPV6_UDP_CSUM
to support uplink checksum offloading to HW for IPv6 over UDP
packets.

CRs-fixed: 731693
Change-Id: I6c06fb4d137d4e96a813894802e3096c26e88da4
Signed-off-by: default avatarSivan Reinstein <sivanr@codeaurora.org>
parent b890bfe6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -593,7 +593,8 @@ int rmnet_vnd_create_dev(int id, struct net_device **new_device,

	if (!prefix) {
		/* Configuring UL checksum offload on rmnet_data interfaces */
		dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM;
		dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM |
			NETIF_F_IPV6_UDP_CSUM;
	}

	rc = register_netdevice(dev);