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

Mailing List Archive: NTop: Misc

ixgbe and PF_RING problem

 

 

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


xutao881001 at gmail

Jul 23, 2012, 5:08 AM

Post #1 of 2 (533 views)
Permalink
ixgbe and PF_RING problem

OS: RHEL6.3

[root [at] mirro PF_RING-5.4.4]# cat /etc/issue
Red Hat Enterprise Linux Server release 6.3 (Santiago)
Kernel \r on an \m


Linux mirror 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux



PF_RING 5.4.4 & 5.4.5 has the same problem:
1. the ixgbe driver compiling error
[root [at] mirro src]# make
make -C /lib/modules/2.6.32-279.el6.x86_64/build SUBDIRS=/root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
CC [M] /root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.o
/root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.c: In function ‘ixgbe_set_dcb_queues’:
/root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.c:5708: error: ‘struct net_device’ has no member named ‘tc_to_txq’
/root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.c: In function ‘ixgbe_cache_ring_dcb’:
/root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.c:6126: error: ‘struct net_device’ has no member named ‘tc_to_txq’
make[2]: *** [/root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.o] Error 1
make[1]: *** [_module_/root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
make: *** [default] Error 2


after I change the macro in kcompat.h:
#if (RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,2) )
#undef ixgbe_get_netdev_tc_txq
#define ixgbe_get_netdev_tc_txq(dev, tc) (&netdev_extended(dev)->qos_data.tc_to_txq[tc])
#endif


the error is gone. But I don't known whether the fix is correct or not?

2. Sometimes the PF_RING is crashed (both in PF_RING 5.4.4 & 5.4.5).
I run the pcount program. When I close the pcount (CTRL+C), the pcount is no respond.
And the system is something wrong. Here is the output of top:

top - 19:56:02 up 26 min, 4 users, load average: 9.10, 7.98, 4.83
Tasks: 127 total, 4 running, 123 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.0%us, 0.0%sy, 0.0%ni, 0.0%id,100.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi,100.0%si, 0.0%st
Cpu2 : 0.0%us, 0.0%sy, 0.0%ni, 0.0%id,100.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16293784k total, 358748k used, 15935036k free, 12516k buffers
Swap: 8216568k total, 0k used, 8216568k free, 53304k cached


The si is always 100%.
(I modified msleep macro for PF_RING compiling error. This problem is also in RHEL5.8)
Does anyone known this problem?
--
XTao
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


cardigliano at ntop

Jul 23, 2012, 5:17 AM

Post #2 of 2 (500 views)
Permalink
Re: ixgbe and PF_RING problem [In reply to]

On Jul 23, 2012, at 2:08 PM, XTao wrote:

> OS: RHEL6.3
>
> [root [at] mirro PF_RING-5.4.4]# cat /etc/issue
> Red Hat Enterprise Linux Server release 6.3 (Santiago)
> Kernel \r on an \m
>
> Linux mirror 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
>
> PF_RING 5.4.4 & 5.4.5 has the same problem:
> 1. the ixgbe driver compiling error
> [root [at] mirro src]# make
> make -C /lib/modules/2.6.32-279.el6.x86_64/build SUBDIRS=/root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src modules
> make[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
> CC [M] /root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.o
> /root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.c: In function ‘ixgbe_set_dcb_queues’:
> /root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.c:5708: error: ‘struct net_device’ has no member named ‘tc_to_txq’
> /root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.c: In function ‘ixgbe_cache_ring_dcb’:
> /root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.c:6126: error: ‘struct net_device’ has no member named ‘tc_to_txq’
> make[2]: *** [/root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src/ixgbe_main.o] Error 1
> make[1]: *** [_module_/root/PF_RING-5.4.4/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.7.17/src] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
> make: *** [default] Error 2
>
> after I change the macro in kcompat.h:
> #if (RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,2) )
> #undef ixgbe_get_netdev_tc_txq
> #define ixgbe_get_netdev_tc_txq(dev, tc) (&netdev_extended(dev)->qos_data.tc_to_txq[tc])
> #endif
>
> the error is gone. But I don't known whether the fix is correct or not?

It should be correct. Thank you for the patch.

>
> 2. Sometimes the PF_RING is crashed (both in PF_RING 5.4.4 & 5.4.5).
> I run the pcount program. When I close the pcount (CTRL+C), the pcount is no respond.
> And the system is something wrong. Here is the output of top:
>
> top - 19:56:02 up 26 min, 4 users, load average: 9.10, 7.98, 4.83
> Tasks: 127 total, 4 running, 123 sleeping, 0 stopped, 0 zombie
> Cpu0 : 0.0%us, 0.0%sy, 0.0%ni, 0.0%id,100.0%wa, 0.0%hi, 0.0%si, 0.0%st
> Cpu1 : 0.0%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi,100.0%si, 0.0%st
> Cpu2 : 0.0%us, 0.0%sy, 0.0%ni, 0.0%id,100.0%wa, 0.0%hi, 0.0%si, 0.0%st
> Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
> Mem: 16293784k total, 358748k used, 15935036k free, 12516k buffers
> Swap: 8216568k total, 0k used, 8216568k free, 53304k cached
>
> The si is always 100%.
> (I modified msleep macro for PF_RING compiling error. This problem is also in RHEL5.8)
> Does anyone known this problem?

We will investigate on this. If someone has additional info please share with us.
Thank you.

Alfredo

> --
> XTao
> Sent with Sparrow
>
> _______________________________________________
> 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.