Thread (51 messages) flat view 51 messages, 6 authors, 2011-06-14

Re: [net-next 37/40] rtnetlink: Compute and store minimum ifinfo dump size

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2011-06-08 06:10:06

On Tue, 2011-06-07 at 05:33 -0700, Jeff Kirsher wrote:
From: Greg Rose <redacted>

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.
Curious. Weren't dumps supposed to be split up into small chunks and
then delivered? Where is this splitting going wrong, and could it be
improved to split into smaller pieces?

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help