> On 12 Mar 2015, at 01:03, Morgan Yang <[email protected]> wrote:
> 
> Hi Yuri:
> 
> Thanks for the pointer, but I'm really not seeing /proc/net/pf_ring
> 
> sudo ls /proc/net/pf_ring
> ls: cannot access /proc/net/pf_ring: No such file or directory

Are you sure pf_ring.ko is loaded?

> I also have a question in regard to hugepages. By default, centOS already has 
> hugetlbfs mounted
> 
> grep -i huge /proc/mounts
> cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 
> 0 0
> hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
> 
> So before running the load_drivers.sh, I umounted /dev/hugepages
> 
> Would that cause an issue if another application is using hugepages at the 
> sametime as ZC_IXGBE?

As long as you have enoguh hugepages for both, you are fine.

Alfredo

> 
> 
> Much Thanks
> Morgan Yang
> 
> On Wed, Mar 11, 2015 at 4:04 PM, Yuri Francalacci <[email protected] 
> <mailto:[email protected]>> wrote:
> /proc/net/pf_ring is still there.
> The dkms format allows you to use pfring with the kernel version you want 
> whereas previously it was bound to a specific kernel version. You need just 
> to install the kernel header of the version you would like to use and build 
> the dkms driver.
> Running
> # dkms status
> you get the version of the dkms modules available and their status
> Eg.:
> # dkms status
> e1000e-zc, 3.0.4.1.9033, 3.13.0-37-generic, x86_64: installed
> igb-zc, 5.2.5.9033, 3.13.0-37-generic, x86_64: installed
> ixgbe-zc, 3.22.3.9033, 3.13.0-37-generic, x86_64: installed
> pfring, 6.0.3, 3.13.0-37-generic, x86_64: installed
> 
> ###############################################
> Yuri Francalacci   -   [email protected] <mailto:[email protected]>   -   
> http://www.ntop.org <http://www.ntop.org/>
> "Simplicity is the ultimate sophistication" - Leonardo da Vinci
> ###############################################
> 
>> On 11 Mar 2015, at 23:33, Morgan Yang <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hi:
>> 
>> I installed
>> 
>> pfring-dkms-6.0.3-dkms.noarch.rpm
>> pfring-6.0.3-9075.x86_64.rpm
>> 
>> from the repository
>> 
>> I have not used PF_RING for sometime, but it seems /proc/net/pf_ring is no 
>> longer there. I use to rely that area for stats and state info of PR_RING.
>> 
>> I also noticed from reading modinfo, it seems the pf_ring.ko from the rpm is 
>> versioned by the linux kernel
>> 
>> sudo modinfo pf_ring
>> filename:       /lib/modules/3.10.0-123.20.1.el7.x86_64/extra/pf_ring.ko
>> alias:          net-pf-27
>> description:    Packet capture acceleration and analysis
>> author:         Luca Deri <[email protected] <mailto:[email protected]>>
>> license:        GPL
>> srcversion:     AA2B1726CCB809A5A0DA514
>> depends:
>> vermagic:       3.10.0-123.20.1.el7.x86_64 SMP mod_unload modversions
>> parm:           min_num_slots:Min number of ring slots (uint)
>> parm:           perfect_rules_hash_size:Perfect rules hash size (uint)
>> parm:           transparent_mode:(deprecated) (uint)
>> parm:           enable_debug:Set to 1 to enable PF_RING debug tracing into 
>> the syslog (uint)
>> parm:           enable_tx_capture:Set to 1 to capture outgoing packets (uint)
>> parm:           enable_frag_coherence:Set to 1 to handle fragments (flow 
>> coherence) in clusters (uint)
>> parm:           enable_ip_defrag:Set to 1 to enable IP defragmentation(only 
>> rx traffic is defragmentead) (uint)
>> parm:           quick_mode:Set to 1 to run at full speed but with upto one 
>> socket per interface (uint)
>> 
>> I just think this is alittle confusing as I won't be able to correlate 
>> PF_RING module versions to 6.0.3.
>> 
>> 
>> Much Thanks
>> Morgan Yang
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected] <mailto:[email protected]>
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc 
>> <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
> 
> _______________________________________________
> Ntop-misc mailing list
> [email protected] <mailto:[email protected]>
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc 
> <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
> 
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

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

Reply via email to