[PATCH net] devlink: ignore -EOPNOTSUPP errors on dumpit

2020-07-28 Thread Jakub Kicinski
Number of .dumpit functions try to ignore -EOPNOTSUPP errors. Recent change missed that, and started reporting all errors but -EMSGSIZE back from dumps. This leads to situation like this: $ devlink dev info devlink answers: Operation not supported Dump should not report an error just because the

Re: [PATCH net] devlink: ignore -EOPNOTSUPP errors on dumpit

2020-07-28 Thread Jacob Keller
On 7/28/2020 4:15 PM, Jakub Kicinski wrote: > Number of .dumpit functions try to ignore -EOPNOTSUPP errors. > Recent change missed that, and started reporting all errors > but -EMSGSIZE back from dumps. This leads to situation like > this: > > $ devlink dev info > devlink answers: Operation not

Re: [PATCH net] devlink: ignore -EOPNOTSUPP errors on dumpit

2020-07-29 Thread Jiri Pirko
Wed, Jul 29, 2020 at 01:15:07AM CEST, k...@kernel.org wrote: >Number of .dumpit functions try to ignore -EOPNOTSUPP errors. >Recent change missed that, and started reporting all errors >but -EMSGSIZE back from dumps. This leads to situation like >this: > >$ devlink dev info >devlink answers: Operat

Re: [PATCH net] devlink: ignore -EOPNOTSUPP errors on dumpit

2020-07-30 Thread David Miller
From: Jakub Kicinski Date: Tue, 28 Jul 2020 16:15:07 -0700 > Number of .dumpit functions try to ignore -EOPNOTSUPP errors. > Recent change missed that, and started reporting all errors > but -EMSGSIZE back from dumps. This leads to situation like > this: > > $ devlink dev info > devlink answers: