WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[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
<Prev in Thread] Current Thread [Next in Thread>