Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Misc

compiling igb and ixgbe tnapi drivers in CentOS 5.4

 

 

NTop misc RSS feed   Index | Next | Previous | View Threaded


bmengel at gmail

Oct 26, 2009, 6:28 AM

Post #1 of 13 (2655 views)
Permalink
compiling igb and ixgbe tnapi drivers in CentOS 5.4

Luca.

Thanks to the latest changes to PF_RING, it now compiles cleanly,
however the TNAPI drivers do not.

[root [at] prob src]# uname -a
Linux probe 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64
x86_64 x86_64 GNU/Linux

[root [at] prob src]# make
make -C /lib/modules/2.6.18-164.el5/build
SUBDIRS=/root/ixgbe-2.0.34.3_300809/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
CC [M] /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.o
In file included from /root/ixgbe-2.0.34.3_300809/src/ixgbe_osdep.h:41,
from /root/ixgbe-2.0.34.3_300809/src/ixgbe_type.h:31,
from /root/ixgbe-2.0.34.3_300809/src/ixgbe_dcb.h:31,
from /root/ixgbe-2.0.34.3_300809/src/ixgbe.h:51,
from /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:63:
/root/ixgbe-2.0.34.3_300809/src/kcompat.h:1515: error: redefinition of
âstruct napi_structâ
In file included from /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:70:
/root/ixgbe-2.0.34.3_300809/src/ixgbe_tnapi.c: In function âpkt_poll_threadâ:
/root/ixgbe-2.0.34.3_300809/src/ixgbe_tnapi.c:240: error: âstruct
sk_buffâ has no member named âiifâ
/root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c: In function âixgbe_clean_rx_irqâ:
/root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:1287: error: âstruct
sk_buffâ has no member named âiifâ
make[2]: *** [/root/ixgbe-2.0.34.3_300809/src/ixgbe_main.o] Error 1
make[1]: *** [_module_/root/ixgbe-2.0.34.3_300809/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
make: *** [default] Error 2

[root [at] prob src]# make
make -C /lib/modules/2.6.18-164.el5/build
SUBDIRS=/root/igb-1.3.28.4_300809/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
CC [M] /root/igb-1.3.28.4_300809/src/igb_main.o
In file included from /root/igb-1.3.28.4_300809/src/igb.h:62,
from /root/igb-1.3.28.4_300809/src/igb_main.c:54:
/root/igb-1.3.28.4_300809/src/kcompat.h:1498: error: redefinition of
âstruct napi_structâ
/root/igb-1.3.28.4_300809/src/igb_main.c: In function âigb_clean_rx_irq_advâ:
/root/igb-1.3.28.4_300809/src/igb_main.c:4236: error: âstruct sk_buffâ
has no member named âiifâ
make[2]: *** [/root/igb-1.3.28.4_300809/src/igb_main.o] Error 1
make[1]: *** [_module_/root/igb-1.3.28.4_300809/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
make: *** [default] Error 2
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


deri at ntop

Oct 27, 2009, 1:20 AM

Post #2 of 13 (2514 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

Brian
I know that I have to update TNAPI, it's on my todo list

Luca

On 10/26/2009 02:28 PM, Brian Mengel wrote:
> Luca.
>
> Thanks to the latest changes to PF_RING, it now compiles cleanly,
> however the TNAPI drivers do not.
>
> [root [at] prob src]# uname -a
> Linux probe 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64
> x86_64 x86_64 GNU/Linux
>
> [root [at] prob src]# make
> make -C /lib/modules/2.6.18-164.el5/build
> SUBDIRS=/root/ixgbe-2.0.34.3_300809/src modules
> make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
> CC [M] /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.o
> In file included from /root/ixgbe-2.0.34.3_300809/src/ixgbe_osdep.h:41,
> from /root/ixgbe-2.0.34.3_300809/src/ixgbe_type.h:31,
> from /root/ixgbe-2.0.34.3_300809/src/ixgbe_dcb.h:31,
> from /root/ixgbe-2.0.34.3_300809/src/ixgbe.h:51,
> from /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:63:
> /root/ixgbe-2.0.34.3_300809/src/kcompat.h:1515: error: redefinition of
> âstruct napi_structâ
> In file included from /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:70:
> /root/ixgbe-2.0.34.3_300809/src/ixgbe_tnapi.c: In function âpkt_poll_threadâ:
> /root/ixgbe-2.0.34.3_300809/src/ixgbe_tnapi.c:240: error: âstruct
> sk_buffâ has no member named âiifâ
> /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c: In function âixgbe_clean_rx_irqâ:
> /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:1287: error: âstruct
> sk_buffâ has no member named âiifâ
> make[2]: *** [/root/ixgbe-2.0.34.3_300809/src/ixgbe_main.o] Error 1
> make[1]: *** [_module_/root/ixgbe-2.0.34.3_300809/src] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
> make: *** [default] Error 2
>
> [root [at] prob src]# make
> make -C /lib/modules/2.6.18-164.el5/build
> SUBDIRS=/root/igb-1.3.28.4_300809/src modules
> make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
> CC [M] /root/igb-1.3.28.4_300809/src/igb_main.o
> In file included from /root/igb-1.3.28.4_300809/src/igb.h:62,
> from /root/igb-1.3.28.4_300809/src/igb_main.c:54:
> /root/igb-1.3.28.4_300809/src/kcompat.h:1498: error: redefinition of
> âstruct napi_structâ
> /root/igb-1.3.28.4_300809/src/igb_main.c: In function âigb_clean_rx_irq_advâ:
> /root/igb-1.3.28.4_300809/src/igb_main.c:4236: error: âstruct sk_buffâ
> has no member named âiifâ
> make[2]: *** [/root/igb-1.3.28.4_300809/src/igb_main.o] Error 1
> make[1]: *** [_module_/root/igb-1.3.28.4_300809/src] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
> make: *** [default] Error 2
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>

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


bmengel at gmail

Nov 5, 2009, 11:43 AM

Post #3 of 13 (2480 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

Luca,

I downloaded the 11/1 release of the TNAPI ixgbe driver and seem to
have a slightly different error now:

[root [at] prob src]# make
make -C /lib/modules/2.6.18-164.el5/build
SUBDIRS=/root/ixgbe-2.0.44.14/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
CC [M] /root/ixgbe-2.0.44.14/src/ixgbe_main.o
In file included from /root/ixgbe-2.0.44.14/src/ixgbe_main.c:67:
/root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c: In function âpkt_poll_threadâ:
/root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:244: error: âstruct sk_buffâ
has no member named âiifâ
/root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:250: error: âstruct sk_buffâ
has no member named âiifâ
/root/ixgbe-2.0.44.14/src/ixgbe_main.c: At top level:
/root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:85: warning:
âixgbe_irq_enableâ declared inline after being called
/root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:85: warning: previous
declaration of âixgbe_irq_enableâ was here
/root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:79: warning:
âixgbe_irq_disableâ declared inline after being called
/root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:79: warning: previous
declaration of âixgbe_irq_disableâ was here
make[2]: *** [/root/ixgbe-2.0.44.14/src/ixgbe_main.o] Error 1
make[1]: *** [_module_/root/ixgbe-2.0.44.14/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
make: *** [default] Error 2


On Tue, Oct 27, 2009 at 3:20 AM, Luca Deri <deri [at] ntop> wrote:
> Brian
> I know that I have to update TNAPI, it's on my todo list
>
> Luca
>
> On 10/26/2009 02:28 PM, Brian Mengel wrote:
>>
>> Luca.
>>
>> Thanks to the latest changes to PF_RING, it now compiles cleanly,
>> however the TNAPI drivers do not.
>>
>> [root [at] prob src]# uname -a
>> Linux probe 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64
>> x86_64 x86_64 GNU/Linux
>>
>> [root [at] prob src]# make
>> make -C /lib/modules/2.6.18-164.el5/build
>> SUBDIRS=/root/ixgbe-2.0.34.3_300809/src modules
>> make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
>>   CC [M]  /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.o
>> In file included from /root/ixgbe-2.0.34.3_300809/src/ixgbe_osdep.h:41,
>>                  from /root/ixgbe-2.0.34.3_300809/src/ixgbe_type.h:31,
>>                  from /root/ixgbe-2.0.34.3_300809/src/ixgbe_dcb.h:31,
>>                  from /root/ixgbe-2.0.34.3_300809/src/ixgbe.h:51,
>>                  from /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:63:
>> /root/ixgbe-2.0.34.3_300809/src/kcompat.h:1515: error: redefinition of
>> âstruct napi_structâ
>> In file included from /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:70:
>> /root/ixgbe-2.0.34.3_300809/src/ixgbe_tnapi.c: In function
>> âpkt_poll_threadâ:
>> /root/ixgbe-2.0.34.3_300809/src/ixgbe_tnapi.c:240: error: âstruct
>> sk_buffâ has no member named âiifâ
>> /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c: In function
>> âixgbe_clean_rx_irqâ:
>> /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:1287: error: âstruct
>> sk_buffâ has no member named âiifâ
>> make[2]: *** [/root/ixgbe-2.0.34.3_300809/src/ixgbe_main.o] Error 1
>> make[1]: *** [_module_/root/ixgbe-2.0.34.3_300809/src] Error 2
>> make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
>> make: *** [default] Error 2
>>
>> [root [at] prob src]# make
>> make -C /lib/modules/2.6.18-164.el5/build
>> SUBDIRS=/root/igb-1.3.28.4_300809/src modules
>> make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
>>   CC [M]  /root/igb-1.3.28.4_300809/src/igb_main.o
>> In file included from /root/igb-1.3.28.4_300809/src/igb.h:62,
>>                  from /root/igb-1.3.28.4_300809/src/igb_main.c:54:
>> /root/igb-1.3.28.4_300809/src/kcompat.h:1498: error: redefinition of
>> âstruct napi_structâ
>> /root/igb-1.3.28.4_300809/src/igb_main.c: In function
>> âigb_clean_rx_irq_advâ:
>> /root/igb-1.3.28.4_300809/src/igb_main.c:4236: error: âstruct sk_buffâ
>> has no member named âiifâ
>> make[2]: *** [/root/igb-1.3.28.4_300809/src/igb_main.o] Error 1
>> make[1]: *** [_module_/root/igb-1.3.28.4_300809/src] Error 2
>> make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
>> make: *** [default] Error 2
>> _______________________________________________
>> Ntop-misc mailing list
>> Ntop-misc [at] listgateway
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


deri at ntop

Nov 5, 2009, 12:05 PM

Post #4 of 13 (2453 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

Brian
I'm downloading centos 5.4 and testing. The iif field is not present
on 2.6.18 kernel so I need to find a workaround.

Thanks for reporting the bug

Luca

On Nov 5, 2009, at 8:43 PM, Brian Mengel wrote:

> Luca,
>
> I downloaded the 11/1 release of the TNAPI ixgbe driver and seem to
> have a slightly different error now:
>
> [root [at] prob src]# make
> make -C /lib/modules/2.6.18-164.el5/build
> SUBDIRS=/root/ixgbe-2.0.44.14/src modules
> make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
> CC [M] /root/ixgbe-2.0.44.14/src/ixgbe_main.o
> In file included from /root/ixgbe-2.0.44.14/src/ixgbe_main.c:67:
> /root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c: In function
> âpkt_poll_threadâ:
> /root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:244: error: âstruct sk_buffâ
> has no member named âiifâ
> /root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:250: error: âstruct sk_buffâ
> has no member named âiifâ
> /root/ixgbe-2.0.44.14/src/ixgbe_main.c: At top level:
> /root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:85: warning:
> âixgbe_irq_enableâ declared inline after being called
> /root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:85: warning: previous
> declaration of âixgbe_irq_enableâ was here
> /root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:79: warning:
> âixgbe_irq_disableâ declared inline after being called
> /root/ixgbe-2.0.44.14/src/ixgbe_tnapi.c:79: warning: previous
> declaration of âixgbe_irq_disableâ was here
> make[2]: *** [/root/ixgbe-2.0.44.14/src/ixgbe_main.o] Error 1
> make[1]: *** [_module_/root/ixgbe-2.0.44.14/src] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
> make: *** [default] Error 2
>
>
> On Tue, Oct 27, 2009 at 3:20 AM, Luca Deri <deri [at] ntop> wrote:
>> Brian
>> I know that I have to update TNAPI, it's on my todo list
>>
>> Luca
>>
>> On 10/26/2009 02:28 PM, Brian Mengel wrote:
>>>
>>> Luca.
>>>
>>> Thanks to the latest changes to PF_RING, it now compiles cleanly,
>>> however the TNAPI drivers do not.
>>>
>>> [root [at] prob src]# uname -a
>>> Linux probe 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64
>>> x86_64 x86_64 GNU/Linux
>>>
>>> [root [at] prob src]# make
>>> make -C /lib/modules/2.6.18-164.el5/build
>>> SUBDIRS=/root/ixgbe-2.0.34.3_300809/src modules
>>> make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
>>> CC [M] /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.o
>>> In file included from /root/ixgbe-2.0.34.3_300809/src/
>>> ixgbe_osdep.h:41,
>>> from /root/ixgbe-2.0.34.3_300809/src/ixgbe_type.h:
>>> 31,
>>> from /root/ixgbe-2.0.34.3_300809/src/ixgbe_dcb.h:
>>> 31,
>>> from /root/ixgbe-2.0.34.3_300809/src/ixgbe.h:51,
>>> from /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:
>>> 63:
>>> /root/ixgbe-2.0.34.3_300809/src/kcompat.h:1515: error:
>>> redefinition of
>>> âstruct napi_structâ
>>> In file included from /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:
>>> 70:
>>> /root/ixgbe-2.0.34.3_300809/src/ixgbe_tnapi.c: In function
>>> âpkt_poll_threadâ:
>>> /root/ixgbe-2.0.34.3_300809/src/ixgbe_tnapi.c:240: error: âstruct
>>> sk_buffâ has no member named âiifâ
>>> /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c: In function
>>> âixgbe_clean_rx_irqâ:
>>> /root/ixgbe-2.0.34.3_300809/src/ixgbe_main.c:1287: error: âstruct
>>> sk_buffâ has no member named âiifâ
>>> make[2]: *** [/root/ixgbe-2.0.34.3_300809/src/ixgbe_main.o] Error 1
>>> make[1]: *** [_module_/root/ixgbe-2.0.34.3_300809/src] Error 2
>>> make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
>>> make: *** [default] Error 2
>>>
>>> [root [at] prob src]# make
>>> make -C /lib/modules/2.6.18-164.el5/build
>>> SUBDIRS=/root/igb-1.3.28.4_300809/src modules
>>> make[1]: Entering directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
>>> CC [M] /root/igb-1.3.28.4_300809/src/igb_main.o
>>> In file included from /root/igb-1.3.28.4_300809/src/igb.h:62,
>>> from /root/igb-1.3.28.4_300809/src/igb_main.c:54:
>>> /root/igb-1.3.28.4_300809/src/kcompat.h:1498: error: redefinition of
>>> âstruct napi_structâ
>>> /root/igb-1.3.28.4_300809/src/igb_main.c: In function
>>> âigb_clean_rx_irq_advâ:
>>> /root/igb-1.3.28.4_300809/src/igb_main.c:4236: error: âstruct
>>> sk_buffâ
>>> has no member named âiifâ
>>> make[2]: *** [/root/igb-1.3.28.4_300809/src/igb_main.o] Error 1
>>> make[1]: *** [_module_/root/igb-1.3.28.4_300809/src] Error 2
>>> make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-x86_64'
>>> make: *** [default] Error 2
>>> _______________________________________________
>>> Ntop-misc mailing list
>>> Ntop-misc [at] listgateway
>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>>
>>
>> _______________________________________________
>> Ntop-misc mailing list
>> Ntop-misc [at] listgateway
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

---
If you can not measure it, you can not improve it - Lord Kelvin

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


cpforbes at gmail

Nov 5, 2009, 1:01 PM

Post #5 of 13 (2458 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

Thanks for working on porting to CentOS we certainly appreciate it.

-Craig

On Thu, Nov 5, 2009 at 2:05 PM, Luca Deri <deri [at] ntop> wrote:
> Brian
> I'm downloading centos 5.4 and testing. The iif field is not present on
> 2.6.18 kernel so I need to find a workaround.
>
> Thanks for reporting the bug
>
> Luca
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


mickrussom at yahoo

Nov 5, 2009, 9:25 PM

Post #6 of 13 (2437 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

Yes, working with RHEL 5 / CentOS 5 / Scientific Linux / Oracle-EL / GentOS  is very, very much appreciated.

Thank you for supporting it.

----- Original Message ----
> Sent: Thu, November 5, 2009 1:01:48 PM
> Subject: Re: [Ntop-misc] compiling igb and ixgbe tnapi drivers in CentOS 5.4
>
> Thanks for working on porting to CentOS we certainly appreciate it.
>
> -Craig
>
> On Thu, Nov 5, 2009 at 2:05 PM, Luca Deri wrote:
> > Brian
> > I'm downloading centos 5.4 and testing. The iif field is not present on
> > 2.6.18 kernel so I need to find a workaround.
> >
> > Thanks for reporting the bug
> >




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


bmengel at gmail

Dec 15, 2009, 11:44 AM

Post #7 of 13 (2019 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

Luca,

Has there been any progress with updating the TNAPI driver source so
that it will compile cleanly on CentOS 5.4? If there is a specific
distribution you're using for your development, I can try switching to
that as well.

-b

On Fri, Nov 6, 2009 at 12:25 AM, Mick Russom <mickrussom [at] yahoo> wrote:
> Yes, working with RHEL 5 / CentOS 5 / Scientific Linux / Oracle-EL / GentOS  is very, very much appreciated.
>
> Thank you for supporting it.
>
> ----- Original Message ----
>> Sent: Thu, November 5, 2009 1:01:48 PM
>> Subject: Re: [Ntop-misc] compiling igb and ixgbe tnapi drivers in CentOS 5.4
>>
>> Thanks for working on porting to CentOS we certainly appreciate it.
>>
>> -Craig
>>
>> On Thu, Nov 5, 2009 at 2:05 PM, Luca Deri wrote:
>> > Brian
>> > I'm downloading centos 5.4 and testing. The iif field is not present on
>> > 2.6.18 kernel so I need to find a workaround.
>> >
>> > Thanks for reporting the bug
>> >
>
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


deri at ntop

Dec 16, 2009, 10:36 AM

Post #8 of 13 (2013 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

Dear all
I have analyzed the problem of Centos. It's running kernel 2.6.18 that lacks a field (added 3.5 years ago in the Linux kernel), in the socket buffer, used to propagate the channel (or RX queue) on which the packet has been received. So you can compile and run TNAPI on Centos but your application will not be able to figure out on which queue the packet has been received. As soon as the Centos/RH people will update the kernel you will be able to fully exploit TNAPI. If not, the workaround is you to compile a more recent kernel

Regards Luca
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


jnebrera at eneotecnologia

Dec 16, 2009, 11:26 AM

Post #9 of 13 (2016 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

Hi,

El mié, 16-12-2009 a las 19:36 +0100, Luca Deri escribió:
> Dear all
> I have analyzed the problem of Centos. It's running kernel
> 2.6.18 that lacks a field (added 3.5 years ago in the Linux kernel),
> in the socket buffer, used to propagate the channel (or RX queue)
> on which the packet has been received.

Yep, this is the problem in general with RH / CentOS, their kernel
becomes quite outdated in some areas (like networking) as their
philosophy is precisely to stay constant.

> So you can compile and run
> TNAPI on Centos but your application will not be able to figure
> out on which queue the packet has been received. As soon as the
> Centos/RH people will update the kernel you will be able to fully
> exploit TNAPI.

They most provably wont do that as changes quite a bit their
networking stuff and provably backwards compatibility. Sadly that is the
main advantage and at the same time problem with them.

> If not, the workaround is you to compile a more
> recent kernel

You shouldnt unless you want to loose support and proven compatibility
with all their "ecosystem".

Regards

--
Jaime Nebrera - jnebrera [at] eneotecnologia
Consultor TI - ENEO Tecnologia SL
Pol. PISA - C/ Manufactura 6, P1, 3B
Mairena del Aljarafe - 41927 - Sevilla
Telf.- 955 60 11 60 / 619 04 55 18

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


mickrussom at yahoo

Dec 17, 2009, 4:12 PM

Post #10 of 13 (2011 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

Outdated != doesnt work.


 


----- Original Message ----
> From: Jaime Nebrera <jnebrera [at] eneotecnologia>
> To: ntop-misc [at] listgateway
> Sent: Wed, December 16, 2009 11:26:56 AM
> Subject: Re: [Ntop-misc] compiling igb and ixgbe tnapi drivers in CentOS 5.4
>
>   Hi,
>
> El mié, 16-12-2009 a las 19:36 +0100, Luca Deri escribió:
> > Dear all
> > I have analyzed the problem of Centos. It's running kernel
> > 2.6.18 that lacks a field (added 3.5 years ago in the Linux kernel),
> > in the socket buffer, used to propagate the channel (or RX queue)
> > on which the packet has been received.
>
>   Yep, this is the problem in general with RH / CentOS, their kernel
> becomes quite outdated in some areas (like networking) as their
> philosophy is precisely to stay constant.
>
> > So you can compile and run
> > TNAPI on Centos but your application will not be able to figure
> > out on which queue the packet has been received. As soon as the
> > Centos/RH people will update the kernel you will be able to fully
> > exploit TNAPI.
>
>   They most provably wont do that as changes quite a bit their
> networking stuff and provably backwards compatibility. Sadly that is the
> main advantage and at the same time problem with them.
>
> > If not, the workaround is you to compile a more
> > recent kernel
>
>   You shouldnt unless you want to loose support and proven compatibility
> with all their "ecosystem".
>
>   Regards
>
> --
> Jaime Nebrera - jnebrera [at] eneotecnologia
> Consultor TI - ENEO Tecnologia SL
> Pol. PISA - C/ Manufactura 6, P1, 3B
> Mairena del Aljarafe - 41927 - Sevilla
> Telf.- 955 60 11 60 / 619 04 55 18
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc




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


deri at ntop

Dec 18, 2009, 12:56 AM

Post #11 of 13 (1991 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

Dear all
I'm not againt 2.6.18. I have just said that if you want to exploit MSI-X, multiqueue, RX interface Id etc etc you need a modern kernel. Feel free to stay on 3y old kernels, but don't blame me if some PF_RING features are missing. I'm a one-man-band and I don't have time for supporting all kernel flavors. Shall some of you have time, please send me your code contributions and I will add them to the repository.

Cheers Luca



On 12/18/2009 01:12 AM, Mick Russom wrote:
Outdated != doesnt work. ----- Original Message ----
From: Jaime Nebrera <jnebrera [at] eneotecnologia> To: ntop-misc [at] listgateway Sent: Wed, December 16, 2009 11:26:56 AM Subject: Re: [Ntop-misc] compiling igb and ixgbe tnapi drivers in CentOS 5.4 Hi, El mi&eacute;, 16-12-2009 a las 19:36 +0100, Luca Deri escribi&oacute;:
Dear all I have analyzed the problem of Centos. It's running kernel 2.6.18 that lacks a field (added 3.5 years ago in the Linux kernel), in the socket buffer, used to propagate the channel (or RX queue) on which the packet has been received.
Yep, this is the problem in general with RH / CentOS, their kernel becomes quite outdated in some areas (like networking) as their philosophy is precisely to stay constant.
So you can compile and run TNAPI on Centos but your application will not be able to figure out on which queue the packet has been received. As soon as the Centos/RH people will update the kernel you will be able to fully exploit TNAPI.
They most provably wont do that as changes quite a bit their networking stuff and provably backwards compatibility. Sadly that is the main advantage and at the same time problem with them.
If not, the workaround is you to compile a more recent kernel
You shouldnt unless you want to loose support and proven compatibility with all their "ecosystem". Regards -- Jaime Nebrera - jnebrera [at] eneotecnologia Consultor TI - ENEO Tecnologia SL Pol. PISA - C/ Manufactura 6, P1, 3B Mairena del Aljarafe - 41927 - Sevilla Telf.- 955 60 11 60 / 619 04 55 18 _______________________________________________ Ntop-misc mailing list Ntop-misc [at] listgateway http://listgateway.unipi.it/mailman/listinfo/ntop-misc"]http://listgateway.unipi.it/mailman/listinfo/ntop-misc
_______________________________________________ Ntop-misc mailing list Ntop-misc [at] listgateway http://listgateway.unipi.it/mailman/listinfo/ntop-misc"]http://listgateway.unipi.it/mailman/listinfo/ntop-misc


bmengel at gmail

Dec 18, 2009, 11:04 AM

Post #12 of 13 (1999 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

I moved to Fedora 12 and its 2.6.31 kernel and so far everything has
compiled cleanly.

On Fri, Dec 18, 2009 at 3:56 AM, Luca Deri <deri [at] ntop> wrote:
> Dear all
> I'm not againt 2.6.18. I have just said that if you want to exploit MSI-X,
> multiqueue, RX interface Id etc etc you need a modern kernel. Feel free to
> stay on 3y old kernels, but don't blame me if some PF_RING features are
> missing. I'm a one-man-band and I don't have time for supporting all kernel
> flavors. Shall some of you have time, please send me your code contributions
> and I will add them to the repository.
>
> Cheers Luca
>
>
>
> On 12/18/2009 01:12 AM, Mick Russom wrote:
>
> Outdated != doesnt work.
>
> ----- Original Message ----
>
>
> From: Jaime Nebrera <jnebrera [at] eneotecnologia>
> To: ntop-misc [at] listgateway
> Sent: Wed, December 16, 2009 11:26:56 AM
> Subject: Re: [Ntop-misc] compiling igb and ixgbe tnapi drivers in CentOS 5.4
>   Hi,
> El mié, 16-12-2009 a las 19:36 +0100, Luca Deri escribió:
>
>
> Dear all
> I have analyzed the problem of Centos. It's running kernel
> 2.6.18 that lacks a field (added 3.5 years ago in the Linux kernel),
> in the socket buffer, used to propagate the channel (or RX queue)
> on which the packet has been received.
>
>
>   Yep, this is the problem in general with RH / CentOS, their kernel
> becomes quite outdated in some areas (like networking) as their
> philosophy is precisely to stay constant.
>
>
> So you can compile and run
> TNAPI on Centos but your application will not be able to figure
> out on which queue the packet has been received. As soon as the
> Centos/RH people will update the kernel you will be able to fully
> exploit TNAPI.
>
>
>   They most provably wont do that as changes quite a bit their
> networking stuff and provably backwards compatibility. Sadly that is the
> main advantage and at the same time problem with them.
>
>
> If not, the workaround is you to compile a more
> recent kernel
>
>
>   You shouldnt unless you want to loose support and proven compatibility
> with all their "ecosystem".
>   Regards
> --
> Jaime Nebrera - jnebrera [at] eneotecnologia
> Consultor TI - ENEO Tecnologia SL
> Pol. PISA - C/ Manufactura 6, P1, 3B
> Mairena del Aljarafe - 41927 - Sevilla
> Telf.- 955 60 11 60 / 619 04 55 18
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


tmcarro at gmail

Dec 19, 2009, 10:30 AM

Post #13 of 13 (2010 views)
Permalink
Re: compiling igb and ixgbe tnapi drivers in CentOS 5.4 [In reply to]

All,
Well you know I should have paid more attention to this thread when I
was modifying the myricom driver, which I was doing under Centos 5.4.
Fortunately Myricom happened to have a queue specific data structure that
they pass around that I was able to use. Anyhow, one of my customers
requires the use of AS 5(although they give me some leeway if I need it), so
I am certainly willing to help out with any work porting to the redhat
kernels. With that, they are a reasonably large Redhat customer so I can
see if they will try to push Redhat to backport things like the iif field(I
don't think they will be successful, but you never know).

Cheers,

Todd
P.S. Although a bit painful, I have managed to get multiqueue/tnapi/msi-x
working decently well under AS 5.4, with the Myricom cards, so that is at
least promising

On Fri, Dec 18, 2009 at 2:04 PM, Brian Mengel <bmengel [at] gmail> wrote:

> I moved to Fedora 12 and its 2.6.31 kernel and so far everything has
> compiled cleanly.
>
> On Fri, Dec 18, 2009 at 3:56 AM, Luca Deri <deri [at] ntop> wrote:
> > Dear all
> > I'm not againt 2.6.18. I have just said that if you want to exploit
> MSI-X,
> > multiqueue, RX interface Id etc etc you need a modern kernel. Feel free
> to
> > stay on 3y old kernels, but don't blame me if some PF_RING features are
> > missing. I'm a one-man-band and I don't have time for supporting all
> kernel
> > flavors. Shall some of you have time, please send me your code
> contributions
> > and I will add them to the repository.
> >
> > Cheers Luca
> >
> >
> >
> > On 12/18/2009 01:12 AM, Mick Russom wrote:
> >
> > Outdated != doesnt work.
> >
> > ----- Original Message ----
> >
> >
> > From: Jaime Nebrera <jnebrera [at] eneotecnologia>
> > To: ntop-misc [at] listgateway
> > Sent: Wed, December 16, 2009 11:26:56 AM
> > Subject: Re: [Ntop-misc] compiling igb and ixgbe tnapi drivers in CentOS
> 5.4
> > Hi,
> > El mié, 16-12-2009 a las 19:36 +0100, Luca Deri escribió:
> >
> >
> > Dear all
> > I have analyzed the problem of Centos. It's running kernel
> > 2.6.18 that lacks a field (added 3.5 years ago in the Linux kernel),
> > in the socket buffer, used to propagate the channel (or RX queue)
> > on which the packet has been received.
> >
> >
> > Yep, this is the problem in general with RH / CentOS, their kernel
> > becomes quite outdated in some areas (like networking) as their
> > philosophy is precisely to stay constant.
> >
> >
> > So you can compile and run
> > TNAPI on Centos but your application will not be able to figure
> > out on which queue the packet has been received. As soon as the
> > Centos/RH people will update the kernel you will be able to fully
> > exploit TNAPI.
> >
> >
> > They most provably wont do that as changes quite a bit their
> > networking stuff and provably backwards compatibility. Sadly that is the
> > main advantage and at the same time problem with them.
> >
> >
> > If not, the workaround is you to compile a more
> > recent kernel
> >
> >
> > You shouldnt unless you want to loose support and proven compatibility
> > with all their "ecosystem".
> > Regards
> > --
> > Jaime Nebrera - jnebrera [at] eneotecnologia
> > Consultor TI - ENEO Tecnologia SL
> > Pol. PISA - C/ Manufactura 6, P1, 3B
> > Mairena del Aljarafe - 41927 - Sevilla
> > Telf.- 955 60 11 60 / 619 04 55 18
> > _______________________________________________
> > Ntop-misc mailing list
> > Ntop-misc [at] listgateway
> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> >
> >
> >
> > _______________________________________________
> > Ntop-misc mailing list
> > Ntop-misc [at] listgateway
> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> >
> >
> > _______________________________________________
> > Ntop-misc mailing list
> > Ntop-misc [at] listgateway
> > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
> >
> >
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>

NTop misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.