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:
signature.asc
Description: PGP signature