From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id A9E3D6CD4 for ; Fri, 3 Mar 2017 10:53:04 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP; 03 Mar 2017 01:53:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,236,1484035200"; d="scan'208";a="1137400965" Received: from yliu-dev.sh.intel.com ([10.239.67.162]) by fmsmga002.fm.intel.com with ESMTP; 03 Mar 2017 01:53:02 -0800 From: Yuanhan Liu To: dev@dpdk.org Cc: Maxime Coquelin , Harris James R , Liu Changpeng , Yuanhan Liu Date: Fri, 3 Mar 2017 17:51:20 +0800 Message-Id: <1488534682-3494-16-git-send-email-yuanhan.liu@linux.intel.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1488534682-3494-1-git-send-email-yuanhan.liu@linux.intel.com> References: <1488534682-3494-1-git-send-email-yuanhan.liu@linux.intel.com> Subject: [dpdk-dev] [PATCH 15/17] vhost: rename virtio-net to vhost X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2017 09:53:05 -0000 Rename "virtio-net" to "vhost" in the API comments. Signed-off-by: Yuanhan Liu --- lib/librte_vhost/rte_virtio_net.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/librte_vhost/rte_virtio_net.h b/lib/librte_vhost/rte_virtio_net.h index 5cde87d..2f761da 100644 --- a/lib/librte_vhost/rte_virtio_net.h +++ b/lib/librte_vhost/rte_virtio_net.h @@ -148,7 +148,7 @@ int rte_vhost_driver_callback_register(const char *path, * is allocated. * * @param vid - * virtio-net device ID + * vhost device ID * * @return * The numa node, -1 on failure @@ -160,11 +160,11 @@ int rte_vhost_driver_callback_register(const char *path, * Get the number of queues the device supports. * * Note this function is deprecated, as it returns a queue pair number, - * which is virtio-net specific. Instead, rte_vhost_get_vring_num should + * which is vhost specific. Instead, rte_vhost_get_vring_num should * be used. * * @param vid - * virtio-net device ID + * vhost device ID * * @return * The number of queues, 0 on failure @@ -188,7 +188,7 @@ int rte_vhost_driver_callback_register(const char *path, * file path. * * @param vid - * virtio-net device ID + * vhost device ID * @param buf * The buffer to stored the queried ifname * @param len @@ -203,7 +203,7 @@ int rte_vhost_driver_callback_register(const char *path, * Get how many avail entries are left in the queue * * @param vid - * virtio-net device ID + * vhost device ID * @param queue_id * virtio queue index * @@ -218,7 +218,7 @@ int rte_vhost_driver_callback_register(const char *path, * count is returned to indicate the number of packets that were succesfully * added to the RX queue. * @param vid - * virtio-net device ID + * vhost device ID * @param queue_id * virtio queue index in mq case * @param pkts @@ -236,7 +236,7 @@ uint16_t rte_vhost_enqueue_burst(int vid, uint16_t queue_id, * construct host mbufs, copies guest buffer content to host mbufs and * store them in pkts to be processed. * @param vid - * virtio-net device + * vhost device ID * @param queue_id * virtio queue index in mq case * @param mbuf_pool -- 1.9.0