Scott
please redo your tests using the code in PF_RING's SVN. From the interface 
names (we now call them dnaX) i see that you are using old stuff

Luca

On Oct 31, 2011, at 9:21 PM, Scott L wrote:

> I'm having problems getting pfcount to work.  I have two machines
> connected back-to-back: (A) has a Silicom NIC ; and (B) has a
> NetEffect 10GbE NIC.  I launch pfcount on A.  Then on B I start
> pinging A.  pfcount continually reports zero packets received.
> 
> =========================
> Absolute Stats: [0 pkts rcvd][0 pkts dropped]
> Total Pkts=0/Dropped=0.0 %
> 0 pkts - 0 bytes [0.00 pkt/sec - 0.00 Mbit/sec]
> =========================
> Actual Stats: 0 pkts [1'000.06 ms][0.00 pkt/sec]
> =========================
> 
> The only relevant log messages I see are:
> 
> ixgbe 0000:06:00.0: eth2: NIC Link is Down
> ixgbe 0000:06:00.0: eth2: NIC Link is Up 10 Gbps, Flow Control: RX/TX
> device eth0 entered promiscuous mode
> device eth0 left promiscuous mode
> [PF_RING] --> handle_hw_filtering_rule(command=0)
> [PF_RING] --> handle_hw_filtering_rule(command=0)
> [PF_RING] --> handle_hw_filtering_rule(command=1)
> [PF_RING] --> handle_hw_filtering_rule(command=1)
> 
> As I look around I don't see the problem.  I can see the packets as
> they are transmitted on B.   And the RX packet count for eth2 that is
> displayed by ifconfig increments appropriately on A.  But pfcount
> doesn't see them.  Anyone have any suggestions?
> 
> ifconfig -i eth2
> -------------------
> eth2      Link encap:Ethernet  HWaddr 00:E0:ED:FF:18:08
>          inet addr:10.0.2.45  Bcast:10.0.2.255  Mask:255.255.255.0
>          inet6 addr: fe80::2e0:edff:feff:1808/64 Scope:Link
>          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>          RX packets:719669104 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:1066541584248 (993.2 GiB)  TX bytes:0 (0.0 b)
>          Memory:fd7e0000-fd800000
> 
> cat /proc/net/pfring/info
> --------------------------
> PF_RING Version     : 5.0.0 ($Revision: exported$)
> Ring slots          : 4096
> Slot version        : 13
> Capture TX          : Yes [RX+TX]
> IP Defragment       : No
> Socket Mode         : Standard
> Transparent mode    : Yes (mode 0)
> Total rings         : 1
> Total plugins       : 0
> 
> cat /proc/net/pfring/<pid>-eth2.30
> --------------------------------------------
> Bound Device       : eth2
> Slot Version       : 13 [5.0.0]
> Active             : 1
> Breed              : DNA
> Sampling Rate      : 1
> Capture Direction  : RX+TX
> Appl. Name         : pfcount
> IP Defragment      : No
> BPF Filtering      : Disabled
> # Sw Filt. Rules   : 0
> # Hw Filt. Rules   : 0
> Poll Pkt Watermark : 128
> Num Poll Calls     : 1461
> Channel Id         : 0
> Num Slots          : 8192
> Tot Memory         : 33685504 bytes
> 
> ethtool -i eth2
> -------------------
> driver: ixgbe
> version: 3.3.9-DNA
> firmware-version: 1.3-0
> bus-info: 0000:06:00.0
> 
> ethtool eth2
> ----------------
> Settings for eth2:
>       Supported ports: [ FIBRE ]
>       Supported link modes:   10000baseT/Full
>       Supports auto-negotiation: No
>       Advertised link modes:  10000baseT/Full
>       Advertised auto-negotiation: No
>       Speed: 10000Mb/s
>       Duplex: Full
>       Port: FIBRE
>       PHYAD: 0
>       Transceiver: external
>       Auto-negotiation: off
>       Supports Wake-on: d
>       Wake-on: d
>       Current message level: 0x00000007 (7)
>       Link detected: yes
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

---
We can't solve problems by using the same kind of thinking we used when we 
created them - Albert Einstein

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to