
deri at ntop
Nov 5, 2009, 12:05 PM
Post #4 of 6
(314 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]probe 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.org> 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]probe 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]probe 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]probe 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.unipi.it >>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >>> >> >> _______________________________________________ >> Ntop-misc mailing list >> Ntop-misc[at]listgateway.unipi.it >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >> > _______________________________________________ > Ntop-misc mailing list > Ntop-misc[at]listgateway.unipi.it > 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.unipi.it http://listgateway.unipi.it/mailman/listinfo/ntop-misc
|