search for: chenh

Displaying 8 results from an estimated 8 matches for "chenh".

Did you mean: chen
2023 May 07
1
[PATCH] virtio_net: set default mtu to 1500 when 'Device maximum MTU' bigger than 1500
On Sat, May 06, 2023 at 04:56:35PM +0800, Hao Chen wrote: > > > ? 2023/5/6 10:50, Xuan Zhuo ??: > > On Sat, 6 May 2023 10:15:29 +0800, Hao Chen <chenh at yusur.tech> wrote: > > > When VIRTIO_NET_F_MTU(3) Device maximum MTU reporting is supported. > > > If offered by the device, device advises driver about the value of its > > > maximum MTU. If negotiated, the driver uses mtu as the maximum > > > MTU value. B...
2023 May 06
0
[PATCH] virtio_net: set default mtu to 1500 when 'Device maximum MTU' bigger than 1500
On Sat, 6 May 2023 10:15:29 +0800, Hao Chen <chenh at yusur.tech> wrote: > When VIRTIO_NET_F_MTU(3) Device maximum MTU reporting is supported. > If offered by the device, device advises driver about the value of its > maximum MTU. If negotiated, the driver uses mtu as the maximum > MTU value. But there the driver also uses it as defa...
2023 May 07
1
Re: [PATCH] virtio_net: set default mtu to 1500 when 'Device maximum MTU' bigger than 1500
On 6 May 2023 09:56:35 BST, Hao Chen <chenh at yusur.tech> wrote: >In the current code, if the maximum MTU supported by the virtio net hardware is 9000, the default MTU of the virtio net driver will also be set to 9000. When sending packets through "ping -s 5000", if the peer router does not support negotiating a path MTU thr...
2023 May 07
0
[PATCH] virtio_net: set default mtu to 1500 when 'Device maximum MTU' bigger than 1500
...re the driver also uses it as default mtu, > some devices may have a maximum MTU greater than 1500, this may > cause some large packages to be discarded, so I changed the MTU to a more > general 1500 when 'Device maximum MTU' bigger than 1500. > > Signed-off-by: Hao Chen <chenh at yusur.tech> I don't see why not use the maximum. Bigger packets = better performance. > --- > drivers/net/virtio_net.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c > index 8d8038538fc...
2005 Nov 24
1
Inversion function of dnorm ?
Hi, In R, qnorm is the inversion function of pnorm. (c.d.f) But there is no inversion function for dnorm. (p.d.f). Is there any easy (and quick) way to compute the inversion function of p.d.f in R ? Thanks ...
2011 Sep 26
8
[Bug 8483] New: rsync: chown failed: Permission denied (13)
https://bugzilla.samba.org/show_bug.cgi?id=8483 Summary: rsync: chown failed: Permission denied (13) Product: rsync Version: 3.0.8 Platform: x86 OS/Version: Solaris Status: NEW Severity: major Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: cas at totallylost.org
2012 Jun 25
1
cannot use simple=TRUE in boot
I am doing boot with a large database, thus want to use?simple=TRUE to reduce the memory used. I alreday set up sim="ordinary", stype="i" , but I don't know how to set "n=0". In fact, I don't know what does "n=0" mean? For example, a<-c(1:1000) b<-c(2:1001) c<-cbind(a,b) library(boot) table<-function(c,indices){ d<-c[indices,]
2006 Oct 09
2
shifting a huge matrix left or right efficiently ?
I'm wondering what's the best way to shift a huge matrix left or right. My current implementation is the following: shiftMatrixL <- function(X, shift, padding=0) { cbind(X[, -1:-shift], matrix(padding, dim(X)[1], shift)) } X <- shiftMatrixL(X, 1)*3 + shiftMatrixL(X,2)*5... However, it's still slow due to heavy use of this function. The resulting matrix will only be read once