All of lore.kernel.org
 help / color / mirror / Atom feed
* virtio-net: how to prevent receiving big packages?
@ 2013-11-03  8:07 wangsitan
  2013-11-04  4:35 ` Jason Wang
  0 siblings, 1 reply; 3+ messages in thread
From: wangsitan @ 2013-11-03  8:07 UTC (permalink / raw)
  To: kvm

Hi all,

A virtual net interface using virtio_net with TSO on may send big TCP packets (up to 64KB). The receiver will get big packets if it's virtio_net, too. But it will get common packets (according to MTU) if the receiver is e1000 (who re-packaged the data?). 

The transfer with big packets is more efficient. But there's something wrong with my "receiver" vm whose net-core has been modified. Strange behaviours came out when it received big packets.

I will look at problems on the modified kernel later. What I want to do now is turning off the feature "can receive big packets" of virtio_net in the guest vm (just like I'm using e1000). Is there an easy way to disable it? Or should I change some code in guest's virtio_net?


Thanks a lot.

--
Best Regards
Wangsitan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-04  5:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-03  8:07 virtio-net: how to prevent receiving big packages? wangsitan
2013-11-04  4:35 ` Jason Wang
2013-11-04  5:05   ` Jason Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.