> > Can anyone shed some light here?
>
> I guess the purpose of a positive value is to indicate that you can try again
> with the same arguments and get a different response,
> as opposed to a negative value.
>
> I would be in favour of removing that error from api_errno.h.
> Especially for thes
On Wed, May 8, 2019 at 7:24 AM Ole Troan wrote:
> Hi Jon,
>
> > Can anyone shed some light here?
>
> I guess the purpose of a positive value is to indicate that you can try
> again with the same arguments and get a different response,
> as opposed to a negative value.
>
> I would be in favour of
Hi Jon,
> So I was reading src/vnet/api_errno.h, as you do, and I noticed
> this weird line:
>
> _(IN_PROGRESS, 10, "Operation in progress") \
>
> That's right, an error number that is positive. It just doesn't sound
> right...
> And I don't think it is simply m
Behalf Of Jon Loeliger
Sent: Monday, May 6, 2019 12:03 PM
To: vpp-dev
Subject: [vpp-dev] Weird Error Number
Folks,
So I was reading src/vnet/api_errno.h, as you do, and I noticed
this weird line:
_(IN_PROGRESS, 10, "Operation in progress") \
That
Folks,
So I was reading src/vnet/api_errno.h, as you do, and I noticed
this weird line:
_(IN_PROGRESS, 10, "Operation in progress")
\
That's right, an error number that is positive. It just doesn't sound
right...
And I don't think it is simply missing a negative sign as there is also
this