Thread (5 messages) read the whole thread 5 messages, 2 authors, 2011-06-25

RE: [Pv-drivers] [PATCH] vmxnet3: Enable GRO support.

From: Scott Goldman <hidden>
Date: 2011-06-24 22:02:05

Hi Jesse.

 
When receiving packets from another guest on the same hypervisor, it's
generally possible to receive large packets because no segmentation is
necessary and these packets are handled by LRO.  However, when doing
routing or bridging we must disable LRO and lose this benefit.  In
these cases GRO can still be used and it is very effective because the
packets which are segmented in the hypervisor are received very close
together and can easily be merged.
-			netif_receive_skb(skb);
+			napi_gro_receive(&rq->napi, skb);
So... this doesn't discriminate between if LRO is off or on.  The last time I tried using GRO on top of our hardware LRO, there was actually some minor performance penalty. Do you have any benchmarks showing that this is ok? If not, do you think it might make sense to just do gro only if(unlikely(lro is off))?

Thanks,
-sjg
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help