Hi
look at PF_RING/drivers/DNA/igb-3.1.16-DNA/src/igb_dna.c
void dna_check_enable_adapter(struct igb_adapter *adapter) {
adapter->dna.dna_enabled = 0; /* Default */
if(strcmp(adapter->netdev->name, "eth0") == 0)
return; /*
We never enable DNA on eth0 as this might be
the management interface
*/
Please use another interface other than eth0 that we assume is used for
management and not for DNA.
Luca
On Sep 6, 2011, at 9:02 AM, 이광철 wrote:
> Hi Luca.
>
> I'm having an issue with the DNA igb(igb-3.1.16-DNA) driver.
>
> I worked according to your instructions(Linux OS Upgrade)
>
> NIC: 82576 intel chipset card
> OS : CentOS 6.0 (2.6.32-71)
>
> I run load_dna_driver.sh(in PF_RING/drivers/DNA/igb-3.1.16-DNA/src)
> and DNA test.
>
> but still allmost packets are dropped.
>
> why?
>
> ==============================================================================
> ./load_dna_driver.sh
>
> irqbalance: no process killed
> Configuring eth0
> no rx vectors found on eth0
> no tx vectors found on eth0
> eth0 mask=1 for /proc/irq/40/smp_affinity
> Configuring eth1
> no rx vectors found on eth1
> no tx vectors found on eth1
> eth1 mask=1 for /proc/irq/42/smp_affinity
> pfcount -i dna:eth0
>
> Using PF_RING v.4.7.3
> Capturing from dna:eth0 [00:1B:21:BE:8B:94]
> # Device RX channels: 1
> # Polling threads: 1
> =========================
> Absolute Stats: [3 pkts rcvd][0 pkts dropped]
> Total Pkts=3/Dropped=0.0 %
> 3 pkts - 322 bytes
> =========================
> =========================
> Absolute Stats: [9 pkts rcvd][691 pkts dropped]
> Total Pkts=700/Dropped=98.7 %
> 9 pkts - 965 bytes [9.00 pkt/sec - 0.01 Mbit/sec]
> =========================
> Actual Stats: 6 pkts [1'000.11 ms][6.00 pkt/sec]
> =========================
> =========================
> Absolute Stats: [11 pkts rcvd][691 pkts dropped]
> Total Pkts=702/Dropped=98.4 %
> 11 pkts - 1'375 bytes [5.50 pkt/sec - 0.01 Mbit/sec]
> =========================
> Actual Stats: 2 pkts [1'000.12 ms][2.00 pkt/sec]
> =========================
> ^CLeaving...
> =========================
> Absolute Stats: [13 pkts rcvd][1255 pkts dropped]
> Total Pkts=1268/Dropped=99.0 %
> 13 pkts - 1'785 bytes [4.39 pkt/sec - 0.00 Mbit/sec]
> =========================
> Actual Stats: 2 pkts [963.37 ms][2.08 pkt/sec]
> =========================
>
>
>
> 이광철
> [email protected] | 010-5326-3438
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
---
"Debugging is twice as hard as writing the code in the first place. Therefore,
if you write the code as cleverly as possible, you are, by definition, not
smart enough to debug it. - Brian W. Kernighan
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc