aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/if_link.h
diff options
context:
space:
mode:
authorSharath Chandra Vurukala <sharathv@codeaurora.org>2021-06-02 00:58:36 +0530
committerDavid S. Miller <davem@davemloft.net>2021-06-01 17:11:41 -0700
commitb6e5d27e32ef6089d316ce7e1ecaf595584d4b84 (patch)
tree4a3655b77448cf59444b097c5db4ca2a380f363c /include/uapi/linux/if_link.h
parentnet: ethernet: rmnet: Support for ingress MAPv5 checksum offload (diff)
downloadlinux-dev-b6e5d27e32ef6089d316ce7e1ecaf595584d4b84.tar.xz
linux-dev-b6e5d27e32ef6089d316ce7e1ecaf595584d4b84.zip
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,