Re: [PATCH iproute2-next v2] devlink: Add health command support

2019-01-23 Thread David Ahern
On 1/23/19 4:27 AM, Aya Levin wrote: >>> @@ -1298,6 +1322,12 @@ static int dl_argv_parse(struct dl *dl, uint32_t >>> o_required, >>> return -EINVAL; >>> } >>> >>> + if ((o_required & DL_OPT_HEALTH_REPORTER_NAME) && >>> + !(o_found & DL_OPT_HEALTH_REPORTER_NAME)) { >>> +

Re: [PATCH iproute2-next v2] devlink: Add health command support

2019-01-23 Thread Aya Levin
נכתב על ידי David Ahern, ב־1/23/2019 בשעה 5:37 AM: > On 1/20/19 2:27 AM, Aya Levin wrote: >> diff --git a/devlink/devlink.c b/devlink/devlink.c >> index 3651e90c1159..9fc19668ccd0 100644 >> --- a/devlink/devlink.c >> +++ b/devlink/devlink.c >> @@ -1,4 +1,5 @@ >> /* >> + * > > extra newline > >

Re: [PATCH iproute2-next v2] devlink: Add health command support

2019-01-22 Thread David Ahern
On 1/20/19 2:27 AM, Aya Levin wrote: > diff --git a/devlink/devlink.c b/devlink/devlink.c > index 3651e90c1159..9fc19668ccd0 100644 > --- a/devlink/devlink.c > +++ b/devlink/devlink.c > @@ -1,4 +1,5 @@ > /* > + * extra newline > * devlink.c Devlink tool > * > * This program is

[PATCH iproute2-next v2] devlink: Add health command support

2019-01-20 Thread Aya Levin
This patch add support for the following commands: Devlink health show [DEV reporter REPORTE_NAME], Devlink health recover DEV reporter REPORTER_NAME, Devlink health diagnose DEV reporter REPORTER_NAME, Devlink health dump show DEV reporter REPORTER_NAME, Devlink health dump clear DEV reporter REPO