Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

From: Eliezer Tamir
Date: Tue May 21 2013 - 04:31:48 EST


On 21/05/2013 11:24, Or Gerlitz wrote:
On Tue, May 21, 2013 at 10:14 AM, David Miller <davem@xxxxxxxxxxxxx> wrote:
From: "Eilon Greenstein" <eilong@xxxxxxxxxxxx>
Date: Tue, 21 May 2013 10:06:43 +0300

Hopefully this series will be accepted so we can send follow up support
for the bnx2x as well.

I think in two or three more iterations it will be merged.

There are no objections on the fundamentals, it's just implementation
details and coding style at this point.

Dave, sorry, I might be a bit behind the rest of the reviewers, but I
just fail to understand nor find any reference that explains the
module param of ixgbe nor it makes sense to me to merge that piece of
the code upstream (its not for staging, correct?), as I wrote here
http://marc.info/?l=linux-netdev&m=136908123432072&w=2 basically, I
know you're not a great fun of module params (to say the least) and
surely not something named "allow_unsafe_removal", thoughts?

from v2 0/4

6. To avoid the overhead of reference counting napi structs by skbs
and sockets in the fastpath, and increasing the size of the skb struct,
we no longer allow unloading the module once this feature has been used.

It seems that for most of the people interested in busy-polling, giving
up the ability to blindly remove the module for a slight but measurable
performance gain is a good tradeoff.
(There is a module parameter to override this behavior and if you know
what you are doing and are careful to stop the processes you can safely
unload, but we don't enforce this.)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/