I think I've found my problem. The DNA driver doesn't keep counters (probably a good idea, for performance).
My code is transmitting in batches and apparently not flushing them, thus in simple tests to see if they've transmitted some packets, they hadn't flushed the queue, so no packets were sent. I do have a bug in my code somewhere, but the "not transmitting" was a red herring. -------------------------------------------- On Fri, 1/31/14, Robert Graham <[email protected]> wrote: Subject: [Ntop-misc] can't transmit To: [email protected] Date: Friday, January 31, 2014, 10:40 PM Transmit isn't working on the PF_RING DNA system I'm working with. I know the link itself is fine, because when it's configured as 'eth0', I can send/receive packets just fine. But as soon as I install the DNA driver, things break. As you can see from the following 'ifconfig', the card isn't transmitting packets or receiving them, the counts remain at zero. dna0 Link encap:Ethernet HWaddr 00:25:90:c6:b9:72 inet6 addr: fe80::225:90ff:fec6:b972/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 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:0 (0.0 B) TX bytes:0 (0.0 B) Memory:de000000-de080000 doing an 'ethtool dna0' reports the following: Settings for dna0: Supported ports: [ FIBRE ] Supported link modes: 10000baseT/Full Supported pause frame use: No Supports auto-negotiation: No Advertised link modes: 10000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: No Speed: 10000Mb/s Duplex: Full Port: Other PHYAD: 0 Transceiver: external Auto-negotiation: off Supports Wake-on: d Wake-on: d Current message level: 0x00000007 (7) drv probe link Link detected: yes When I do a send using the PF_RING API, the return code is 60, matching the packet length I'm attempting to send. What can I do to diagnose this to figure out why it's not sending or receiving packets? _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
