Files
linux/drivers/infiniband/core
Greg Rose 2e3cbdeae8 rtnetlink: Compute and store minimum ifinfo dump size
commit c7ac8679be upstream.

The message size allocated for rtnl ifinfo dumps was limited to
a single page.  This is not enough for additional interface info
available with devices that support SR-IOV and caused a bug in
which VF info would not be displayed if more than approximately
40 VFs were created per interface.

Implement a new function pointer for the rtnl_register service that will
calculate the amount of data required for the ifinfo dump and allocate
enough data to satisfy the request.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17 08:43:58 -08:00
..
2008-07-14 23:48:44 -07:00
2011-01-16 21:16:31 -08:00
2009-01-17 17:11:57 -08:00
2011-05-25 13:46:23 -07:00
2011-05-20 11:46:11 -07:00
2008-07-14 23:48:44 -07:00
2006-09-22 15:22:46 -07:00
2008-07-14 23:48:44 -07:00
2011-05-20 11:46:11 -07:00
2008-07-14 23:48:44 -07:00
2010-05-25 21:10:57 -07:00
2011-01-16 21:16:31 -08:00