Hello,

we have set up pf_ring correctly on a RHEL 6.1 system.
We have loaded two pf_ring aware drivers: igb and cxgb4

All the applications works well with the interfaces managed by the igb driver.

Instead we cannot receive packets from the interfaces managed by cxgb4.
pf_count and tcpdump for these interfaces show like 1 pkt per 2 seconds....and tcpdump can not even show what kind of packets are.
ifconfig instead is showing a lot of traffic reaching the NICs.

We are using pf_ring stable 4.7.3
We have reproduced this problem both in kernel 2.6.32.46 and 2.6.35.14

The compile process goes well and dmesg does not report errors when loads the module.
Compile output (with some warnings)
"[root@ids01 cxgb4]# make
make -C /lib/modules/2.6.35.14-ids01/build SUBDIRS=/usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4 modules
make[1]: Entering directory `/usr/src/linux-2.6.35.14'
CC [M] /usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4/cxgb4_main.o CC [M] /usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4/sge.o CC [M] /usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4/t4_hw.o /usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4/t4_hw.c: In function ât4_get_vpd_paramsâ: /usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4/t4_hw.c:739: warning: ignoring return value of âstrstripâ, declared with attribute warn_unused_result /usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4/t4_hw.c:741: warning: ignoring return value of âstrstripâ, declared with attribute warn_unused_result /usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4/t4_hw.c:744: warning: ignoring return value of âstrstripâ, declared with attribute warn_unused_result CC [M] /usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4/trace.o LD [M] /usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4/cxgb4.o
  Building modules, stage 2.
  MODPOST 1 modules
CC /usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4/cxgb4.mod.o LD [M] /usr/local/src/PF_RING-4.7.3/drivers/PF_RING_aware/chelsio/cxgb4/cxgb4.ko
make[1]: Leaving directory `/usr/src/linux-2.6.35.14'


What kernel is needed for cxgb4?
Also if we run 'make install' in the cxgb4 the process does not complete for missing files.


Any suggestions i welcome.

Thank you,

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

Reply via email to