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.
Showing the changes to include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -1237,6 +1237,7 @@ enum { · 1236 unmodified lines | ||
| 1237 | 1237 | #define RMNET_FLAGS_INGRESS_MAP_CKSUMV4 (1U << 2) |
| 1238 | 1238 | #define RMNET_FLAGS_EGRESS_MAP_CKSUMV4 (1U << 3) |
| 1239 | 1239 | #define RMNET_FLAGS_INGRESS_MAP_CKSUMV5 (1U << 4) |
| 1240 | +#define RMNET_FLAGS_EGRESS_MAP_CKSUMV5 (1U << 5) | |
| 1240 | 1241 | |
| 1241 | 1242 | enum { |
| 1242 | 1243 | IFLA_RMNET_UNSPEC, |