deri at ntop
Apr 26, 2012, 2:27 PM
Post #5 of 6
the release is ready to download: you can get it from the same URL you used to download TNAPI previously.
Regards Luca and Alfredo
On Apr 26, 2012, at 5:27 PM, Alfredo Cardigliano wrote:
> you are using an old driver (we are currently supporting ixgbe-3.7.17-TNAPIv2).
> Actually we are going to release an update of that driver today, just wait a few hours :-)
> On Apr 26, 2012, at 5:05 PM, Chris Hellkvist wrote:
>> Hi Chris,
>> Am 26. April 2012 16:46 schrieb Chris Wakelin <c.d.wakelin [at] reading>:
>>> You'll need the PF_RING source tree to be in the right place for that
>>> path to work. You could just copy the pf_ring.h over and remove the path
>>> in ixgbe.h (I do this when compiling with dkms); otherwise try moving
>>> the ixgbe-3.6.7-TNAPIv2 source tree to say PF_RING/drivers/TNAPI/ (with
>>> PF_RING/, without version number, being the source tree for PF_RING).
>> thanks for this, seems like the hard-coded path n ixgbe.h is a bit weird.
>> I moved pf_ring.h into the src directory and changed ixgbe.h to point
>> to the new location . Now it's able to include pf_ring.h, but still
>> chris [at] isrt-34-t:~/ixgbe-3.6.7-TNAPIv2/src$ make
>> make -C /lib/modules/3.0.0-17-generic/build
>> SUBDIRS=/home/dth/PF_RING/drivers/TNAPI/src modules
>> make: Entering directory `/usr/src/linux-headers-3.0.0-17-generic'
>> CC [M] /home/dth/PF_RING/drivers/TNAPI/src/ixgbe_main.o
>> In file included from /home/dth/PF_RING/drivers/TNAPI/src/ixgbe_main.c:146:0:
>> /home/dth/PF_RING/drivers/TNAPI/src/ixgbe_tnapi.c: In function
>> /home/dth/PF_RING/drivers/TNAPI/src/ixgbe_tnapi.c:500:5: warning:
>> passing argument 4 of ‘hook->ring_handler’ makes pointer from integer
>> without a cast [enabled by default]
>> /home/dth/PF_RING/drivers/TNAPI/src/ixgbe_tnapi.c:500:5: note:
>> expected ‘u_int8_t *’ but argument is of type ‘u8’
>> /home/dth/PF_RING/drivers/TNAPI/src/ixgbe_tnapi.c:500:5: error: too
>> few arguments to function ‘hook->ring_handler’
>> make: *** [/home/dth/PF_RING/drivers/TNAPI/src/ixgbe_main.o] Error 1
>> make: *** [_module_/home/dth/PF_RING/drivers/TNAPI/src] Error 2
>> make: Leaving directory `/usr/src/linux-headers-3.0.0-17-generic'
>> make: *** [default] Error 2
>> Maybe a point for Luca ;-).
>> Ntop-misc mailing list
>> Ntop-misc [at] listgateway
> Ntop-misc mailing list
> Ntop-misc [at] listgateway
We can't solve problems by using the same kind of thinking we used when we created them - Albert Einstein
Ntop-misc mailing list
Ntop-misc [at] listgateway