public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel•org>
To: David Ahern <dsahern@gmail•com>
Cc: netdev <netdev@vger•kernel.org>,
	RDMA mailing list <linux-rdma@vger•kernel.org>,
	Stephen Hemminger <stephen@networkplumber•org>
Subject: Re: [PATCH iproute2-next 3/3] rdma: Add an option to rename IB device interface
Date: Mon, 29 Oct 2018 19:34:46 +0200	[thread overview]
Message-ID: <20181029173446.GI3974@mtr-leonro.mtl.com> (raw)
In-Reply-To: <b7151495-d8ab-209b-a86e-575fc2f4ed53@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]

On Mon, Oct 29, 2018 at 11:07:06AM -0600, David Ahern wrote:
> On 10/29/18 4:30 AM, Leon Romanovsky wrote:
> >
> > Sorry for being slow in response, I was on vacation.
> > ----------
> >
> > This print is intended to warn about missing "new name" and it is not
> > checked by rd_exec_require_dev()
> >
> > To emphasize it:
> >
> > diff --git a/rdma/dev.c b/rdma/dev.c
> > index 760b7fb3..468ae686 100644
> > --- a/rdma/dev.c
> > +++ b/rdma/dev.c
> > @@ -246,6 +246,7 @@ static int dev_set_name(struct rd *rd)
> >         uint32_t seq;
> >
> > 	if (rd_no_arg(rd)) {
> > +               pr_err("hello world\n");
> >                 pr_err("Please provide device new  name.\n");
> > 		return -EINVAL;
> > 	}
> >
> > Produces the following output:
> > [leonro@server iproute2]$ ./rdma/rdma dev set mlx5_0 name
> > hello world
> > Please provide device new name.
> >
> > So how will we progress from here? Should I respin?
>
> ok, thanks for the explanation.
>
> Steve mentioned an update to the man page is needed as well. Please do
> that in the respin.

No problem, will do, thanks

>
> Thanks,

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

      reply	other threads:[~2018-10-30  2:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-18 11:51 [PATCH iproute2-next 0/3] rdma: IB device rename Leon Romanovsky
2018-10-18 11:51 ` [PATCH iproute2-next 1/3] rdma: Update kernel include file to support IB device renaming Leon Romanovsky
2018-10-18 11:51 ` [PATCH iproute2-next 2/3] rdma: Introduce command execution helper with required device name Leon Romanovsky
2018-10-18 11:51 ` [PATCH iproute2-next 3/3] rdma: Add an option to rename IB device interface Leon Romanovsky
2018-10-21 16:02   ` David Ahern
2018-10-29 10:30     ` Leon Romanovsky
2018-10-29 17:07       ` David Ahern
2018-10-29 17:34         ` Leon Romanovsky [this message]

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=20181029173446.GI3974@mtr-leonro.mtl.com \
    --to=leon@kernel$(echo .)org \
    --cc=dsahern@gmail$(echo .)com \
    --cc=linux-rdma@vger$(echo .)kernel.org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=stephen@networkplumber$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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