History

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.

Sharath Chandra Vurukala committed 5 years ago

Commit b6e5d271 parent e1d9a906 files · +111 −18Browse files

Showing the changes to include/uapi (1 of 6 files). Show all

Unified · Split

include/uapi/linux/if_link.h+1−0
@@ -1237,6 +1237,7 @@ enum { · 1236 unmodified lines
1237#define RMNET_FLAGS_INGRESS_MAP_CKSUMV4 (1U << 2)1237#define RMNET_FLAGS_INGRESS_MAP_CKSUMV4 (1U << 2)
1238#define RMNET_FLAGS_EGRESS_MAP_CKSUMV4 (1U << 3)1238#define RMNET_FLAGS_EGRESS_MAP_CKSUMV4 (1U << 3)
1239#define RMNET_FLAGS_INGRESS_MAP_CKSUMV5 (1U << 4)1239#define RMNET_FLAGS_INGRESS_MAP_CKSUMV5 (1U << 4)
1240#define RMNET_FLAGS_EGRESS_MAP_CKSUMV5 (1U << 5)
1240 1241
1241enum {1242enum {
1242 IFLA_RMNET_UNSPEC,1243 IFLA_RMNET_UNSPEC,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t