hyperv/chan: Function renaming; no functional change

The renamed function create a sysctl tree for channel, and many
non-statistics nodes exists, so don't claim it only adds sysctl
nodes for statistics.

MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D5503
This commit is contained in:
sephe 2016-03-02 01:33:30 +00:00
parent e1124555b1
commit bdb3e3de73

View File

@ -93,7 +93,7 @@ vmbus_channel_sysctl_monalloc(SYSCTL_HANDLER_ARGS)
}
static void
hv_vmbus_channel_stat(hv_vmbus_channel* channel)
vmbus_channel_sysctl_create(hv_vmbus_channel* channel)
{
device_t dev;
struct sysctl_oid *devch_sysctl;
@ -164,6 +164,7 @@ hv_vmbus_channel_stat(hv_vmbus_channel* channel)
&(channel->outbound),
"outbound ring buffer stats");
}
/**
* @brief Open the specified channel
*/
@ -227,8 +228,8 @@ hv_vmbus_channel_open(
in,
recv_ring_buffer_size);
/* setup statistic tracking for this channel */
hv_vmbus_channel_stat(new_channel);
/* Create sysctl tree for this channel */
vmbus_channel_sysctl_create(new_channel);
/**
* Establish the gpadl for the ring buffer