rtnetlink: add helpers to dump vf information
commit250fc3dfdbd3e8b5c751ce7b5a26176ec62ca0f8
authorFlorian Westphal <fw@strlen.de>
Tue, 26 Sep 2017 11:58:41 +0000 (26 13:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 17:20:49 +0000 (28 10:20 -0700)
treece0ae08d4791a5dfdabd382e2f51745b4ee08240
parent79110a0426d8179a51bf3cb698a84f6ec98ca60c
rtnetlink: add helpers to dump vf information

similar to earlier patches, split out more parts of this function to
better see what is happening and where we assume rtnl is locked.

Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c