• Zoltan Kiss's avatar
    xen-netback: Adding debugfs "io_ring_qX" files · f51de243
    Zoltan Kiss authored
    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: default avatarZoltan Kiss <zoltan.kiss@citrix.com>
    Cc: netdev@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Cc: xen-devel@lists.xenproject.org
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f51de243
interface.c 19 KB