OSDN Git Service

devlink: have genetlink code to parse the attrs during dumpit
authorJiri Pirko <jiri@mellanox.com>
Sat, 5 Oct 2019 18:04:42 +0000 (20:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2019 13:44:47 +0000 (15:44 +0200)
commitee85da535fe30e02908d30ec6b8960c4a991cb2d
tree219c1a4a93f0f5b25bb2fd053a02a6cc865be936
parent265ecd4fa3f0ca43909f8b2cc0e519966f21b167
devlink: have genetlink code to parse the attrs during dumpit

Benefit from the fact that the generic netlink code can parse the attrs
for dumpit op and avoid need to parse it in the op callback.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/devlink.c