[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110518.184741.476096648010572360.davem@davemloft.net>
Date: Wed, 18 May 2011 18:47:41 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: gregory.v.rose@...el.com
Cc: netdev@...r.kernel.org, bhutchings@...arflare.com,
eric.dumazet@...il.com
Subject: Re: [RFC V4 PATCH] rtnetlink: Compute and store minimum ifinfo
dump size
From: "Rose, Gregory V" <gregory.v.rose@...el.com>
Date: Wed, 18 May 2011 15:35:58 -0700
> It looked to me like rtmsg_ifinfo is called when each device is
> registered through register_netdevice() and rtmsg_ifinfo in turn
> calls the if_nlmsg_size function returning the ifinfo dump size for
> each device. In my testing it looked like the proper maximum size
> was being set after I loaded the drivers for the SR-IOV capable
> devices.
Aha, indeed you're right. I missed this part. Thanks for explaining.
So as far as I can tell it should work, I'll let others review it to
see if they are ok with this approach.
Thanks.
--
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