[ovs-dev] netdev-dpdk: Fix comment about vhost cuse/user vswitchd arguments
diff mbox

Message ID 1445420498-13446-1-git-send-email-ciara.loftus@intel.com
State Accepted
Headers show

Commit Message

Ciara Loftus Oct. 21, 2015, 9:41 a.m. UTC
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
---
 lib/netdev-dpdk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Daniele Di Proietto Oct. 22, 2015, 7:48 p.m. UTC | #1
Thanks for the fix, I applied this to master

On 21/10/2015 02:41, "Ciara Loftus" <ciara.loftus@intel.com> wrote:

>Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
>---
> lib/netdev-dpdk.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
>index 93b0589..ea2d9f3 100644
>--- a/lib/netdev-dpdk.c
>+++ b/lib/netdev-dpdk.c
>@@ -2111,9 +2111,9 @@ process_vhost_flags(char *flag, char *default_val,
>int size,
>      * flag if it is provided on the vswitchd command line, otherwise
>resort to
>      * a default value.
>      *
>-     * For vhost-user: Process "-cuse_dev_name" to set the custom
>location of
>+     * For vhost-user: Process "-vhost_sock_dir" to set the custom
>location of
>      * the vhost-user socket(s).
>-     * For vhost-cuse: Process "-vhost_sock_dir" to set the custom name
>of the
>+     * For vhost-cuse: Process "-cuse_dev_name" to set the custom name
>of the
>      * vhost-cuse character device.
>      */
>     if (!strcmp(argv[1], flag) && (strlen(argv[2]) <= size)) {
>-- 
>1.9.3
>
>_______________________________________________
>dev mailing list
>dev@openvswitch.org
>https://urldefense.proofpoint.com/v2/url?u=http-3A__openvswitch.org_mailma
>n_listinfo_dev&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=Sm
>B5nZacmXNq0gKCC1s_Cw5yUNjxgD4v5kJqZ2uWLlE&m=iU6K53EFxe4rDM-PQ9yn5c34dBsKoi
>uZFLx1JOtKVMQ&s=MduCawqhdGnGupAwv0HMMvMmag07xG0zGbrOW-gzn5U&e=

Patch
diff mbox

diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 93b0589..ea2d9f3 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -2111,9 +2111,9 @@  process_vhost_flags(char *flag, char *default_val, int size,
      * flag if it is provided on the vswitchd command line, otherwise resort to
      * a default value.
      *
-     * For vhost-user: Process "-cuse_dev_name" to set the custom location of
+     * For vhost-user: Process "-vhost_sock_dir" to set the custom location of
      * the vhost-user socket(s).
-     * For vhost-cuse: Process "-vhost_sock_dir" to set the custom name of the
+     * For vhost-cuse: Process "-cuse_dev_name" to set the custom name of the
      * vhost-cuse character device.
      */
     if (!strcmp(argv[1], flag) && (strlen(argv[2]) <= size)) {