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.