While implementing the display of IFLA_VF_QUERY_RSS_EN value in ip-address (see patch 2/2), I stumbled upon some dubious constructs in print_vfinfo() and replaced them with code which seems more intuitive to me (see patch 1/2 for details).
Phil Sutter (2): ipaddress: Simplify vf_info parsing ipaddress: Print IFLA_VF_QUERY_RSS_EN setting ip/ipaddress.c | 52 ++++++++++++++++++---------------------------------- 1 file changed, 18 insertions(+), 34 deletions(-) -- 2.8.2