Hello,

after compiling correctly libpring, pf_ring.ko, libpcap-pf_ring i neet to 
compile and load the module for my NIC which is the following.

https://svn.ntop.org/svn/ntop/trunk/PF_RING/drivers/broadcom/
netxtreme2-5.2.50/bnx2x-1.52.12/src/

Since i have not found any instructions in the source about the compile 
process i have tried to run make in the src folder but i receive errors.

I have tried also to replace the drivers/net/bnx2x/ folder in the kernel 
source tree with the content of the ./src/ folder in pf_ring cvs.
After starting the compile process of the whole kernel i receive errors 
also here.

In file included from drivers/net/bnx2x/bnx2x_main.c:85:0:
drivers/net/bnx2x/bnx2x.h:71:36: fatal error: ../../bnx2/src/cnic_if.h: 
No such file or directory
compilation terminated.
I have tried also to correct these wrong path in the related makefile but 
this not helps

I have a very recent kernel version, the 3.0.3. I have noticed two things:


-the file cnic_if.h is not in the same path as the headers/makefile is 
searching

-the 'official' drivers/net/bnx2x/ contains some more file than the 
bnx2x-1.52.12/src/ folder in pf_ring source


so the question are, 

-is this pf_ring aware driver compatible with what kernel version ?
-what are usually the steps for compiling it on a vanilla kernel o redhat 
kernel?


a bit offtopic (but very important for us) :

-we have also a CHELSIO T3 10Gb network card. i see that the /trunk/
PF_RING/drivers/chelsio/cxgb4 driver supports only T4 cards.
is it possible to know who have created/maintained this drivers for 
chelsio cards. we would like to contribute for creating a t3 pf_ring  
aware driver (cxgb3) if it is technically possible and it does not exist 
already somewhere.

thank you in advance for your support

Enrico.

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

Reply via email to