Thread (3 messages) flat view 3 messages, 3 authors, 2014-07-09

Re: [PATCH net-next v4] xen-netback: Adding debugfs "io_ring_qX" files

From: David Miller <davem@davemloft.net>
Date: 2014-07-09 03:49:17
Also in: lkml

From: Zoltan Kiss <redacted>
Date: Tue, 8 Jul 2014 19:49:14 +0100
This patch adds debugfs capabilities to netback. There used to be a similar
patch floating around for classic kernel, but it used procfs. It is based on a
very similar blkback patch.
It creates xen-netback/[vifname]/io_ring_q[queueno] files, reading them output
various ring variables etc. Writing "kick" into it imitates an interrupt
happened, it can be useful to check whether the ring is just stalled due to a
missed interrupt.

Signed-off-by: Zoltan Kiss <redacted>
Applied, but like others I consider those ifdefs hella ugly.

Provide stubs in an #else block, then you don't have to crap up the
main code.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help