- 21 Nov, 2008 1 commit
-
-
Stephen Hemminger authored
Convert driver to new net_device_ops. Compile tested only. Signed-off-by:
Stephen Hemminger <shemminger@vyatta.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 20 Nov, 2008 2 commits
-
-
Brice Goglin authored
Removes the use of a hardcoded sram_size, determine string_spec location from the MCP header instead. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Brice Goglin authored
Properly attribute transmit and receive drops by incrementing the per-slice counter. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 11 Nov, 2008 1 commit
-
-
Brice Goglin authored
The doorbell writes may be seen out of order by the firmware if they are in WC memory since the tx spin(un)lock does not flush WC writes. Hence if the "stop" is written on a different CPU than the "go", it is possible that the stop will arrive after the go unless we add an explicit memory barrier (and mmiowb() is not enough). It fixes transmit hangs in multi tx queue mode. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 03 Nov, 2008 1 commit
-
-
David S. Miller authored
The generic packet receive code takes care of setting netdev->last_rx when necessary, for the sake of the bonding ARP monitor. Drivers need not do it any more. Some cases had to be skipped over because the drivers were making use of the ->last_rx value themselves. Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 30 Oct, 2008 1 commit
-
-
Brice Goglin authored
Use mmiowb() to ensure "stop" and "go" commands are sent in order on ia64. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 27 Oct, 2008 1 commit
-
-
Johannes Berg authored
This converts pretty much everything to print_mac. There were a few things that had conflicts which I have just dropped for now, no harm done. I've built an allyesconfig with this and looked at the files that weren't built very carefully, but it's a huge patch. Signed-off-by:
Johannes Berg <johannes@sipsolutions.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 22 Oct, 2008 1 commit
-
-
Brice Goglin authored
Disable NAPI if a failure occurs when setting up the interface. Leaving it enabled could cause a BUG the next time an ifconfig up is issued. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 16 Oct, 2008 1 commit
-
-
Jeff Garzik authored
We cannot select INTEL_IOATDMA in Kconfig as soon as MYRI10GE or IXGBE is enabled since the former is not available on all architectures. Just use a Kconfig bool {IXGBE,MYRI10GE}_DCA set to =y when DCA support can actually be built. [myri10ge portion written and signed-off-by] Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 10 Oct, 2008 1 commit
-
-
Brice Goglin authored
Update myri10ge driver version number to 1.4.3-1.369. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 09 Oct, 2008 1 commit
-
-
Brice Goglin authored
No need to modulus the queue number in ->hard_start_xmit() since the core is going to do that for you modulus ->real_num_tx_queues. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 08 Oct, 2008 1 commit
-
-
Brice Goglin authored
Add multiqueue TX support to myri10ge. [ Removed reference to deprecated CONFIG_NETDEVICES_MULTIQUEUE and NETIF_F_MULTI_QUEUE ] Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 24 Sep, 2008 3 commits
-
-
Brice Goglin authored
Use DCA in myri10ge when CONFIG_DCA_MODULE is set as well. And thus force INTEL_IOATDMA to =y so that DCA=y if we are =y. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Rename the cryptic "dca_capable" to "dca_capable_firmware" and "dca_enabled" to "dca_device_present" in the firmware counters. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Stop scaring people with what looks like a fatal message when DCA support is compiled into their kernel, but the DCA device is not present. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 03 Sep, 2008 1 commit
-
-
Huang Weiyi authored
The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION. drivers/net/myri10ge/myri10ge.c drivers/net/netxen/netxen_nic_ethtool.c drivers/net/tokenring/lanstreamer.c This patch removes the said #include <version.h>. Signed-off-by:
Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 27 Aug, 2008 1 commit
-
-
Brice Goglin authored
Update myri10ge version string to 1.4.3-1.358. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 23 Aug, 2008 1 commit
-
-
Adrian Bunk authored
This patch lets the files using linux/version.h match the files that #include it. Signed-off-by:
Adrian Bunk <bunk@kernel.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 14 Aug, 2008 1 commit
-
-
Brice Goglin authored
When myri10ge_fw_name is given, use it to override the rss firmware name as well. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 06 Aug, 2008 1 commit
-
-
Brice Goglin authored
Set 64bits consistent DMA mask since it improves performance in some cases. No need to check the return value since it is not required for the driver to work. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 22 Jul, 2008 2 commits
-
-
Brice Goglin authored
Switch to ioremap_wc(). We keep the MTRR code since ioremap_wc() will use UC_MINUS when falling back to uncachable, and thus let the MTRR WC take precedence. Also rename the error path better. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Remove the wcfifo since it never gave any performance improvement. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 10 Jul, 2008 1 commit
-
-
David Woodhouse authored
... which means allocating our own buffer for reading it back. Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
-
- 30 May, 2008 4 commits
-
-
Brice Goglin authored
Add I/O AT DCA (Direct Cache Access) support. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Add multi-slice/MSI-X support. By default, a single slice (and the normal firmware) are used. To enable msi-x, multi-slice mode, one must load the driver with myri10ge_max_slices set to either -1, or something larger than 1. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Add several routines that multislices support will use. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Update myri10ge version to 1.3.99-1.347. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 22 May, 2008 1 commit
-
-
Adrian Bunk authored
This patch makes the needlessly global myri10ge_get_firmware_capabilities() static. Signed-off-by:
Adrian Bunk <bunk@kernel.org> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 12 May, 2008 10 commits
-
-
Brice Goglin authored
Fix a long-standing bug/misunderstanding between the driver and the firmware. The size of the interrupt queue must be set to the number of rx slots (big + small), and it should never have been a tunable. Setting it too small results in chaos. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Add myri10ge_get_firmware_capabilities() to retrieve TSO6 and interrupt slots capabilities from the firmware. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
To prepare and simplify multislice rx support, add a single slice structure and move some fields in there. No functional change yet. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Fix another potential for an infinite loop while looking for the root port in myri10ge_enable_ecrc(). Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Add some blank lines to uniformize the code and match the upstream code. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Add a barrier() in the usleep() loop in myri10ge_send_cmd(). Without the barrier, some mips machine never notices that the firmware has DMA'ed the response. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Make ethtool report FIBER for XFP based NIC's port type. Don't bother to poke around and try to find out what is in the XFP cage, since Linux does not have separate media types for -SR -LR, etc. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Properly align scratch buffers when making boot commands. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Increase the handoff timeout to 512ms so as to give the aeluros based NICs sufficient time to handoff without relying on the msleep() being sloppy, and accidentally sleeping way longer than the 20ms we specified in 20 separate 1ms sleeps. Fix typo in the handoff sleep delay, which made it additive, not exponential. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
Brice Goglin authored
Remove useless linebreaks at the end of MODULE_PARM_DESC and fix the description of myri10ge_lro_max_pkts. Signed-off-by:
Brice Goglin <brice@myri.com> Signed-off-by:
Andrew Gallatin <gallatin@myri.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- 29 Apr, 2008 1 commit
-
-
Hirofumi Nakagawa authored
Some drivers have duplicated unlikely() macros. IS_ERR() already has unlikely() in itself. This patch cleans up such pointless code. Signed-off-by:
Hirofumi Nakagawa <hnakagawa@miraclelinux.com> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Jeff Garzik <jeff@garzik.org> Cc: Paul Clements <paul.clements@steeleye.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: David Brownell <david-b@pacbell.net> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Cc: Michael Halcrow <mhalcrow@us.ibm.com> Cc: Anton Altaparmakov <aia21@cantab.net> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Carsten Otte <cotte@de.ibm.com> Cc: Patrick McHardy <kaber@trash.net> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Jaroslav Kysela <perex@perex.cz> Cc: Takashi Iwai <tiwai@suse.de> Acked-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 28 Jan, 2008 1 commit
-
-
Al Viro authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-