Skip to content

net: qualcomm: rmnet: Enable Mapv5

Sharath Chandra Vurukala lkml netdev 8 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 0 repliesApplied 3/3
  2. v73 patches 6 repliesSuperseded
  3. v63 patches 0 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v53 patches6 repliesSuperseded
v43 patches7 repliesSuperseded
v33 patches2 repliesSuperseded
v23 patches3 repliesSuperseded
v13 patches6 repliesSuperseded

Changes in v8 from the cover letter

- Have addressed comments given by JAkub on v7 patches.
- As suggested by Jakub, skb_cow_head() is used instead of expanding the head directly. This is now done in rmnet_map_egress_handler().

Patches in v8 All 3 applied

#Subject and filesSizeRepliesApplied
1/3docs: networking: Add documentation for MAPv5Documentation/networking/device_drivers/cellular/qualcomm/rmnet.rst+114 -120 repliesApplied
2/3net: ethernet: rmnet: Support for ingress MAPv5 checksum offloaddrivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c +2 more+96 -120 repliesApplied
3/3net: ethernet: rmnet: Add support for MAPv5 egress packetsdrivers/net/ethernet/qualcomm/rmnet/rmnet_config.h drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h +3 more+111 -180 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.

Read the v8 thread

Cover letter [PATCH net-next v8 0/3] net: qualcomm: rmnet: Enable Mapv5

This series introduces the MAPv5 packet format.

Patch 0 documents the MAPv4/v5.
Patch 1 introduces the MAPv5 and the Inline checksum offload for RX/Ingress. Patch 2 introduces the MAPv5 and the Inline checksum offload for TX/Egress.

A new checksum header format is used as part of MAPv5.For RX checksum offload, the checksum is verified by the HW and the validity is marked in the checksum header of MAPv5. For TX, the required metadata is filled up so hardware can compute the checksum.

v1->v2:
- Fixed the compilation errors, warnings reported by kernel test robot.
- Checksum header definition is expanded to support big, little endian formats as mentioned by Jakub.

v2->v3:
- Fixed compilation errors reported by kernel bot for big endian flavor.

v3->v4:
- Made changes to use masks instead of C bit-fields as suggested by Jakub/Alex.

v4->v5:
- Corrected checkpatch errors and warnings reported by patchwork.

v5->v6:
- Corrected the bug identified by Alex and incorporated all his comments.

v6->v7:
- Removed duplicate inclusion of linux/bitfield.h in rmnet_map_data.c

v7->v8:
- Have addressed comments given by JAkub on v7 patches.
- As suggested by Jakub, skb_cow_head() is used instead of expanding the head directly. This is now done in rmnet_map_egress_handler().

Sharath Chandra Vurukala (3):
docs: networking: Add documentation for MAPv5
net: ethernet: rmnet: Support for ingress MAPv5 checksum offload
net: ethernet: rmnet: Add support for MAPv5 egress packets

 .../device_drivers/cellular/qualcomm/rmnet.rst     | 126 +++++++++++++++--
 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h |   4 +-
 .../net/ethernet/qualcomm/rmnet/rmnet_handlers.c   |  40 +++---
 drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h    |  11 +-
 .../net/ethernet/qualcomm/rmnet/rmnet_map_data.c   | 149 +++++++++++++++++++--
 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c    |   1 +
 include/linux/if_rmnet.h                           |  30 ++++-
 include/uapi/linux/if_link.h                       |   2 +
 8 files changed, 321 insertions(+), 42 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project