maximk / netmap

Automatically exported from code.google.com/p/netmap
0 stars 0 forks source link

netmap support for bnx2 driver #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Added netmap support for bnx2 driver
2. wget and ping is working
3.wn_capture.bin (packet capture is not working)

What is the expected output? What do you see instead?
Packet capture is not working

What version of the product are you using? On what operating system?

Please provide any additional information below.

Is this the expected output. Please let me know
bash-3.2#
bash-3.2# dmesg | grep bnx2
[   10.717032] Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.0.2 (Aug 
21, 2009)
[   10.724731] bnx2 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   10.753216] bnx2 0000:03:00.0: setting latency timer to 64
[   10.753346] bnx2 0000:03:00.0: firmware: using built-in firmware 
bnx2/bnx2-mips-09-5.0.0.j3.fw
[   10.772621] bnx2 0000:03:00.0: firmware: using built-in firmware 
bnx2/bnx2-rv2p-09-5.0.0.j3.fw
[   10.805491] 860.805489 bnx2_netmap_attach [361] 1 queues, tx: 117 rx 117 
slots
[   10.812664] bnx2 0000:03:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[   10.819388] bnx2 0000:03:00.1: setting latency timer to 64
[   10.819514] bnx2 0000:03:00.1: firmware: using built-in firmware 
bnx2/bnx2-mips-09-5.0.0.j3.fw
[   10.828046] bnx2 0000:03:00.1: firmware: using built-in firmware 
bnx2/bnx2-rv2p-09-5.0.0.j3.fw
[   10.860974] 860.860971 bnx2_netmap_attach [361] 1 queues, tx: 117 rx 117 
slots
[  166.402176] bnx2 0000:03:00.0: irq 37 for MSI/MSI-X
[  166.402181] bnx2 0000:03:00.0: irq 38 for MSI/MSI-X
[  166.402184] bnx2 0000:03:00.0: irq 39 for MSI/MSI-X
[  166.402188] bnx2 0000:03:00.0: irq 40 for MSI/MSI-X
[  166.402192] bnx2 0000:03:00.0: irq 41 for MSI/MSI-X
[  166.402195] bnx2 0000:03:00.0: irq 42 for MSI/MSI-X
[  166.402199] bnx2 0000:03:00.0: irq 43 for MSI/MSI-X
[  166.402202] bnx2 0000:03:00.0: irq 44 for MSI/MSI-X
[  166.402205] bnx2 0000:03:00.0: irq 45 for MSI/MSI-X
[  166.443128] bnx2: eth1: using MSIX
[  166.489152] bnx2: eth1 NIC SerDes Link is Up, 1000 Mbps full duplex
bash-3.2#

Original issue reported on code.google.com by prashanthreddy.mtech@gmail.com on 18 Jul 2014 at 11:45

GoogleCodeExporter commented 9 years ago
Hello!

Could you share patch for bnx2 driver? Somebody could look at it and found 
mistakes. 

Original comment by pavel.odintsov on 26 Mar 2015 at 8:22

GoogleCodeExporter commented 9 years ago
i implemented netmap support (tx only) long ago, and found that the board is 
uncapable of more than 2.5-3Mpps so there is not much of a point in using 
netmap with it.

Original comment by rizzo.un...@gmail.com on 26 Mar 2015 at 8:34