Re: [PATCH net-next v2 4/4] virtio-net: initial debugfs support, export mergeable rx buffer size
From: Jason Wang <jasowang@redhat.com>
Date: 2014-01-08 06:34:31
Also in:
virtualization
From: Jason Wang <jasowang@redhat.com>
Date: 2014-01-08 06:34:31
Also in:
virtualization
On 01/07/2014 01:25 PM, Michael Dalton wrote:
Add initial support for debugfs to virtio-net. Each virtio-net network device will have a directory under /virtio-net in debugfs. The per-network device directory will contain one sub-directory per active, enabled receive queue. If mergeable receive buffers are enabled, each receive queue directory will contain a read-only file that returns the current packet buffer size for the receive queue. Signed-off-by: Michael Dalton <redacted>
This looks more complicated than expected. How about just adding an entry in sysfs onto the existed network class device which looks more simpler?