Re: FreeBSD 8.1-RELEASE-p1 i386 xennet_get_responses messages in console

2010-11-04 Thread Yuriy Kohut
Hi,

Dom0 details:
CentOS release 5.4 (Final) x86_64
kernel: 2.6.18-164.6.1.el5xen
Xen 3.0.3 (package from RHEL5 build xen-3.0.3-94.el5_4.2)

DomU details:
FreeBSD 8.1-RELEASE-p1 i386
Build from CVS tag: RELANG_8_1

I saw the messages any ones, and they gone after I reinstalled DomU.
I'll try the patch if the issue appears ones more.

Thank you.
---
Yura

On Nov 4, 2010, at 12:11 AM, Kenneth D. Merry wrote:

 On Thu, Oct 28, 2010 at 15:02:41 +0300, Yuriy Kohut wrote:
 Hi,
 
 Does somebody know haw to deal with the following massages in the console:
 
 xennet_get_responses: too many frags 6  max 5
 
 What are you using for your Domain 0?
 
 I haven't run into that before, so it would be nice to have a setup that
 would trigger this problem.
 
 It looks like there is a limit on the number of segments for LRO.  I think
 the limit is arbitrary, but I need to look at it a bit more.
 
 Try the attached patch and let me know whether it works for you.  It
 disables the limit on the number of receive segments.
 
 Thanks,
 
 Ken
 -- 
 Kenneth Merry
 k...@freebsd.org
 netfront.c.rx_max.stable.20101103.txt

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org


Re: FreeBSD 8.1-RELEASE-p1 i386 xennet_get_responses messages in console

2010-11-03 Thread Kenneth D. Merry
On Thu, Oct 28, 2010 at 15:02:41 +0300, Yuriy Kohut wrote:
 Hi,
 
 Does somebody know haw to deal with the following massages in the console:
 
 xennet_get_responses: too many frags 6  max 5

What are you using for your Domain 0?

I haven't run into that before, so it would be nice to have a setup that
would trigger this problem.

It looks like there is a limit on the number of segments for LRO.  I think
the limit is arbitrary, but I need to look at it a bit more.

Try the attached patch and let me know whether it works for you.  It
disables the limit on the number of receive segments.

Thanks,

Ken
-- 
Kenneth Merry
k...@freebsd.org
 //depot/SpectraBSD/stable/8/sys/dev/xen/netfront/netfront.c#2 - 
/usr/home/kenm/perforce4/SpectraBSD/stable/8/sys/dev/xen/netfront/netfront.c 

*** /tmp/tmp.3226.94Wed Nov  3 16:09:10 2010
--- 
/usr/home/kenm/perforce4/SpectraBSD/stable/8/sys/dev/xen/netfront/netfront.c
Wed Nov  3 16:08:35 2010
***
*** 1272,1278 
--- 1272,1280 
struct mbuf *m, *m0, *m_prev;
grant_ref_t ref = xennet_get_rx_ref(np, *cons);
RING_IDX ref_cons = *cons;
+ #if 0
int max = 5 /* MAX_TX_REQ_FRAGS + (rx-status = RX_COPY_THRESHOLD) */;
+ #endif
int frags = 1;
int err = 0;
u_long ret;
***
*** 1416,1421 
--- 1418,1424 
}
*list = m0;
  
+ #if 0
if (unlikely(frags  max)) {
if (net_ratelimit())
WPRINTK(Too many frags\n);
***
*** 1423,1428 
--- 1426,1432 
   max);
err = E2BIG;
}
+ #endif
  
*cons += frags;
  
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org