Just to make sure, so the buffer that is allocated to TX_RING can be discared, if not required, if so, can you please give an example snippet code?
Regards, Sibir On Monday, October 8, 2012 4:04:46 PM UTC+5:30, [email protected] wrote: > I downloaded and compiled the netsniff-ng. The replay works perfectly for 10G > and 1G rates, well above other open source softwares. I have achieved around > close to 2.6 Mpps with 512 byte packets and close to 5Mpps in 10G Intel Ixgbe > card. > > I have a few queries: > > 1) In the code for netnsiff-ng, it expects bpf filter which is applied on the > Pcap file. Can I instead apply the filter on the TxRing ie. the Intel NIC > card? So that multiple TxRings can have multiple filters. > > eg. eth1#SrcPort=1233-1244 > eth2#IPSrc=1.2.3.4/16 etc. > > 2) One more requirement is that, is it possible to get a bpf filter from > command line in a human readable format like SrcPort like the one in > tcpreplay ? --
