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

2014-07-08 Thread David Miller
From: Zoltan Kiss 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]

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

2014-07-08 Thread Konrad Rzeszutek Wilk
> @@ -246,8 +415,12 @@ static void backend_create_xenvif(struct backend_info > *be) > > static void backend_disconnect(struct backend_info *be) > { > - if (be->vif) > + if (be->vif) { > +#ifdef CONFIG_DEBUG_FS > + xenvif_debugfs_delif(be->vif); > +#endif /* CONFIG_DEBUG_FS

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

2014-07-08 Thread Zoltan Kiss
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 "