[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH RFC V2] xen/netback: Count ring slots properly when larger MTU sizes are used


  • To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
  • From: "Palagummi, Siva" <Siva.Palagummi@xxxxxx>
  • Date: Wed, 29 Aug 2012 12:21:10 +0000
  • Accept-language: en-US
  • Cc: "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 29 Aug 2012 12:21:54 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac2F4HBfCFIrW+OHQRWCwjPvwOEhAg==
  • Thread-topic: [PATCH RFC V2] xen/netback: Count ring slots properly when larger MTU sizes are used

This patch contains the modifications that are discussed in thread http://lists.xen.org/archives/html/xen-devel/2012-08/msg01730.html

 

Ian,

Instead of using max_required_rx_slots, I used the count that we already have in hand to verify if we have enough room in the batch queue for next skb. Please let me know if that is not appropriate. Things worked fine in my environment. Under heavy load now we seems to be consuming most of the slots in the queue and no BUG_ON :-)

 

Thanks

Siva

Attachment: netback_slots_counting_v2.patch
Description: netback_slots_counting_v2.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.