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

[Xen-devel] A Patch for modify DomU network transmit rate dynamically



Hi :
 
     I've written a patch which supports dynamically update domU netif transmit rate.
     But after I finish it, I have some questiones on the patch itself.
 
     1. It seems I don't need to update netif->remaining_credit, since in netback,c: tx_add_credit()
         will update automatically on every transmit, so all I need to do is update netif->credit_bytes
         and netif->credit_usec, right? Also, am I do the right way?
     2. I notice that netback is also a module, so I think it can be rmmod or insmod, right? If so
         I can apply this patch online(with no affect on the running VM)
 
       Could someone help me to confirm this, many thanks.

Attachment: 4.netback_reset_rate_limit.patch
Description: Binary data

Attachment: 15.add_xen-rate-set_interface.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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