Netdev List
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: gregory.v.rose@intel.com
Cc: netdev@vger.kernel.org, bhutchings@solarflare.com,
	eric.dumazet@gmail.com
Subject: Re: [RFC V4 PATCH] rtnetlink: Compute and store minimum ifinfo dump size
Date: Wed, 18 May 2011 18:47:41 -0400 (EDT)	[thread overview]
Message-ID: <20110518.184741.476096648010572360.davem@davemloft.net> (raw)
In-Reply-To: <43F901BD926A4E43B106BF17856F0755018E321C21@orsmsx508.amr.corp.intel.com>

From: "Rose, Gregory V" <gregory.v.rose@intel.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.

  reply	other threads:[~2011-05-18 22:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-18 15:54 [RFC V4 PATCH] rtnetlink: Compute and store minimum ifinfo dump size Greg Rose
2011-05-18 22:09 ` David Miller
2011-05-18 22:35   ` Rose, Gregory V
2011-05-18 22:47     ` David Miller [this message]
2011-05-18 22:49       ` Rose, Gregory V
2011-05-19 15:35         ` Rose, Gregory V

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110518.184741.476096648010572360.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=bhutchings@solarflare.com \
    --cc=eric.dumazet@gmail.com \
    --cc=gregory.v.rose@intel.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox