]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: (re-)create a debugfs node for hash information
authorPaul Durrant <Paul.Durrant@citrix.com>
Mon, 10 Oct 2016 08:30:53 +0000 (09:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Oct 2016 13:53:09 +0000 (09:53 -0400)
commit4c3b5d080dc3af73d991251a495083384b6a9644
tree8ba868830044aabc17536ac7b123fc0c35d3414d
parentfd9fbee2beb5e09ac8ace54aef4b7fc4993d160a
xen-netback: (re-)create a debugfs node for hash information

It is useful to be able to see the hash configuration when running tests.
This patch adds a debugfs node for that purpose.

The original version of this patch (commit 5d3610cfb5cf) was reverted due
to build failures caused by a conflict with commit 31fb6c9cb6f0
("xen-netback: switch to threaded irq for control ring"). This new version
of the patch is nearly identical to the original, the only difference
being that creation of the debugfs node is predicated on 'ctrl_irq' being
non-zero rather then the now non-existent 'ctrl_task'.

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