|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] RE: A Patch for modify DomU network transmit rate dynamicall
To: |
xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Subject: |
[Xen-devel] RE: A Patch for modify DomU network transmit rate dynamically |
From: |
MaoXiaoyun <tinnycloud@xxxxxxxxxxx> |
Date: |
Thu, 4 Nov 2010 11:43:53 +0800 |
Cc: |
jeremy@xxxxxxxx, keir@xxxxxxx, daniel.stodden@xxxxxxxxxx |
Delivery-date: |
Wed, 03 Nov 2010 20:44:36 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
Importance: |
Normal |
In-reply-to: |
<BLU157-w531FEC30CFD4EEFA04E0FADA4B0@xxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<BLU157-w4633FF2011F6D0F8408CAEDA570@xxxxxxx>, , , <C8DE0E35.261CD%keir@xxxxxxx>, <BLU157-w8114EC5EB660DA26E51B9DA580@xxxxxxx>, <1287436670.23170.43.camel@xxxxxxxxxxxxxxxxxxxxxxx>, <BLU157-w385D9EE38F5058B8F364C2DA400@xxxxxxx>, <BLU157-w531FEC30CFD4EEFA04E0FADA4B0@xxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Well, I tested, it is necessary to modify netif->remaining_credit.
So question left
1. currently I use atomic64_t, is it necessary
2. Could rmmmod netback and insmod netback when apply this patch?
thx
From: tinnycloud@xxxxxxxxxxx To: xen-devel@xxxxxxxxxxxxxxxxxxx CC: keir@xxxxxxx; daniel.stodden@xxxxxxxxxx; jeremy@xxxxxxxx Subject: A Patch for modify DomU network transmit rate dynamically Date: Thu, 4 Nov 2010 11:09:55 +0800
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.
|
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|