summaryrefslogtreecommitdiff
path: root/include/uapi/linux/if_link.h
diff options
context:
space:
mode:
authorSharath Chandra Vurukala <sharathv@codeaurora.org>2021-06-01 22:28:36 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-02 03:11:41 +0300
commitb6e5d27e32ef6089d316ce7e1ecaf595584d4b84 (patch)
tree4a3655b77448cf59444b097c5db4ca2a380f363c /include/uapi/linux/if_link.h
parente1d9a90a9bfdb0735062d3adb16b07314b4b7b01 (diff)
downloadlinux-b6e5d27e32ef6089d316ce7e1ecaf595584d4b84.tar.xz
net: ethernet: rmnet: Add support for MAPv5 egress packets
Adding support for MAPv5 egress packets. This involves adding the MAPv5 header and setting the csum_valid_required in the checksum header to request HW compute the checksum. Corresponding stats are incremented based on whether the checksum is computed in software or HW. New stat has been added which represents the count of packets whose checksum is calculated by the HW. Signed-off-by: Sharath Chandra Vurukala <sharathv@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/if_link.h')
-rw-r--r--include/uapi/linux/if_link.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 1f753dcd85e1..a5a7f0e64865 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -1237,6 +1237,7 @@ enum {
#define RMNET_FLAGS_INGRESS_MAP_CKSUMV4 (1U << 2)
#define RMNET_FLAGS_EGRESS_MAP_CKSUMV4 (1U << 3)
#define RMNET_FLAGS_INGRESS_MAP_CKSUMV5 (1U << 4)
+#define RMNET_FLAGS_EGRESS_MAP_CKSUMV5 (1U << 5)
enum {
IFLA_RMNET_UNSPEC,