From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [PATCH net-next 4/8] xen-netback: accept an L4 or L3 skb hash value from the frontend Date: Mon, 26 Oct 2015 17:05:34 +0000 Message-ID: <20151026170534.GE18674__39918.2997331538$1445879216$gmane$org@zion.uk.xensource.com> References: <1445423785-4654-1-git-send-email-paul.durrant@citrix.com> <1445423785-4654-5-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZqlDP-00049B-6m for xen-devel@lists.xenproject.org; Mon, 26 Oct 2015 17:05:47 +0000 Content-Disposition: inline In-Reply-To: <1445423785-4654-5-git-send-email-paul.durrant@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: netdev@vger.kernel.org, Wei Liu , Ian Campbell , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Wed, Oct 21, 2015 at 11:36:21AM +0100, Paul Durrant wrote: > This patch adds an indication that netback is capable of handling hash > values passed from the frontend (see netif.h for details), and the code > necessary to process the additional xen_netif_extra_info segment and > set a hash on the skb. > > Signed-off-by: Paul Durrant > Cc: Ian Campbell > Cc: Wei Liu Reviewed-by: Wei Liu [...] > > + /* We support hash values. */ > + err = xenbus_printf(xbt, dev->nodename, > + "feature-hash", "%d", 1); > + if (err) { > + message = "writing feature-hash"; > + goto abort_transaction; Feel free to retain my reviewed-by if this changes in next version. Wei. > + } > + > err = xenbus_transaction_end(xbt, 0); > } while (err == -EAGAIN); > > -- > 2.1.4