<p>I'm using winpcap to capture datas from FPGA board via 1G Ethernet connection(directly connected).<br>the FPGA is configed to send data at a special rate. With the fpga sending rate increases,especially above 500Mbps, it sometimes loss packets. </p>
<p>Q1: Is it possible to totally avoid packets loss by optimism the code? I want to collect datas at speed 614Mbps without packet loss (collecting all datas </p>
<p>last about 1 minutes). My workstations features with 2 Xeon CPU (each has 4core), DDR3 SDRAM, 1 G onboard netcard. Which part is the most probably bottleneck ?</p>
<p>Q2: As a test , I found the pcap_next_ex() can't get any packets when the user buffer is set over 64 MB, what does it happen ?</p>
<p>Q3: if the Kernel buffer's size is 16MB , then the first 16Mb packets from fpga won't be lost, so , if I set the kernel buffer as 128MB , then at least </p>
<p>the first coming 128MB data from FPGA won't be lost either ? but I found When I set the kernel buffer bigger than 100 MB, the packets drops is getting </p>
<p>worse. </p>
<p><br>Thanks a lot!<br></p>