svn commit: r296290 - head/sys/dev/hyperv/vmbus
Sepherosa Ziehau
sephe at FreeBSD.org
Wed Mar 2 01:33:32 UTC 2016
Author: sephe
Date: Wed Mar 2 01:33:30 2016
New Revision: 296290
URL: https://svnweb.freebsd.org/changeset/base/296290
Log:
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
Modified:
head/sys/dev/hyperv/vmbus/hv_channel.c
Modified: head/sys/dev/hyperv/vmbus/hv_channel.c
==============================================================================
--- head/sys/dev/hyperv/vmbus/hv_channel.c Wed Mar 2 01:26:05 2016 (r296289)
+++ head/sys/dev/hyperv/vmbus/hv_channel.c Wed Mar 2 01:33:30 2016 (r296290)
@@ -93,7 +93,7 @@ vmbus_channel_sysctl_monalloc(SYSCTL_HAN
}
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->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
More information about the svn-src-all
mailing list