Author: yongari
Date: Mon Jul 19 23:48:03 2010
New Revision: 210271
URL: http://svn.freebsd.org/changeset/base/210271
Log:
Specify BCE_RX_BUF_ALIGN alignment for RX buffers. All bce(4)
controllers require RX buffers aligned on BCE_RX_BUF_ALIGN bytes.
Reviewed by: davidch
Modified:
Author: yongari
Date: Wed Jul 14 21:47:49 2010
New Revision: 210083
URL: http://svn.freebsd.org/changeset/base/210083
Log:
Remove enabling Data FIFO protection with indirect memory access.
r165114 added that code and that change ignored the same logic
committed in r135772. In addition, data
Author: yongari
Date: Tue Jul 13 19:33:46 2010
New Revision: 210011
URL: http://svn.freebsd.org/changeset/base/210011
Log:
Make bge_stop_fw() static.
While I'm here use ANSI function definitions.
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
Author: yongari
Date: Tue Jul 13 19:39:51 2010
New Revision: 210013
URL: http://svn.freebsd.org/changeset/base/210013
Log:
style.
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
==
---
Author: yongari
Date: Tue Jul 13 19:42:55 2010
New Revision: 210014
URL: http://svn.freebsd.org/changeset/base/210014
Log:
Fix error message for jumbo buffer allocation failure.
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
Author: yongari
Date: Tue Jul 13 19:45:40 2010
New Revision: 210015
URL: http://svn.freebsd.org/changeset/base/210015
Log:
Prefer PCIR_BAR macro over BGE_PCI_BAR0.
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
Author: yongari
Date: Fri Jul 9 21:21:08 2010
New Revision: 209865
URL: http://svn.freebsd.org/changeset/base/209865
Log:
Some revision of Yukon controller generates corrupted frame when TX
checksum offloading is enabled. The frame has a valid checksum
value so payload might be modified
Author: yongari
Date: Thu Jul 8 18:22:49 2010
New Revision: 209818
URL: http://svn.freebsd.org/changeset/base/209818
Log:
Remove enabling RX checksum offloading in RX filter setup. RX
checksum is enabled in sge_init_locked().
While I'm here do not set RX checksum bits in RX descriptor
Author: yongari
Date: Tue Jul 6 18:17:31 2010
New Revision: 209741
URL: http://svn.freebsd.org/changeset/base/209741
Log:
Zero entire status block and add missing bus_dmamap_sync(9).
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
Author: yongari
Date: Tue Jul 6 02:07:59 2010
New Revision: 209714
URL: http://svn.freebsd.org/changeset/base/209714
Log:
It seems read DMA mode register requires both IPv4 TSO and IPv6 TSO
configuration to get IPv4 TSO work on BCM57780. While I'm here
apply the same fix to BCM5785 which
On Fri, Jun 11, 2010 at 11:21:24AM -0600, Scott Long wrote:
On Jun 11, 2010, at 11:04 AM, Marcel Moolenaar wrote:
On Jun 11, 2010, at 9:12 AM, Scott Long wrote:
On Jun 11, 2010, at 5:51 AM, John Baldwin wrote:
On Thursday 10 June 2010 11:00:33 pm Marcel Moolenaar wrote:
Author:
On Fri, Jun 11, 2010 at 11:55:07AM -0600, Scott Long wrote:
On Jun 11, 2010, at 11:53 AM, Marcel Moolenaar wrote:
On Jun 11, 2010, at 10:47 AM, Scott Long wrote:
On Jun 11, 2010, at 11:44 AM, Marcel Moolenaar wrote:
On Jun 11, 2010, at 10:37 AM, Scott Long wrote:
I'm not clear
Author: yongari
Date: Sat Jun 5 23:29:24 2010
New Revision: 208862
URL: http://svn.freebsd.org/changeset/base/208862
Log:
Fix a bug introduced in r199011. When bge(4) reuses loaded RX
buffers it should also reinitialize RX descriptors otherwise some
stale data could be passed to
Author: yongari
Date: Fri Jun 4 17:11:33 2010
New Revision: 208806
URL: http://svn.freebsd.org/changeset/base/208806
Log:
Don't blindly set IFF_DRV_OACTIVE when sge_encap() fails. If there
is no queued frame, IFF_DRV_OACTIVE would never be cleared.
Submitted by: Nikolay Denev ndenev
On Tue, May 18, 2010 at 10:53:27PM +, Bjoern A. Zeeb wrote:
On Tue, 18 May 2010, Pyun YongHyeon wrote:
On Tue, May 18, 2010 at 03:27:33AM +, Bjoern A. Zeeb wrote:
On Mon, 10 May 2010, Pyun YongHyeon wrote:
Author: yongari
Date: Mon May 10 17:14:14 2010
New Revision: 207851
URL
Author: yongari
Date: Fri May 14 17:39:28 2010
New Revision: 208084
URL: http://svn.freebsd.org/changeset/base/208084
Log:
If controller received bad frames make sure to update newly added
RFA. Also drop frames that have either CRC error or alignment
error. Normally bad frames are not
Author: yongari
Date: Wed May 12 16:59:58 2010
New Revision: 207971
URL: http://svn.freebsd.org/changeset/base/207971
Log:
Document undocumented tunables and sysctl variables.
While here use actual string to specify width as well as using Cm
to set command argument.
Reviewed by:
Author: yongari
Date: Mon May 10 17:14:14 2010
New Revision: 207851
URL: http://svn.freebsd.org/changeset/base/207851
Log:
Implement TSO and TSO over VLAN. Increase number of allowed
fragmentation of mbuf chain to 32 from 16 because TSO can send 64KB
sized packet which in turn requires long
Author: yongari
Date: Mon May 10 17:48:00 2010
New Revision: 207853
URL: http://svn.freebsd.org/changeset/base/207853
Log:
Now sge(4) supports TCP segmentation offload (TSO).
Modified:
head/share/man/man4/sge.4
Modified: head/share/man/man4/sge.4
Author: yongari
Date: Sun May 9 22:16:15 2010
New Revision: 207832
URL: http://svn.freebsd.org/changeset/base/207832
Log:
Export hardware MAC statistics through sysctl node. Previously
fxp(4) already used to extract most hardware MAC statistics but it
didn't show them. With this change,
Author: yongari
Date: Fri May 7 16:43:00 2010
New Revision: 207748
URL: http://svn.freebsd.org/changeset/base/207748
Log:
It seems controller has two types of promiscuous control, one for
unicast and the other for multicast. To receive multicast frames
that host didn't join in promiscuous
Author: yongari
Date: Fri May 7 18:03:35 2010
New Revision: 207750
URL: http://svn.freebsd.org/changeset/base/207750
Log:
8255x configure command requires number of bytes of configuration
table. The default size of the configuration table was 22 bytes. To
use extended feature of
Author: yongari
Date: Fri May 7 23:05:27 2010
New Revision: 207763
URL: http://svn.freebsd.org/changeset/base/207763
Log:
Don't change PCIe maximum read request size to 2048 on RTL810x
controllers. It caused device timeouts.
Reported by: McLone mclone gmail dot com
Tested by:
Author: yongari
Date: Tue May 4 17:02:34 2010
New Revision: 207622
URL: http://svn.freebsd.org/changeset/base/207622
Log:
Drop driver lock before exiting from interrupt handler.
Submitted by: jhb
MFC after:3 days
Modified:
head/sys/dev/msk/if_msk.c
Modified:
Author: yongari
Date: Tue May 4 17:12:36 2010
New Revision: 207623
URL: http://svn.freebsd.org/changeset/base/207623
Log:
Make sure to check whether driver is running before processing
received frames. Also check driver has valid ifp pointer before
calling msk_stop() in device_shutdown
Author: yongari
Date: Tue May 4 17:34:00 2010
New Revision: 207625
URL: http://svn.freebsd.org/changeset/base/207625
Log:
Remove clearing RxHashTable2 register. The register is reprogrammed
in sge_rxfilter().
Modified:
head/sys/dev/sge/if_sge.c
Modified: head/sys/dev/sge/if_sge.c
Author: yongari
Date: Tue May 4 19:04:51 2010
New Revision: 207628
URL: http://svn.freebsd.org/changeset/base/207628
Log:
Enable multi-descriptor transmisstion for fragmented mbufs. There
is no more need to defragment mbufs. After transmitting the
multi-fragmented frame, the controller
Author: yongari
Date: Tue May 4 21:23:59 2010
New Revision: 207635
URL: http://svn.freebsd.org/changeset/base/207635
Log:
Free entire mbuf chain instead of the first mbuf.
Modified:
head/sys/dev/sge/if_sge.c
Modified: head/sys/dev/sge/if_sge.c
Author: yongari
Date: Tue May 4 22:24:19 2010
New Revision: 207638
URL: http://svn.freebsd.org/changeset/base/207638
Log:
When VLAN hardware tagging is disabled, make sure to disable VLAN
checksum offloading as well as TSO over VLAN.
Reported by: jhb
Modified:
Author: yongari
Date: Mon May 3 00:56:26 2010
New Revision: 207545
URL: http://svn.freebsd.org/changeset/base/207545
Log:
Fix wrong dma tag usage. Previously it used TX descriptor ring dma
tag which should be TX mbuf dma tag.
Reported by: xclin xclin cs dot nctu dot edu dot tw
Author: yongari
Date: Fri Apr 30 18:04:46 2010
New Revision: 207442
URL: http://svn.freebsd.org/changeset/base/207442
Log:
Disable non-ASF packet flushing on Yukon Extreme as vendor's driver
does. Without this change, Yukon Extreme seems to generate lots of
RX FIFO overruns even though
Author: yongari
Date: Fri Apr 30 18:58:55 2010
New Revision: 207445
URL: http://svn.freebsd.org/changeset/base/207445
Log:
Add basic support for Marvell 88E8059 Yukon Optima.
Tested by:James LaLagna jameslalagna gmail dot com
MFC after:5 days
Modified:
Author: yongari
Date: Thu Apr 29 17:28:07 2010
New Revision: 207375
URL: http://svn.freebsd.org/changeset/base/207375
Log:
Preserve unknown bits of RX MAC control register when driver
programs RX filter configuration. It seems RX MAC control register
is one of key registers to get various
Author: yongari
Date: Thu Apr 29 17:30:21 2010
New Revision: 207376
URL: http://svn.freebsd.org/changeset/base/207376
Log:
Remove wrong link state chage.
Modified:
head/sys/dev/sge/if_sge.c
Modified: head/sys/dev/sge/if_sge.c
Author: yongari
Date: Thu Apr 29 17:34:01 2010
New Revision: 207377
URL: http://svn.freebsd.org/changeset/base/207377
Log:
Explicitly marks SiS190 to differentiate it from SiS191.
Modified:
head/sys/dev/sge/if_sge.c
head/sys/dev/sge/if_sgereg.h
Modified: head/sys/dev/sge/if_sge.c
Author: yongari
Date: Thu Apr 29 18:00:42 2010
New Revision: 207379
URL: http://svn.freebsd.org/changeset/base/207379
Log:
Enable FCS stripping and padding 10 bytes bit of RX MAC control
register. Due to lack of SiS190 controller, I'm not sure whether
this is also applicable to SiS190 so
Author: yongari
Date: Thu Apr 29 18:14:14 2010
New Revision: 207380
URL: http://svn.freebsd.org/changeset/base/207380
Log:
Enable VLAN hardware tag insertion/stripping. Due to lack of SiS190
controller, I'm not sure whether this is also applicable to SiS190
so this feature is only activated
Author: yongari
Date: Thu Apr 22 20:25:07 2010
New Revision: 207071
URL: http://svn.freebsd.org/changeset/base/207071
Log:
Intialize interrupt moderation control register. The magic value
was chosen by lots of trial and errors. The chosen value shows
good interrupt moderation without
Author: yongari
Date: Mon Apr 19 22:10:40 2010
New Revision: 206876
URL: http://svn.freebsd.org/changeset/base/206876
Log:
With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify
drivers to take into account for the change. Basically CSUM_TSO
should be checked before checking CSUM_TCP.
+ * SiS 900 driver by Bill Paul, using SiS 190/191 Solaris driver by
+ * Masayuki Murayama and SiS 190/191 GNU/Linux driver by K.M. Liu
+ * km...@sis.com. Thanks to Pyun YongHyeon pyu...@gmail.com for
+ * review and very useful comments.
+ *
+ * Adapted to SiS 191 NIC by Nikolay Denev with further
(r206631)
@@ -0,0 +1,120 @@
+.\ Copyright (c) 2010 Pyun YongHyeon
+.\ All rights reserved.
+.\
+.\ Redistribution and use in source and binary forms, with or without
+.\ modification, are permitted provided that the following conditions
+.\ are met:
+.\ 1. Redistributions of source code must retain
Author: yongari
Date: Tue Apr 13 20:07:52 2010
New Revision: 206563
URL: http://svn.freebsd.org/changeset/base/206563
Log:
Add Agere ET1011 PHY which is found on Belkin F5D5055 USB
controller. Unlike Agere ET1011C, Agere ET1011 does not seem to
need special DSP programming to workaround
Author: yongari
Date: Fri Apr 9 22:50:28 2010
New Revision: 206433
URL: http://svn.freebsd.org/changeset/base/206433
Log:
Add preliminary support for 8168E/8111E PCIe controller.
While I'm here simplify device description string.
Tested by:Michael Beckmann michael apfel dot de
Author: yongari
Date: Fri Apr 9 23:00:24 2010
New Revision: 206436
URL: http://svn.freebsd.org/changeset/base/206436
Log:
Consistently use capital letters.
Modified:
head/sys/pci/if_rlreg.h
Modified: head/sys/pci/if_rlreg.h
Author: yongari
Date: Wed Apr 7 17:12:57 2010
New Revision: 206364
URL: http://svn.freebsd.org/changeset/base/206364
Log:
Partial revert r204545.
Just relying on status LE ownership of status block seems to cause
poor performance. Always read current status index register first
and then
Author: yongari
Date: Thu Mar 25 17:17:35 2010
New Revision: 205651
URL: http://svn.freebsd.org/changeset/base/205651
Log:
Use pci_get_max_read_req() and pci_set_max_read_req() to set maximim
read request size.
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
On Mon, Mar 15, 2010 at 09:31:52PM -0600, Scott Long wrote:
On Mar 12, 2010, at 11:18 AM, Pyun YongHyeon wrote:
Author: yongari
Date: Fri Mar 12 18:18:04 2010
New Revision: 205090
URL: http://svn.freebsd.org/changeset/base/205090
Log:
Reorder interrupt handler a bit
Author: yongari
Date: Tue Mar 16 17:45:16 2010
New Revision: 205221
URL: http://svn.freebsd.org/changeset/base/205221
Log:
Revert r205090.
It's hard to know when the mail box register write will get flushed to
the hardware and it may take longer.
Pointed out by: scottl
Modified:
On Sat, Mar 13, 2010 at 11:05:11PM +1100, Bruce Evans wrote:
On Fri, 12 Mar 2010, Pyun YongHyeon wrote:
Log:
Reorder interrupt handler a bit such that producer/consumer
index of status block is read first before acknowledging the
interrupts. Otherwise bge(4) may get stale status block
Author: yongari
Date: Wed Mar 10 20:54:08 2010
New Revision: 204978
URL: http://svn.freebsd.org/changeset/base/204978
Log:
Set maximum read byte count to 2048 for PCI-X BCM5703/5704 devices.
Also disable relaxed ordering as recommended by data sheet for
PCI-X devices. For PCI-X BCM5704, set
Author: yongari
Date: Wed Mar 10 20:55:55 2010
New Revision: 204979
URL: http://svn.freebsd.org/changeset/base/204979
Log:
Fix typo in r204975.
Pointed out by: marius
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
Author: yongari
Date: Wed Mar 10 21:37:19 2010
New Revision: 204981
URL: http://svn.freebsd.org/changeset/base/204981
Log:
Fix typo in r204978.
Pointed out by: marius
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
Author: yongari
Date: Mon Mar 1 23:39:43 2010
New Revision: 204541
URL: http://svn.freebsd.org/changeset/base/204541
Log:
Implement rudimentary interrupt moderation with programmable
countdown timer register. The timer resolution may vary among
controllers but the value would be
Author: yongari
Date: Mon Mar 1 23:56:51 2010
New Revision: 204543
URL: http://svn.freebsd.org/changeset/base/204543
Log:
Document newly added loader tunable and sysctl variable
dev.mskc.%d.int_holdoff
Modified:
head/share/man/man4/msk.4
Modified: head/share/man/man4/msk.4
Author: yongari
Date: Tue Mar 2 01:45:02 2010
New Revision: 204545
URL: http://svn.freebsd.org/changeset/base/204545
Log:
Remove taskqueue based interrupt handling. After r204541 msk(4)
does not generate excessive interrupts any more so we don't need
to have two copies of interrupt
Author: yongari
Date: Fri Feb 26 17:33:43 2010
New Revision: 204362
URL: http://svn.freebsd.org/changeset/base/204362
Log:
Add TSO support on VLANs. Controller requires VLAN hardware tagging
to make TSO work over VLANs.
Modified:
head/sys/dev/msk/if_msk.c
Modified:
Author: yongari
Date: Fri Feb 26 19:37:03 2010
New Revision: 204366
URL: http://svn.freebsd.org/changeset/base/204366
Log:
Allocate single MSI message. msk(4) used to allocate 2 MSI messages
for controllers like 88E8053 which reports two MSI messages.
Because we don't get anything useful
Author: yongari
Date: Fri Feb 26 19:38:12 2010
New Revision: 204367
URL: http://svn.freebsd.org/changeset/base/204367
Log:
Remove trailing white spaces.
Modified:
head/sys/dev/msk/if_msk.c
Modified: head/sys/dev/msk/if_msk.c
Author: yongari
Date: Fri Feb 26 20:39:07 2010
New Revision: 204371
URL: http://svn.freebsd.org/changeset/base/204371
Log:
Make toggling TSO, VLAN hardware checksum offloading work. Also fix
TX/RX checksum handler to set/clear relavant assist bits which was
used to cause unexpected results.
Author: yongari
Date: Fri Feb 26 21:19:46 2010
New Revision: 204373
URL: http://svn.freebsd.org/changeset/base/204373
Log:
Move TSO setup to new function bce_tso_setup(). Also remove VLAN
parsing code in TSO path as the controller requires VLAN hardware
tagging to make TSO work over VLANs.
Author: yongari
Date: Fri Feb 26 22:29:42 2010
New Revision: 204376
URL: http://svn.freebsd.org/changeset/base/204376
Log:
Disable TSO on BCM5755M controller until I understand better for
the issue. I still have no idea why TSO does not work on this
controller. davidch@ also confirmed there
Author: yongari
Date: Fri Feb 26 22:43:23 2010
New Revision: 204377
URL: http://svn.freebsd.org/changeset/base/204377
Log:
Add TSO support on VLANs. While I'm here remove unnecessary check
of VLAN hardware checksum offloading. vlan(4) already takes care of
this.
Modified:
Author: yongari
Date: Fri Feb 26 22:46:36 2010
New Revision: 204378
URL: http://svn.freebsd.org/changeset/base/204378
Log:
Add TSO support on VLANs. While I'm here remove unnecessary check
of VLAN hardware checksum offloading. vlan(4) already takes care of
this.
Modified:
Author: yongari
Date: Mon Feb 22 21:03:15 2010
New Revision: 204223
URL: http://svn.freebsd.org/changeset/base/204223
Log:
Remove Tx mbuf parsing code for VLAN in TSO path. Controller does
not support TSO over VLAN if VLAN hardware tagging is disabled so
there is no need to check VLAN here.
Author: yongari
Date: Sat Feb 20 22:24:24 2010
New Revision: 204146
URL: http://svn.freebsd.org/changeset/base/204146
Log:
Correct inversed programming of ethernet hardware address on
big-endian architecture.
Submitted by: C. Jayachandran c.jayachandran at gmail dot com (initial
Author: yongari
Date: Sat Feb 20 23:21:06 2010
New Revision: 204151
URL: http://svn.freebsd.org/changeset/base/204151
Log:
Add TSO support on VLAN. Controller requires VLAN hardware tagging
to make TSO work on VLAN. So if VLAN hardware tagging is disabled
explicitly clear TSO on VLAN. While
Author: yongari
Date: Sun Feb 21 00:00:55 2010
New Revision: 204155
URL: http://svn.freebsd.org/changeset/base/204155
Log:
Increase PCIe maximuim read request size to 2048. Because re(4) uses
Tx DMA burst size 2048, I beleive PCIe maximum read request size
also should match to the value of
Author: yongari
Date: Sun Feb 21 00:07:45 2010
New Revision: 204156
URL: http://svn.freebsd.org/changeset/base/204156
Log:
Add __FBSDID.
Reviewed by: sam
Modified:
head/sys/net/if_vlan.c
Modified: head/sys/net/if_vlan.c
501 - 568 of 568 matches
Mail list logo