]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Feed GRO result into RX allocation policy and interrupt moderation
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 29 Oct 2009 07:21:24 +0000 (07:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2009 04:37:06 +0000 (21:37 -0700)
commitb1c3bb6ee283cc6c258cc418d648fff1bc98f6b7
tree4d1279868352923fdf7fcf27176896f4d96d7cb0
parentdab17c03c4ec1bd18f1dc508362dfc3233a64149
sfc: Feed GRO result into RX allocation policy and interrupt moderation

When GRO is successfully merging received packets, we should allocate
raw page buffers rather than skbs that will be discarded by GRO.
Otherwise, we should allocate skbs.

GRO also benefits from higher interrupt moderation, so increase the
score for mergeable RX packets.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/rx.c