Skip to content

xen-netback: support toeplitz hashing

Paul Durrant netdev xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8skbuff: store hash type in socket buffer...drivers/net/bonding/bond_main.c include/linux/skbuff.h include/net/flow_dissector.h +3 more+65 -264 replies
1/8skbuff: store hash type in socket buffer...drivers/net/bonding/bond_main.c include/linux/skbuff.h include/net/flow_dissector.h +3 more+65 -260 replies
2/8xen-netback: re-import canonical netif headerinclude/xen/interface/io/netif.h+667 -910 replies
2/8xen-netback: re-import canonical netif headerinclude/xen/interface/io/netif.h+667 -910 replies
3/8xen-netback: support multiple extra info fragments passed from frontenddrivers/net/xen-netback/common.h drivers/net/xen-netback/netback.c+43 -230 replies
3/8xen-netback: support multiple extra info fragments passed from frontenddrivers/net/xen-netback/common.h drivers/net/xen-netback/netback.c+43 -230 replies
4/8xen-netback: reduce log spamdrivers/net/xen-netback/xenbus.c+0 -20 replies
4/8xen-netback: reduce log spamdrivers/net/xen-netback/xenbus.c+0 -20 replies
5/8xen-netback: add support for the control ringdrivers/net/xen-netback/common.h drivers/net/xen-netback/interface.c drivers/net/xen-netback/netback.c +1 more+274 -300 replies
5/8xen-netback: add support for the control ringdrivers/net/xen-netback/common.h drivers/net/xen-netback/interface.c drivers/net/xen-netback/netback.c +1 more+274 -300 replies
6/8xen-netback: add an implementation of toeplitz hashing...drivers/net/xen-netback/common.h drivers/net/xen-netback/interface.c drivers/net/xen-netback/netback.c+287 -32 replies
6/8xen-netback: add an implementation of toeplitz hashing...drivers/net/xen-netback/common.h drivers/net/xen-netback/interface.c drivers/net/xen-netback/netback.c+287 -30 replies
7/8xen-netback: pass toeplitz hash value to the frontenddrivers/net/xen-netback/common.h drivers/net/xen-netback/netback.c+65 -122 replies
7/8xen-netback: pass toeplitz hash value to the frontenddrivers/net/xen-netback/common.h drivers/net/xen-netback/netback.c+65 -120 replies
8/8xen-netback: use toeplitz hash value from the frontenddrivers/net/xen-netback/netback.c+29 -00 replies
8/8xen-netback: use toeplitz hash value from the frontenddrivers/net/xen-netback/netback.c+29 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next v1 0/8] xen-netback: support toeplitz hashing

This patch series adds support for frontend-configurable toeplitz hashing in xen-netback (on the guest receive side). This support has been testing against a Windows frontend and has proven to be sufficient to pass the Microsoft HCK NDIS RSS tests.

For convenience my development branch is available at http://xenbits.xen.org/gitweb/?p=people/pauldu/linux.git;a=shortlog;h=refs/heads/rss18.

Patch #1 contains a small modification to struct sk_buff to use one more bit's worth of space to enable full hasf information to be stored (as opposed to simply whether a calculated hash is L4 or not).

Patch #2 re-imports the canonical netif.h from the Xen master branch at
git://xenbits.xen.org/xen.git. To minimize the diff it was post-processed as detailed in the commit message.

Patch #3 fixes a short-coming in netback so that it can actually cope with multiple extra_info fragments being passed from the frontend on the guest transmit side.

Patch #4 is a trivial patch to reduce log spam from netback.

Patch #5 adds support for a new shared ring for control messages between frontend and backend as detailed in the updated netif.h.

Patch #6 builds on patch #5 and adds support for messages passed from the frontend to configure a toeplitz hash of packets on the guest receive side.

Patch #7 adds code to pass the hash calculated by netback to the frontend

Patch #8 adds code to take hashes calculated by the guest on its transmit side and set the approprate values in the constructed socket buffer.