[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntop
Subject:    Re: [Ntop] bnx2x pf_ring aware drivers, how to compile?
From:       "Greg Lane" <greglane () laneconstinc ! com>
Date:       2011-08-26 21:12:30
Message-ID: 021201cc6434$de6e0150$9b4a03f0$ () com
[Download RAW message or body]

unsubscribe

Greg Lane
IT Manager
Lane Enterprises

Email:  greglane@laneconstinc.com
Phone: (228)872-2414


-----Original Message-----
From: ntop-bounces@listgateway.unipi.it
[mailto:ntop-bounces@listgateway.unipi.it] On Behalf Of Luca Deri
Sent: Thursday, August 25, 2011 10:42 AM
To: ntop@unipi.it
Subject: Re: [Ntop] bnx2x pf_ring aware drivers, how to compile?

Enrico
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

Luca

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:
> 
>> 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
> Ntop@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
Ntop@listgateway.unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
Ntop@listgateway.unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic