Iperf is a common application used for testing network bandwidth (http://en.wikipedia.org/wiki/Iperf for more details). xapp1026 provides a utxperf which allows you to setup an iperf server which basically just spams packets as fast as it can to determine maximum bandwidth. This application works fine for me.
I am using the raw api with my pbufs setup just as in the iperf example - pbuf_alloc(PBUF_RAW, SEND_BUFSIZE, PBUF_POOL). The pbuf_pool_size is set to 256 and the pbuf_pool_bufsize is set to 1600. I am using lwip v1.3 which i believe is equivalent to lwip v3.0 with some xilinx specific changes. This is the exact setup i use to run iperf too which is why i'm very confused. [email protected] wrote: > > You should provide a little more information about your application (not > everyone knows the "provided iperf application", I guess - at least noe > me!): > > - What API are you using (sockets, netconn, raw)? > - If using raw API, which type of pbuf are you using? (For outgoing > data, you should use a PBUF_RAM pbuf) > - What is the pbuf pool size set to (PBUF_POOL_BUFSIZE define) > - Which version of lwIP are you using? > > At least with the default options, there should be more space than 32 > bytes in the first pbuf (if using a chain), so this might well be a > problem of the MAC driver, too. > > Having this info, maybe we can help more. > > Simon > > > bobbyb wrote: >> I have setup ethernet communication using the xps_ll_temac on a virtex 5 >> and >> am using the lwip tcpip stack. Everything works fine when running the >> provided iperf application, but when I run my own slightly modified code, >> it >> sends exactly 32 packets every time and drops the rest. Ive tried >> changing >> the number of udp_pcbs, pbufs and memory for pbufs all of which did >> nothing. >> Has anyone encountered a problem like this? Any ideas what could be >> causing >> this? Thanks >> > > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > > -- View this message in context: http://www.nabble.com/Ethernet---all-packets-over-32-dropped-tp25962931p25963435.html Sent from the lwip-users mailing list archive at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
