xen-netback: use hash value from the frontend
authorPaul Durrant <Paul.Durrant@citrix.com>
Fri, 13 May 2016 08:37:29 +0000 (09:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 17:35:56 +0000 (13:35 -0400)
commitc2d09fde7299f68f29e84fe5a415d5c1a7abae75
tree5d60ff79f437dd98e068056232639d710aa4245c
parentf07f989338587bc2b202f6e3c8e8468c450bd6a2
xen-netback: use hash value from the frontend

My recent patch to include/xen/interface/io/netif.h defines a new extra
info type that can be used to pass hash values between backend and guest
frontend.

This patch adds code to xen-netback to use the value in a hash extra
info fragment passed from the guest frontend in a transmit-side
(i.e. netback receive side) packet to set the skb hash accordingly.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c