[Ntop] bnx2x pf_ring aware drivers, how to compile?
deri at ntop.org
Thu Aug 25 17:41:36 CEST 2011
the chelsio driver is inside the PF_RING SVN but I doubt it will work on RH 6.1 as it's an outdated distribution
On Aug 25, 2011, at 4:20 PM, enrico wrote:
> Problem partially solved
> Now we got a Chelsio T4!
> We no more need the bnx2x, or chelsio t3 driver.
> We would like to test it on RedHat 6.1.
> How to compile?
> On Tue, 23 Aug 2011 15:37:06 +0000, enrico wrote:
>> 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.
>> 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
>> 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
>> -the file cnic_if.h is not in the same path as the headers/makefile is
>> -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
> Ntop mailing list
> Ntop at listgateway.unipi.it
More information about the Ntop