Hi everyone,
I have been testing pf_ring-aware drivers on performance and find this
problem. tx capture works normal.
I have been sending packets with pfsend either on local machine and from
the remote with this command:
$./pfsend -n 10000 -i eth0
capture was saying that there were no packets captured:
$./pfcount -i eth0 -e 1
I have used latest pf_ring (5.4.6-r5751) and driver (e1000e-2.0.1). There
was deffenitly some other constant traffic on this device (checked with
tcpdump). At first i compiled and loaded e1000e then pf_ring with
transparent_mode=1. Here is some info on my machine:
$cat /proc/net/pf_ring/info
PF_RING Version : 5.4.6 ($Revision: exported$)
Ring slots : 4096
Slot version : 14
Capture TX : Yes [RX+TX]
IP Defragment : No
Socket Mode : Standard
Transparent mode : Yes (mode 1)
Total rings : 2
Total plugins : 0
$ sudo ifconfig eth0
eth0 Link encap:Ethernet HWaddr some_hwaddr
inet addr:soume_ip Bcast:some_bcast Mask:255.255.255.0
inet6 addr: some_ipv6 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:2194 errors:0 dropped:0 overruns:0 frame:0
TX packets:21320 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:218006 (212.8 KiB) TX bytes:1545459 (1.4 MiB)
Interrupt:18 Memory:dfee0000-dff00000
$cat /proc/net/pf_ring/dev/eth0/info
Name: eth0
Index: 4
Address: some_hwaddr
Polling Mode: NAPI/TNAPI
Type: Ethernet
Family: Standard NIC
# Bound Sockets: 2
Max # TX Queues: 1
# Used RX Queues: 1
$ethtool -i eth0
driver: e1000e
version: 1.5.1-k
firmware-version: 2.1-11
bus-info: 0000:04:00.0
$lspci
09:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet
Controller (rev 06)
--
Bushmakin Pavel.
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc