net: rmnet_data: Add RXCSUM capability to netdevices
Checksum offload is supported in MAPv3/v4. Add the device feature to indicate this support. Change-Id: I89caf6d9029cd483759404542681621909de70a3 Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
This commit is contained in:
parent
c281fa8708
commit
4812ab2451
|
@ -590,8 +590,10 @@ int rmnet_vnd_create_dev(int id, struct net_device **new_device,
|
|||
}
|
||||
|
||||
if (!prefix) {
|
||||
/* Configuring DL checksum offload on rmnet_data interfaces */
|
||||
dev->hw_features = NETIF_F_RXCSUM;
|
||||
/* 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;
|
||||
/* Configuring GRO on rmnet_data interfaces */
|
||||
dev->hw_features |= NETIF_F_GRO;
|
||||
|
|
Loading…
Reference in New Issue