On Wed, Feb 21, 2018 at 09:10:45AM -0700, David Ahern wrote:
> On 2/21/18 5:38 AM, Leon Romanovsky wrote:
> > @@ -36,17 +37,54 @@ static int rd_cmd(struct rd *rd)
> > { 0 }
> > };
> >
> > + rd->argc = argc;
> > + rd->argv = argv;
> > +
> > return rd_exec_cmd(rd, cmds, "objec
On 2/21/18 5:38 AM, Leon Romanovsky wrote:
> @@ -36,17 +37,54 @@ static int rd_cmd(struct rd *rd)
> { 0 }
> };
>
> + rd->argc = argc;
> + rd->argv = argv;
> +
> return rd_exec_cmd(rd, cmds, "object");
> }
>
> -static int rd_init(struct rd *rd, int argc, char **a
From: Leon Romanovsky
Implement an option (-b) to execute RDMAtool commands
from supplied file. This follows the same model as
in use for ip and devlink tools, by expecting
every new command to be on new line.
These commands are expected to be without any -*
(e.g. -d, -j, e.t.c) global flags, wh