Re: [PATCH v2 net] devlink: Fix error handling in param and info_get dumpit cb

2019-10-01 Thread David Miller
From: Vasundhara Volam Date: Mon, 30 Sep 2019 11:52:21 +0530 > If any of the param or info_get op returns error, dumpit cb is > skipping to dump remaining params or info_get ops for all the > drivers. > > Fix to not return if any of the param/info_get op returns error > as not supported and cont

Re: [PATCH v2 net] devlink: Fix error handling in param and info_get dumpit cb

2019-09-30 Thread Jiri Pirko
Mon, Sep 30, 2019 at 02:10:03PM CEST, and...@lunn.ch wrote: >On Mon, Sep 30, 2019 at 11:52:21AM +0530, Vasundhara Volam wrote: >> If any of the param or info_get op returns error, dumpit cb is >> skipping to dump remaining params or info_get ops for all the >> drivers. >> >> Fix to not return if a

Re: [PATCH v2 net] devlink: Fix error handling in param and info_get dumpit cb

2019-09-30 Thread Andrew Lunn
On Mon, Sep 30, 2019 at 11:52:21AM +0530, Vasundhara Volam wrote: > If any of the param or info_get op returns error, dumpit cb is > skipping to dump remaining params or info_get ops for all the > drivers. > > Fix to not return if any of the param/info_get op returns error > as not supported and c

Re: [PATCH v2 net] devlink: Fix error handling in param and info_get dumpit cb

2019-09-29 Thread Jiri Pirko
Mon, Sep 30, 2019 at 08:22:21AM CEST, vasundhara-v.vo...@broadcom.com wrote: >If any of the param or info_get op returns error, dumpit cb is >skipping to dump remaining params or info_get ops for all the >drivers. > >Fix to not return if any of the param/info_get op returns error >as not supported

[PATCH v2 net] devlink: Fix error handling in param and info_get dumpit cb

2019-09-29 Thread Vasundhara Volam
If any of the param or info_get op returns error, dumpit cb is skipping to dump remaining params or info_get ops for all the drivers. Fix to not return if any of the param/info_get op returns error as not supported and continue to dump remaining information. v2: Modify the patch to return error,