hi
i am trying to run the pfcount with pf_ring in transparent_mode 2 with DNA.
when running it with parameter pfcount -i dna:eth8. i get
*"pfring_open error [Operation not permitted] (pf_ring not loaded or
perhaps you use quick mode and have already a socket bound to dna:eth8 ?)"*
i see the in the function "pfring_map_dna_device" fails in
lib/pfring_mod_dna.c
*setsockopt(ring->fd, 0, SO_MAP_DNA_DEVICE,&mapping, sizeof(mapping));*

could someone tell me what am i doing wrong
thanks

my setup

I used the script  "load_dna_driver.sh" script with
*load_dna_driver.sh*:
  irqbalance: no process found
  Configuring eth8
  no rx vectors found on eth8
  no tx vectors found on eth8
  eth8 mask=1 for /proc/irq/83/smp_affinity
*lsmod*
with ls mode i see the igb and pf_ring are up
*ethtool*:
ethtool -i eth8
driver: igb
version: 3.2.10-DNA
firmware-version: 1.2-1
bus-info: 0000:0e:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
*cat /proc/net/pf_ring/dev/eth8/info
*Name:              eth8
Index:             33
Address:           00:1B:21:36:83:CC
Polling Mode:      NAPI/TNAPI
Type:              Ethernet
Family:            Standard NIC
# Bound Sockets:   0
Max # TX Queues:   16
# Used RX Queues:  1

why is the eth8/info not change the Polling Mode to DNA ?
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to