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.94    Wed 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"

Reply via email to