Skip to content

net: qualcomm: rmnet: stop using C bit-fields

Alex Elder lkml netdev 6 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. v6 Latest6 patches 1 replyApplied 6/6
  2. v56 patches 1 replySuperseded
  3. v46 patches 3 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v36 patches4 repliesSuperseded
v26 patches7 repliesSuperseded
v16 patches12 repliesSuperseded

Patches in v6 All 6 applied

#Subject and filesSizeRepliesApplied
1/6net: qualcomm: rmnet: mark trailer field endiannessinclude/linux/if_rmnet.h+2 -20 repliesApplied
2/6net: qualcomm: rmnet: simplify some byte order logicdrivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c+6 -100 repliesApplied
3/6net: qualcomm: rmnet: kill RMNET_MAP_GET_*() accessor macrosdrivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c +1 more+16 -210 repliesApplied
4/6net: qualcomm: rmnet: use masks instead of C bit-fieldsdrivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c include/linux/if_rmnet.h+15 -160 repliesApplied
5/6net: qualcomm: rmnet: don't use C bit-fields in rmnet checksum trailerdrivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c include/linux/if_rmnet.h+8 -110 repliesApplied
6/6net: qualcomm: rmnet: don't use C bit-fields in rmnet checksum headerdrivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c include/linux/if_rmnet.h+23 -360 repliesApplied

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBjorn AnderssonAlexander DuyckSubash Abhinov Kasiviswanathan
SeriesR-b
1/6R-b R-b
2/6
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH net-next v6 0/6] net: qualcomm: rmnet: stop using C bit-fields

Version 6 is the same as version 5, but has been rebased on updated net-next/master. With any luck, the patches I'm sending out this time won't contain garbage.

Version 5 of this series responds to a suggestion made by Alexander Duyck, to determine the offset to the checksummed range of a packet using skb_network_header_len() on patch 2. I have added his Reviewed-by tag to all (other) patches, and removed Bjorn's from patch 2.

The change required some updates to the subsequent patches, and I reordered some assignments in a minor way in the last patch.

I don't expect any more discussion on this series (but will respond if there is any). So at this point I would really appreciate it if KS and/or Sean would offer a review, or at least acknowledge it. I presume you two are able to independently test the code as well, so I request that, and hope you are willing to do so.

Version 4 of this series is here:
https://lore.kernel.org/netdev/[email protected]

-Alex

Alex Elder (6):
net: qualcomm: rmnet: mark trailer field endianness
net: qualcomm: rmnet: simplify some byte order logic
net: qualcomm: rmnet: kill RMNET_MAP_GET_*() accessor macros
net: qualcomm: rmnet: use masks instead of C bit-fields
net: qualcomm: rmnet: don't use C bit-fields in rmnet checksum trailer
net: qualcomm: rmnet: don't use C bit-fields in rmnet checksum header

 .../ethernet/qualcomm/rmnet/rmnet_handlers.c  | 10 +--
 .../net/ethernet/qualcomm/rmnet/rmnet_map.h   | 12 ----
 .../qualcomm/rmnet/rmnet_map_command.c        | 11 +++-
 .../ethernet/qualcomm/rmnet/rmnet_map_data.c  | 56 ++++++----------
 include/linux/if_rmnet.h                      | 65 +++++++++----------
 5 files changed, 64 insertions(+), 90 deletions(-)
Signature · 1 line
2.27.0