]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit480a8d5c8f13ba688a90d6e25a278179a9010eed
tree5d60ff79f437dd98e068056232639d710aa4245c
parent86e9bf955cbf8c375e7f8955230ca34c3208308d
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