DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <shemming@brocade.com>
Subject: [dpdk-dev] [PATCH 4/9] vhost: fix trailing whitespace
Date: Thu,  4 Jun 2015 07:43:22 -0700	[thread overview]
Message-ID: <1433429007-4640-5-git-send-email-stephen@networkplumber.org> (raw)
In-Reply-To: <1433429007-4640-1-git-send-email-stephen@networkplumber.org>

From: Stephen Hemminger <shemming@brocade.com>

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/librte_vhost/libvirt/qemu-wrap.py | 13 ++++++-------
 lib/librte_vhost/vhost_rxtx.c         |  2 +-
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/lib/librte_vhost/libvirt/qemu-wrap.py b/lib/librte_vhost/libvirt/qemu-wrap.py
index e2d68a0..5096011 100755
--- a/lib/librte_vhost/libvirt/qemu-wrap.py
+++ b/lib/librte_vhost/libvirt/qemu-wrap.py
@@ -49,17 +49,17 @@
 #
 #    3.a) Set the VM to use the launch script
 #
-#    	Set the emulator path contained in the
+#	Set the emulator path contained in the
 #		<emulator><emulator/> tags
 #
-#    	e.g replace <emulator>/usr/bin/qemu-kvm<emulator/>
+#	e.g replace <emulator>/usr/bin/qemu-kvm<emulator/>
 #        with    <emulator>/usr/bin/qemu-wrap.py<emulator/>
 #
 #	 3.b) Set the VM's device's to use vhost-net offload
 #
 #		<interface type="network">
-#       	<model type="virtio"/>
-#       	<driver name="vhost"/>
+#	<model type="virtio"/>
+#	<driver name="vhost"/>
 #		<interface/>
 #
 # 4. Enable libvirt to access our userpace device file by adding it to
@@ -229,7 +229,7 @@ def get_vhost_fd():
 # flags onto the end
 #############################################
 def modify_netdev_arg(arg):
-	
+
     global fd_list
     vhost_in_use = 0
     s = ''
@@ -259,7 +259,7 @@ def modify_netdev_arg(arg):
 
         s+=opt
 
-    return s	
+    return s
 
 
 #############################################
@@ -364,4 +364,3 @@ def main():
 
 if __name__ == "__main__":
     main()
-
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index 4809d32..2da4a02 100644
--- a/lib/librte_vhost/vhost_rxtx.c
+++ b/lib/librte_vhost/vhost_rxtx.c
@@ -615,7 +615,7 @@ rte_vhost_dequeue_burst(struct virtio_net *dev, uint16_t queue_id,
 		if (unlikely(m == NULL)) {
 			RTE_LOG(ERR, VHOST_DATA,
 				"Failed to allocate memory for mbuf.\n");
-			break;	
+			break;
 		}
 		seg_offset = 0;
 		seg_avail = m->buf_len - RTE_PKTMBUF_HEADROOM;
-- 
2.1.4

  parent reply	other threads:[~2015-06-04 14:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-04 14:43 [dpdk-dev] [PATCH 0/9] whitespace cleanups Stephen Hemminger
2015-06-04 14:43 ` [dpdk-dev] [PATCH 1/9] kni: fix whitespace Stephen Hemminger
2015-06-04 14:51   ` Thomas Monjalon
2015-06-05  3:00     ` Zhang, Helin
2015-06-05  2:58   ` Zhang, Helin
2015-06-04 14:43 ` [dpdk-dev] [PATCH 2/9] eal: " Stephen Hemminger
2015-06-04 14:43 ` [dpdk-dev] [PATCH 3/9] cmdline: " Stephen Hemminger
2015-06-04 14:43 ` Stephen Hemminger [this message]
2015-06-04 14:43 ` [dpdk-dev] [PATCH 5/9] lib: fix misc whitespace Stephen Hemminger
2015-06-04 14:43 ` [dpdk-dev] [PATCH 6/9] app: fix whitespace Stephen Hemminger
2015-06-04 14:43 ` [dpdk-dev] [PATCH 7/9] examples: " Stephen Hemminger
2015-06-04 14:43 ` [dpdk-dev] [PATCH 8/9] mk, scripts: remove useless blank lines Stephen Hemminger
2015-06-04 14:43 ` [dpdk-dev] [PATCH 9/9] drivers: fix whitespace Stephen Hemminger
2015-06-05  2:59   ` Zhang, Helin
2015-06-11 15:37 ` [dpdk-dev] [PATCH 0/9] whitespace cleanups Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433429007-4640-5-git-send-email-stephen@networkplumber.org \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=shemming@brocade.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).