Skip to content

RFC unify netfront and netback checksum setup code

Paul Durrant xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: add skb checksum setup functions for TCP and UDPinclude/linux/netdevice.h net/core/dev.c+257 -01 reply
2/3xen-netback: use new core skb_checksum_setup functiondrivers/net/xen-netback/netback.c+1 -2471 reply
3/3xen-netfront: use new core skb_checksum_setup functiondrivers/net/xen-netfront.c+1 -430 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchIan Campbell
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH net-next 0/3] unify netfront and netback checksum setup code

I'm posting this as RFC to xen-devel before going to netdev to get feedback. In patch 1 I've basically taken the latest checksum setup code from netback, with all the recent fixes, and pushed it into net/core/dev.c (which seems like the right home for such code). Patch 2 and 3 then just modify netback and netfront to use the new code.

Does this look like a reasonable approach? I think it would be good to make the checksum setup code available to all network drivers. There's nothing Xen specific about it.