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

Mailing List Archive: NTop: Misc

Problem enabling "rules" in PF_RING

 

 

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


ccollord at hotmail

Nov 9, 2011, 10:39 AM

Post #1 of 3 (311 views)
Permalink
Problem enabling "rules" in PF_RING

Hello all,I was successful at getting PF_RING enabled for my 82599 Intel card, but i'm having some difficulty getting the hardware filtering enabled. It seems that PF_RING never detects that the card is capable of hardware filtering as shown in the hardware documentation section (it never says "Device eth2 DOES support hardware filtering"...). I am attaching my script and the corresponding dmesg output.
I am also getting a warning that DCA is not enabled, even though i have enabled it in BIOS and it appears to be loaded (i'll attach an "lsmod" as well).I am running it on Ubuntu 11.04 Server, kernel version 2.6.38-8-server, Dell R710.Thanks in advance!~Chris

#! /bin/bash
insmod $PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/src/ixgbe.ko FdirMode=2,2,2,2 # Can add IntMode=3 for TNAPIifconfig eth2 0.0.0.1 up promisc
sleep 2
killall irqbalance$PF_RING/drivers/PF_RING_aware/intel/ixgbe/ixgbe-3.1.15-FlowDirector/scripts/set_irq_affinity.sh eth2
sleep 5
#insert pf_ringinsmod $PF_RING/kernel/pf_ring.ko transparent_mode=0 enable_tx_capture=0 enable_ip_defrag=1

[ 8680.508843] Intel(R) 10 Gigabit PCI Express Network Driver - version 3.1.15-NAPI[ 8680.514845] Copyright (c) 1999-2010 Intel Corporation.[ 8680.520721] cpacket.com nsec packet timestamp decoding disabled[ 8680.526657] ixgbe 0000:0c:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16[ 8680.532685] ixgbe 0000:0c:00.0: setting latency timer to 64[ 8680.680283] ixgbe: Flow Director filtering mode set to 2[ 8680.686241] ixgbe: 0000:0c:00.0: ixgbe_check_options: Flow Director perfect filtering enabled[ 8680.692387] ixgbe: 0000:0c:00.0: ixgbe_check_options: Flow Director allocated 64kB of packet buffer[ 8680.698530] ixgbe: 0000:0c:00.0: ixgbe_check_options: FCoE Offload feature enabled[ 8680.726662] ixgbe 0000:0c:00.0: irq 265 for MSI/MSI-X[ 8680.732888] ixgbe 0000:0c:00.0: irq 266 for MSI/MSI-X[ 8680.739032] ixgbe 0000:0c:00.0: irq 267 for MSI/MSI-X[ 8680.745151] ixgbe 0000:0c:00.0: irq 268 for MSI/MSI-X[ 8680.751174] ixgbe 0000:0c:00.0: irq 269 for MSI/MSI-X[ 8680.757122] ixgbe 0000:0c:00.0: irq 270 for MSI/MSI-X[ 8680.763048] ixgbe 0000:0c:00.0: irq 271 for MSI/MSI-X[ 8680.768885] ixgbe 0000:0c:00.0: irq 272 for MSI/MSI-X[ 8680.774641] ixgbe 0000:0c:00.0: irq 273 for MSI/MSI-X[ 8680.780332] ixgbe: 0000:0c:00.0: ixgbe_init_interrupt_scheme: Multiqueue Enabled: Rx Queue count = 8, Tx Queue count = 8[ 8680.787278] ixgbe: eth2: ixgbe_probe: No DCA provider found. Please start ioatdma for DCA functionality.[ 8680.793153] ixgbe: eth2: ixgbe_probe: (PCI Express:2.5Gb/s:Width x8) 00:1b:21:6e:05:4c[ 8680.799162] ixgbe: eth2: ixgbe_probe: MAC: 2, PHY: 15, SFP+: 5, PBA No: E68787-002[ 8680.805043] ixgbe: eth2: ixgbe_probe: GRO is enabled[ 8680.810824] ixgbe: eth2: ixgbe_probe: HW RSC is enabled [ 8680.818028] ixgbe: eth2: ixgbe_probe: Intel(R) 10 Gigabit Network Connection[ 8681.272531] ADDRCONF(NETDEV_UP): eth2: link is not ready[ 8681.340031] ixgbe: eth2: ixgbe_sfp_detection_subtask: detected SFP+: 5[ 8681.342819] device eth2 entered promiscuous mode[ 8681.510040] ixgbe: eth2: ixgbe_watchdog_link_is_up: NIC Link is Up 10 Gbps, Flow Control: RX/TX[ 8681.517753] ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready[ 8686.814050] ixgbe: eth2: ixgbe_watchdog_link_is_down: NIC Link is Down[ 8687.680069] ixgbe: eth2: ixgbe_watchdog_link_is_up: NIC Link is Up 10 Gbps, Flow Control: RX/TX[ 8688.455630] [PF_RING] Welcome to PF_RING 5.1.0 ($Revision: $)[ 8688.455632] (C) 2004-11 L.Deri <deri [at] ntop>[ 8688.471608] [PF_RING] registered /proc/net/pf_ring/[ 8688.479159] NET: Registered protocol family 27[ 8688.486976] [PF_RING] Min # ring slots 4096[ 8688.494507] [PF_RING] Slot version 13[ 8688.502019] [PF_RING] Capture TX No [RX only][ 8688.509600] [PF_RING] Transparent Mode 0[ 8688.517012] [PF_RING] IP Defragment Yes[ 8688.524243] [PF_RING] Initialized correctly[ 8691.940168] eth2: no IPv6 routers present

LSMOD:Module Size Used bypf_ring 353977 0 ixgbe 201904 0 joydev 17606 0 radeon 982197 1 i5000_edac 17633 0 edac_core 53845 3 i5000_edacttm 76664 1 radeondrm_kms_helper 42136 1 radeoni5k_amb 13309 0 usbhid 46956 0 dcdbas 14438 0 drm 227459 3 radeon,ttm,drm_kms_helperpsmouse 73535 0 usb_storage 53538 0 uas 17996 0 serio_raw 13166 0 hid 91020 1 usbhidi2c_algo_bit 13400 1 radeonioatdma 43771 9 shpchp 37297 0 lp 17789 0 parport 46458 1 lpses 17321 0 enclosure 15217 1 sesbnx2 85989 0 megaraid_sas 79086 2 dca 15219 2 ixgbe,ioatdmamdio 13770 0


c.d.wakelin at reading

Nov 9, 2011, 10:57 AM

Post #2 of 3 (286 views)
Permalink
Re: Problem enabling "rules" in PF_RING [In reply to]

On 09/11/2011 18:39, Chris Collord wrote:
>
> Hello all,I was successful at getting PF_RING enabled for my 82599 Intel card, but i'm having some difficulty getting the hardware filtering enabled. It seems that PF_RING never detects that the card is capable of hardware filtering as shown in the hardware documentation section (it never says "Device eth2 DOES support hardware filtering"...). I am attaching my script and the corresponding dmesg output.
> I am also getting a warning that DCA is not enabled, even though i have enabled it in BIOS and it appears to be loaded (i'll attach an "lsmod" as well).I am running it on Ubuntu 11.04 Server, kernel version 2.6.38-8-server, Dell R710.Thanks in advance!~Chris

Look at the threads in this list this month ...

http://listgateway.unipi.it/pipermail/ntop-misc/2011-November/thread.html

... in particular "ixgbe and DCA" (Andrew Lehane says DCA was disabled
in the BIOS on his R710; you may also need to update the BIOS) and
"ixgbe not enabling hardware filtering on Intel X520-DA2" (Luca says
it's not supported yet in the latest ixgbe drivers, but they're working
on it).

(For what it's worth, I'm not convinced DCA is even supported on my
5000X chipset; mention of it is strangely absent in the Intel docs for
it. Odd that Linux loads the dca module though!).

Best Wishes,
Chris

--
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin, c.d.wakelin [at] reading
IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
_______________________________________________
Ntop-misc mailing list
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc


ccollord at hotmail

Nov 9, 2011, 11:50 AM

Post #3 of 3 (286 views)
Permalink
Re: Problem enabling "rules" in PF_RING [In reply to]

Thanks for the help, Chris!I was able to pull down the latest drivers through the SVN repository and that fixed my DCA issues with ixgbe. From the other thread, it sounds like hardware filtering isn't quite ready yet for ixgbe, so i guess i'll have to find a way around that for now. Thanks again,~Chris

> Date: Wed, 9 Nov 2011 18:57:17 +0000
> From: c.d.wakelin [at] reading
> To: ntop-misc [at] listgateway
> Subject: Re: [Ntop-misc] Problem enabling "rules" in PF_RING
>
> On 09/11/2011 18:39, Chris Collord wrote:
> >
> > Hello all,I was successful at getting PF_RING enabled for my 82599 Intel card, but i'm having some difficulty getting the hardware filtering enabled. It seems that PF_RING never detects that the card is capable of hardware filtering as shown in the hardware documentation section (it never says "Device eth2 DOES support hardware filtering"...). I am attaching my script and the corresponding dmesg output.
> > I am also getting a warning that DCA is not enabled, even though i have enabled it in BIOS and it appears to be loaded (i'll attach an "lsmod" as well).I am running it on Ubuntu 11.04 Server, kernel version 2.6.38-8-server, Dell R710.Thanks in advance!~Chris
>
> Look at the threads in this list this month ...
>
> http://listgateway.unipi.it/pipermail/ntop-misc/2011-November/thread.html
>
> ... in particular "ixgbe and DCA" (Andrew Lehane says DCA was disabled
> in the BIOS on his R710; you may also need to update the BIOS) and
> "ixgbe not enabling hardware filtering on Intel X520-DA2" (Luca says
> it's not supported yet in the latest ixgbe drivers, but they're working
> on it).
>
> (For what it's worth, I'm not convinced DCA is even supported on my
> 5000X chipset; mention of it is strangely absent in the Intel docs for
> it. Odd that Linux loads the dca module though!).
>
> Best Wishes,
> Chris
>
> --
> --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
> Christopher Wakelin, c.d.wakelin [at] reading
> IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439
> Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
> _______________________________________________
> 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.