I was trying the pfcount_multichannel on a broadcom netxtreme II 5709 card.
The pfcount_multichannel identified 8 rx queues, kernel dmesg recognized 8 rx and 8 tx queues. However, the pfcount_multichannel program only see packets from queue 0. Exactly the same test, but with an Intel 82576 card, all 8 channels are receiving about the same number of packets.
Wonder if there is a bnx2 variable I need to tweak.

PF_RING-5.4.4/drviers/PF_RING_aware/broadcom/netxtreme2-7.0.36/bnx2 driver
Linux localhost.localdomain 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

# pfcount_multichannel -i eth0
Capturing from eth0
Found 8 channels
Using PF_RING v.5.4.4
Set thread 0 on core 1/32
Set thread 1 on core 2/32
Set thread 2 on core 3/32
Set thread 3 on core 4/32
Set thread 4 on core 5/32
Set thread 5 on core 6/32
Set thread 6 on core 7/32
Set thread 7 on core 8/32

=========================
Absolute Stats: [channel=0][1257129 pkts rcvd][0 pkts dropped]
Total Pkts=1257129/Dropped=0.0 %
1257129 pkts - 159062706 bytes [628463.6 pkt/sec - 636.15 Mbit/sec]
=========================
Actual Stats: [channel=0][422613 pkts][1000.2 ms][422509.9 pkt/sec]
=========================
Absolute Stats: [channel=1][0 pkts rcvd][0 pkts dropped]
Total Pkts=0/Dropped=0.0 %
0 pkts - 0 bytes [0.0 pkt/sec - 0.00 Mbit/sec]
=========================
Actual Stats: [channel=1][0 pkts][1000.2 ms][0.0 pkt/sec]
=========================
Absolute Stats: [channel=2][0 pkts rcvd][0 pkts dropped]
Total Pkts=0/Dropped=0.0 %
0 pkts - 0 bytes [0.0 pkt/sec - 0.00 Mbit/sec]
=========================
Actual Stats: [channel=2][0 pkts][1000.2 ms][0.0 pkt/sec]
=========================
Absolute Stats: [channel=3][0 pkts rcvd][0 pkts dropped]
Total Pkts=0/Dropped=0.0 %
0 pkts - 0 bytes [0.0 pkt/sec - 0.00 Mbit/sec]
=========================
Actual Stats: [channel=3][0 pkts][1000.2 ms][0.0 pkt/sec]
=========================
Absolute Stats: [channel=4][0 pkts rcvd][0 pkts dropped]
Total Pkts=0/Dropped=0.0 %
0 pkts - 0 bytes [0.0 pkt/sec - 0.00 Mbit/sec]
=========================
Actual Stats: [channel=4][0 pkts][1000.2 ms][0.0 pkt/sec]
=========================
Absolute Stats: [channel=5][0 pkts rcvd][0 pkts dropped]
Total Pkts=0/Dropped=0.0 %
0 pkts - 0 bytes [0.0 pkt/sec - 0.00 Mbit/sec]
=========================
Actual Stats: [channel=5][0 pkts][1000.2 ms][0.0 pkt/sec]
=========================
Absolute Stats: [channel=6][0 pkts rcvd][0 pkts dropped]
Total Pkts=0/Dropped=0.0 %
0 pkts - 0 bytes [0.0 pkt/sec - 0.00 Mbit/sec]
=========================
Actual Stats: [channel=6][0 pkts][1000.2 ms][0.0 pkt/sec]
=========================
Absolute Stats: [channel=7][0 pkts rcvd][0 pkts dropped]
Total Pkts=0/Dropped=0.0 %
0 pkts - 0 bytes [0.0 pkt/sec - 0.00 Mbit/sec]
=========================
Actual Stats: [channel=7][0 pkts][1000.2 ms][0.0 pkt/sec]
=========================
Aggregate stats (all channels): [422509.9 pkt/sec][0 pkts dropped]
=========================


ethtool -S eth0
NIC statistics:
     rx_bytes: 143598478181
     rx_error_bytes: 0
     tx_bytes: 4076
     tx_error_bytes: 0
     rx_ucast_packets: 1397377239
     rx_mcast_packets: 1827
     rx_bcast_packets: 216
     tx_ucast_packets: 0
     tx_mcast_packets: 6
     tx_bcast_packets: 56
     tx_mac_errors: 0
     tx_carrier_errors: 0
     rx_crc_errors: 0
     rx_align_errors: 0
     tx_single_collisions: 0
     tx_multi_collisions: 0
     tx_deferred: 0
     tx_excess_collisions: 0
     tx_late_collisions: 0
     tx_total_collisions: 0
     rx_fragments: 0
     rx_jabbers: 0
     rx_undersize_packets: 0
     rx_oversize_packets: 0
     rx_64_byte_packets: 423984418
     rx_65_to_127_byte_packets: 306994414
     rx_128_to_255_byte_packets: 666400369
     rx_256_to_511_byte_packets: 81
     rx_512_to_1023_byte_packets: 0
     rx_1024_to_1522_byte_packets: 0
     rx_1523_to_9022_byte_packets: 0
     tx_64_byte_packets: 56
     tx_65_to_127_byte_packets: 6
     tx_128_to_255_byte_packets: 0
     tx_256_to_511_byte_packets: 0
     tx_512_to_1023_byte_packets: 0
     tx_1024_to_1522_byte_packets: 0
     tx_1523_to_9022_byte_packets: 0
     rx_xon_frames: 0
     rx_xoff_frames: 0
     tx_xon_frames: 0
     tx_xoff_frames: 0
     rx_mac_ctrl_frames: 0
     rx_filtered_packets: 0
     rx_ftq_discards: 68
     rx_discards: 0
     rx_fw_discards: 376038816


Best Regards,
Ming

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

Reply via email to