[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1307513397.3961.0.camel@jlt3.sipsolutions.net>
Date: Wed, 08 Jun 2011 08:09:57 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: davem@...emloft.net, Greg Rose <gregory.v.rose@...el.com>,
netdev@...r.kernel.org, gospo@...hat.com
Subject: Re: [net-next 37/40] rtnetlink: Compute and store minimum ifinfo
dump size
On Tue, 2011-06-07 at 05:33 -0700, Jeff Kirsher wrote:
> From: Greg Rose <gregory.v.rose@...el.com>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists