summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorRavinder Konka <rkonka@codeaurora.org>2015-10-26 13:15:33 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:05:51 -0700
commitb81ad4f065f12b99174fdafcd118b9dfa161d446 (patch)
tree394dbdccf51b3da5602d0ba670dbf39e74bd3592 /include/uapi
parent986546c1b529503289b9e2d145b164e2a97f65fb (diff)
rmnet_data : Changes to support Scatter Gather and GSO.
This patch enables hardware device features such as NETIF_F_SG NETIF_F_GSO NETIF_F_GSO_UDP_TUNNEL NETIF_F_GSO_UDP_TUNNEL_CSUM. This patch also ensures to skip padding(to align length to word boundaries) for outgoing non linear skbs. This patch also adds a new ioctl interface RMNET_IOCTL_GET_SG_SUPPORT to query the physical network devices for Scatter Gather support. Change-Id: I9788d75c249ab2dac5b598dad131c0692ed84e4d Acked-by: Abhishek Chauhan <abchauha@qti.qualcomm.com> Signed-off-by: Ravinder Konka <rkonka@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/msm_rmnet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/msm_rmnet.h b/include/uapi/linux/msm_rmnet.h
index 936b4373d09f..4892602c2b94 100644
--- a/include/uapi/linux/msm_rmnet.h
+++ b/include/uapi/linux/msm_rmnet.h
@@ -59,7 +59,8 @@ enum rmnet_ioctl_extended_cmds_e {
RMNET_IOCTL_SET_SLEEP_STATE = 0x0014, /* Set sleep state */
RMNET_IOCTL_SET_XLAT_DEV_INFO = 0x0015, /* xlat dev name */
RMNET_IOCTL_DEREGISTER_DEV = 0x0016, /* Dereg a net dev */
- RMNET_IOCTL_EXTENDED_MAX = 0x0017
+ RMNET_IOCTL_GET_SG_SUPPORT = 0x0017, /* Query sg support*/
+ RMNET_IOCTL_EXTENDED_MAX = 0x0018
};
/* Return values for the RMNET_IOCTL_GET_SUPPORTED_FEATURES IOCTL */