RE: [RFC PATCH] netlink: Increase netlink dump skb message size
From: Rose, Gregory V <hidden>
Date: 2011-04-26 21:59:22
-----Original Message----- From: Ben Hutchings [mailto:bhutchings@solarflare.com] Sent: Tuesday, April 26, 2011 12:07 PM To: Rose, Gregory V; Eric Dumazet Cc: David Miller; netdev@vger.kernel.org Subject: RE: [RFC PATCH] netlink: Increase netlink dump skb message size On Tue, 2011-04-26 at 09:24 -0700, Rose, Gregory V wrote:quoted
quoted
-----Original Message----- From: Eric Dumazet [mailto:eric.dumazet@gmail.com] Sent: Tuesday, April 26, 2011 9:21 AM To: Rose, Gregory V Cc: David Miller; netdev@vger.kernel.org; bhutchings@solarflare.com Subject: RE: [RFC PATCH] netlink: Increase netlink dump skb messagesizequoted
quoted
Le mardi 26 avril 2011 à 09:12 -0700, Rose, Gregory V a écrit :quoted
I'm fine with however you folks want to approach this, just give mesomequoted
quoted
direction. I would just try following patch :I'll test it out, it's certainly a lot simpler. Perhaps I was getting abit too fancy.quoted
Ben would want to make sure it works for 127 VFs, my device does 63.I haven't been working on SR-IOV myself so I'll pass this on to a colleague. Thanks, Eric.
Eric's patch works fine for the case of 63 VFs. For most dumps it's allocating quite a bit more memory than necessary but that's not a big issue since it's transient and not held for long. - Greg