Hi,

I've just got a couple of Intel X520-DA2 (82599) cards and find that
with the PF_RING ixgbe non-DNA driver I get

> [267600.170125] Intel(R) 10 Gigabit PCI Express Network Driver - version 
> 3.1.15-NAPI
> [267600.170129] Copyright (c) 1999-2010 Intel Corporation.
> [267600.170132] cpacket.com nsec packet timestamp decoding disabled
> [267600.170187] ixgbe 0000:0c:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [267600.170219] ixgbe 0000:0c:00.0: setting latency timer to 64
> [267600.320265] ixgbe: 0000:0c:00.0: ixgbe_check_options: Flow Director hash 
> filtering enabled
> [267600.320268] ixgbe: 0000:0c:00.0: ixgbe_check_options: Flow Director 
> allocated 64kB of packet buffer
> [267600.320271] ixgbe: 0000:0c:00.0: ixgbe_check_options: ATR Tx Packet 
> sample rate set to default of 20
> [267600.320274] ixgbe: 0000:0c:00.0: ixgbe_check_options: FCoE Offload 
> feature enabled
> [267600.342175] ixgbe 0000:0c:00.0: irq 100 for MSI/MSI-X
> [267600.342179] ixgbe 0000:0c:00.0: irq 101 for MSI/MSI-X
> [267600.342183] ixgbe 0000:0c:00.0: irq 102 for MSI/MSI-X
> [267600.342187] ixgbe 0000:0c:00.0: irq 103 for MSI/MSI-X
> [267600.342190] ixgbe 0000:0c:00.0: irq 104 for MSI/MSI-X
> [267600.342194] ixgbe 0000:0c:00.0: irq 105 for MSI/MSI-X
> [267600.342197] ixgbe 0000:0c:00.0: irq 106 for MSI/MSI-X
> [267600.342200] ixgbe 0000:0c:00.0: irq 107 for MSI/MSI-X
> [267600.342204] ixgbe 0000:0c:00.0: irq 108 for MSI/MSI-X
> [267600.342272] ixgbe: 0000:0c:00.0: ixgbe_init_interrupt_scheme: Multiqueue 
> Enabled: Rx Queue count = 8, Tx Queue count = 8
> [267600.343632] ixgbe: eth1: ixgbe_probe: No DCA provider found.  Please 
> start ioatdma for DCA functionality.
> [267600.343636] ixgbe: eth1: ixgbe_probe: (PCI Express:2.5Gb/s:Width x8) 
> 00:1b:21:cd:9e:2c
> [267600.343716] ixgbe: eth1: ixgbe_probe: MAC: 2, PHY: 8, SFP+: 3, PBA No: 
> E68793-004
> [267600.343718] ixgbe: eth1: ixgbe_probe: GRO is enabled
> [267600.343720] ixgbe: eth1: ixgbe_probe: HW RSC is enabled 
> [267600.345269] ixgbe: eth1: ixgbe_probe: Intel(R) 10 Gigabit Network 
> Connection

(and the same for eth2).

Both the dca and ioatdma modules loaded correctly:

> [    4.216117] dca service started, version 1.12.1

> [    4.243222] ioatdma: Intel(R) QuickData Technology Driver 4.00
> [    4.243297] ioatdma 0000:00:08.0: PCI INT A -> GSI 16 (level, low) -> IRQ 
> 16
> [    4.243343] ioatdma 0000:00:08.0: setting latency timer to 64
> [    4.243400] ioatdma 0000:00:08.0: irq 99 for MSI/MSI-X

If I use the vanilla 3.3.9 or above driver, or the 3.3.9 DNA driver I
don't get the DCA error (or the "nsec packet decoding disabled" message)
though the same tests that generate that message appear to be in the
source code:

> [267906.406661] Intel(R) 10 Gigabit PCI Express Network Driver - version 
> 3.3.9-DNA
> [267906.406666] Copyright (c) 1999-2011 Intel Corporation.
> [267906.406717] ixgbe 0000:0c:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [267906.406753] ixgbe 0000:0c:00.0: setting latency timer to 64
> [267906.560261] ixgbe: 0000:0c:00.0: ixgbe_check_options: FCoE Offload 
> feature enabled
> [267906.582400] ixgbe 0000:0c:00.0: irq 100 for MSI/MSI-X
> [267906.582404] ixgbe 0000:0c:00.0: irq 101 for MSI/MSI-X
> [267906.582408] ixgbe 0000:0c:00.0: irq 102 for MSI/MSI-X
> [267906.582411] ixgbe 0000:0c:00.0: irq 103 for MSI/MSI-X
> [267906.582415] ixgbe 0000:0c:00.0: irq 104 for MSI/MSI-X
> [267906.582419] ixgbe 0000:0c:00.0: irq 105 for MSI/MSI-X
> [267906.582422] ixgbe 0000:0c:00.0: irq 106 for MSI/MSI-X
> [267906.582426] ixgbe 0000:0c:00.0: irq 107 for MSI/MSI-X
> [267906.582429] ixgbe 0000:0c:00.0: irq 108 for MSI/MSI-X
> [267906.583897] ixgbe 0000:0c:00.0: (PCI Express:2.5GT/s:Width x8) 
> 00:1b:21:cd:9e:2c
> [267906.583978] ixgbe 0000:0c:00.0: dna0: MAC: 2, PHY: 8, SFP+: 3, PBA No: 
> E68793-004
> [267906.583981] ixgbe 0000:0c:00.0: dna0: Enabled Features: RxQ: 8 TxQ: 8 
> FdirHash RSS 
> [267906.585553] ixgbe 0000:0c:00.0: dna0: Intel(R) 10 Gigabit Network 
> Connection
> [267906.585586] ixgbe 0000:0c:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
> [267906.585629] ixgbe 0000:0c:00.1: setting latency timer to 64

In all cases, lsmod suggests the dca module is required by ixgbe:

> dca                     6637  2 ixgbe,ioatdma

This is on a Dell Poweredge 2950 with two quad-core Xeon X5535s running
Ubuntu 10.04 64-bit, 2.6.32-34 kernel (I get the same results with
2.6.38-11).

Is there a way to verify when DCA is working properly?

Do we need an update to the newer ixgbe driver (latest is 3.6.7)? The
changes between 3.1.15 and 3.3.9 make porting the PF_RING modifications
rather tricky!

Best Wishes,
Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           [email protected]
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 2908
Whiteknights, Reading, RG6 6AF, UK              Fax: +44 (0)118 975 3094
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to