cvs commit: src/sys/dev/bge if_bge.c

2008-09-18 Thread Oleg Bulyzhin
oleg2008-09-18 22:29:05 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/bge if_bge.c Log: SVN rev 183162 on 2008-09-18 22:29:05Z by oleg MFC: 182874 bge_tick(): do not touch PHY if link is up. This should solve problem with extra

cvs commit: src/sys/dev/bge if_bge.c

2008-09-18 Thread Oleg Bulyzhin
oleg2008-09-18 22:24:49 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/bge if_bge.c Log: SVN rev 183161 on 2008-09-18 22:24:49Z by oleg MFC: 182874 bge_tick(): do not touch PHY if link is up. This should solve problem with extra

cvs commit: src/sys/dev/bge if_bge.c

2008-09-08 Thread Oleg Bulyzhin
oleg2008-09-08 18:10:15 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: SVN rev 182874 on 2008-09-08 18:10:15Z by oleg bge_tick(): do not touch PHY if link is up. This should solve problem with extra input errors for some BCM57XX chips.

Re: cvs commit: src/sys/netinet ip_dummynet.c ip_dummynet.h ip_fw_pfil.c src/sys/net if_bridge.c if_ethersubr.c src/sbin/ipfw ipfw.8

2008-04-27 Thread Oleg Bulyzhin
On Sat, Apr 26, 2008 at 05:37:43PM +0200, Andre Albsmeier wrote: > On Fri, 25-Apr-2008 at 10:29:26 +0000, Oleg Bulyzhin wrote: > > oleg2008-04-25 10:29:26 UTC > > > > FreeBSD src repository > > > > Modified files:(Branch: RELENG_6) > >

cvs commit: src/sys/net bridge.c

2008-04-26 Thread Oleg Bulyzhin
oleg2008-04-26 19:15:57 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net bridge.c Log: Unbreak RELENG_6 build. PR: misc/123110 Revision ChangesPath 1.93.2.2 +1 -1 src/sys/net/bridge.c

cvs commit: src/sbin/ipfw ipfw2.c

2008-04-25 Thread Oleg Bulyzhin
oleg2008-04-25 10:35:53 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sbin/ipfwipfw2.c Log: MFC: 1.111 Calculate p.fs.lookup_step correctly. This should prevent zeroing of w_q_lookup table (used in RED algorithm for (1 - w_q)^t comput

cvs commit: src/sbin/ipfw ipfw2.c

2008-04-25 Thread Oleg Bulyzhin
oleg2008-04-25 10:35:03 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sbin/ipfwipfw2.c Log: MFC: 1.111 Calculate p.fs.lookup_step correctly. This should prevent zeroing of w_q_lookup table (used in RED algorithm for (1 - w_q)^t comput

cvs commit: src/sys/netinet ip_dummynet.c ip_dummynet.h ip_fw_pfil.c src/sys/net if_bridge.c if_ethersubr.c src/sbin/ipfw ipfw.8

2008-04-25 Thread Oleg Bulyzhin
oleg2008-04-25 10:29:26 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet ip_dummynet.h ip_dummynet.c ip_fw_pfil.c sys/net if_bridge.c if_ethersubr.c sbin/ipfwipfw.8 Log: MFC: src/sys/netinet/ip_dumm

cvs commit: src/sys/netinet ip_dummynet.c ip_dummynet.h ip_fw_pfil.c src/sys/net if_bridge.c if_ethersubr.c src/sbin/ipfw ipfw.8

2008-04-25 Thread Oleg Bulyzhin
oleg2008-04-25 10:26:31 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netinet ip_dummynet.h ip_dummynet.c ip_fw_pfil.c sys/net if_bridge.c if_ethersubr.c sbin/ipfwipfw.8 Log: MFC: src/sys/netinet/ip_dumm

cvs commit: src/sys/netinet ip_dummynet.c

2007-12-25 Thread Oleg Bulyzhin
oleg2007-12-25 09:36:51 UTC FreeBSD src repository Modified files: sys/netinet ip_dummynet.c Log: Workaround p->numbytes overflow, which can result in infinite loop inside dummynet module (prerequisite is using queues with "fat" pipe). PR: kern/113

cvs commit: src/sbin/ipfw ipfw2.c

2007-12-17 Thread Oleg Bulyzhin
oleg2007-12-17 10:25:56 UTC FreeBSD src repository Modified files: sbin/ipfwipfw2.c Log: Calculate p.fs.lookup_step correctly. This should prevent zeroing of w_q_lookup table (used in RED algorithm for (1 - w_q)^t computation). MFC after: 1 months

cvs commit: src/sys/netinet ip_dummynet.c src/sbin/ipfw ipfw.8

2007-11-17 Thread Oleg Bulyzhin
oleg2007-11-17 21:54:57 UTC FreeBSD src repository Modified files: sys/netinet ip_dummynet.c sbin/ipfwipfw.8 Log: - New sysctl variable: net.inet.ip.dummynet.io_fast If it is set to zero value (default) dummynet module will try to emulate rea

cvs commit: src/sys/netinet ip_dummynet.c ip_dummynet.h ip_fw_pfil.c src/sys/net if_bridge.c if_ethersubr.c

2007-11-06 Thread Oleg Bulyzhin
oleg2007-11-06 23:01:42 UTC FreeBSD src repository Modified files: sys/netinet ip_dummynet.c ip_dummynet.h ip_fw_pfil.c sys/net if_bridge.c if_ethersubr.c Log: 1) dummynet_io() declaration has changed. 2) Alter packet flow inside dummynet: allow c

cvs commit: src/sys/netinet ip_dummynet.c

2007-11-06 Thread Oleg Bulyzhin
oleg2007-11-06 22:53:41 UTC FreeBSD src repository Modified files: sys/netinet ip_dummynet.c Log: style(9) cleanup. MFC after: 3 month Revision ChangesPath 1.111 +347 -337 src/sys/netinet/ip_dummynet.c __

cvs commit: src/sys/netinet tcp_timewait.c

2007-05-16 Thread Oleg Bulyzhin
oleg2007-05-17 00:05:13 UTC FreeBSD src repository Modified files: sys/netinet tcp_timewait.c Log: Unbreak IPv4 kernel build. Revision ChangesPath 1.285 +2 -0 src/sys/netinet/tcp_timewait.c ___ cvs-all@

cvs commit: src/sys/netinet ip_dummynet.c

2007-03-21 Thread Oleg Bulyzhin
oleg2007-03-21 17:25:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet ip_dummynet.c Log: MFC rev. 1.102-1.105 - style(9) cleanup - Use separate thread for servicing dummynet(4). Utilize taskqueue(9) API. - Convert

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-12-23 Thread Oleg Bulyzhin
sts? While experimenting with bge(4) driver (taskqueue, interrupt moderation, converted bge_rxeof() to above scheme), i've found it's quite easy to exhaust available mbuf clusters under load (trying to queue hundreids of received packets). So i had to limit rx queue to rather low len

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-12-23 Thread Oleg Bulyzhin
mbination of yours and previous bge_txeof() behaviour: 1) We should cancel watchdog if tx ring is empty (as you did) 2) We should not clear bge_timer inside loop (like it was before), but set it to 5. So watchdog is active until tx ring is empty and we

Re: cvs commit: src/sys/dev/mii brgphy.c

2006-12-19 Thread Oleg Bulyzhin
e you sure reading bmsr once is enough? -- Oleg. ==== === Oleg Bulyzhin -- OBUL-RIPN -- OBUL-RIPE -- [EMAIL PROTECTED] === ___ cvs-all@freebsd.org mailing l

cvs commit: src/sys/dev/bge if_bge.c

2006-12-19 Thread Oleg Bulyzhin
oleg2006-12-19 08:57:46 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: - Add missing callout_drain() call. - Synchronize bge_tick() with callout_reset/callout_stop() calls. - Avoid using bge_tick() inside bge_link_upd(), use mii_pollstat() i

cvs commit: src/sys/dev/mii brgphy.c

2006-12-19 Thread Oleg Bulyzhin
oleg2006-12-19 08:41:48 UTC FreeBSD src repository Modified files: sys/dev/mii brgphy.c Log: - Fix autonegotiation timer. - Use MII_ANEGTICKS/MII_ANEGTICKS_GIGE defines instead of hardcoded value. - Fix some comments. - style(9) MFC after: 2 month

Re: cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

2006-12-12 Thread Oleg Bulyzhin
On Tue, Dec 12, 2006 at 08:07:46PM -0500, Jung-uk Kim wrote: > On Tuesday 12 December 2006 07:44 pm, Oleg Bulyzhin wrote: > > On Tue, Dec 12, 2006 at 07:31:24PM -0500, Jung-uk Kim wrote: > > > On Tuesday 12 December 2006 06:44 pm, Oleg Bulyzhin wrote: > > > > On T

Re: cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

2006-12-12 Thread Oleg Bulyzhin
On Tue, Dec 12, 2006 at 07:31:24PM -0500, Jung-uk Kim wrote: > On Tuesday 12 December 2006 06:44 pm, Oleg Bulyzhin wrote: > > On Tue, Dec 12, 2006 at 06:09:17PM -0500, Jung-uk Kim wrote: > > > On Tuesday 12 December 2006 05:05 pm, Oleg Bulyzhin wrote: > > > > On F

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-12-12 Thread Oleg Bulyzhin
On Tue, Dec 12, 2006 at 06:24:43PM -0500, Jung-uk Kim wrote: > On Tuesday 12 December 2006 05:25 pm, Oleg Bulyzhin wrote: > > On Mon, Dec 11, 2006 at 06:00:35PM +, Jung-uk Kim wrote: > > > jkim2006-12-11 18:00:35 UTC > > > > > > FreeBSD src rep

Re: cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

2006-12-12 Thread Oleg Bulyzhin
On Tue, Dec 12, 2006 at 06:09:17PM -0500, Jung-uk Kim wrote: > On Tuesday 12 December 2006 05:05 pm, Oleg Bulyzhin wrote: > > On Fri, Dec 01, 2006 at 01:08:52AM +, Jung-uk Kim wrote: > > > jkim2006-12-01 01:08:52 UTC > > > > > > FreeBSD src rep

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-12-12 Thread Oleg Bulyzhin
S. Your current change is unclear to me too: since ifp counters and sc->_bge_ are both u_long i can not see any reason of converting (u_long) cast to (uint32_t) one. -- Oleg. ===

Re: cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

2006-12-12 Thread Oleg Bulyzhin
ill get wrong numbers after ifconfig down/up (since it implies hardware counters reset while sc->bge_* counters are not cleared). -- Oleg. ==== === Ol

cvs commit: src/sys/netinet ip_dummynet.c

2006-10-29 Thread Oleg Bulyzhin
oleg2006-10-29 12:09:25 UTC FreeBSD src repository Modified files: sys/netinet ip_dummynet.c Log: - Use non-recursive mutex. MTX_RECURSE is unnecessary since rev. 1.70 - Pay respect to net.isr.direct: use netisr_dispatch() instead of ip_input() Reviewed by:

cvs commit: src/sys/netinet ip_dummynet.c

2006-10-27 Thread Oleg Bulyzhin
oleg2006-10-27 13:05:38 UTC FreeBSD src repository Modified files: sys/netinet ip_dummynet.c Log: - Convert net.inet.ip.dummynet.curr_time net.inet.ip.dummynet.searches net.inet.ip.dummynet.search_steps to SYSCTL_LONG nodes. It will

cvs commit: src/sys/netinet ip_dummynet.c

2006-10-27 Thread Oleg Bulyzhin
oleg2006-10-27 11:16:58 UTC FreeBSD src repository Modified files: sys/netinet ip_dummynet.c Log: Use separate thread for servicing dummynet(4). Utilize taskqueue(9) API. Submitted by: glebius MFC after: 2 month Revision ChangesPath 1.103

cvs commit: src/sys/netinet ip_dummynet.c

2006-10-27 Thread Oleg Bulyzhin
oleg2006-10-27 10:52:33 UTC FreeBSD src repository Modified files: sys/netinet ip_dummynet.c Log: style(9) cleanup. MFC after: 2 month Revision ChangesPath 1.102 +357 -334 src/sys/netinet/ip_dummynet.c __

cvs commit: src/sys/contrib/ipfilter/netinet ip_fil_freebsd.c

2006-10-26 Thread Oleg Bulyzhin
oleg2006-10-26 11:22:04 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/contrib/ipfilter/netinet ip_fil_freebsd.c Log: MFC rev. 1.5 Workaround bad locking design: do not try to lock/unlock destroyed/non-existing mutex. PR: kern/10

Re: cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-18 Thread Oleg Bulyzhin
On Tue, Oct 17, 2006 at 10:57:52AM -0700, John-Mark Gurney wrote: > Oleg Bulyzhin wrote this message on Tue, Oct 17, 2006 at 14:53 +0400: > > On Mon, Oct 16, 2006 at 10:05:17AM -0700, John-Mark Gurney wrote: > > > Oleg Bulyzhin wrote this message on Mon, Oct 16, 2006 at 12:14 +04

Re: cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-17 Thread Oleg Bulyzhin
On Mon, Oct 16, 2006 at 10:05:17AM -0700, John-Mark Gurney wrote: > Oleg Bulyzhin wrote this message on Mon, Oct 16, 2006 at 12:14 +0400: > > On Mon, Oct 09, 2006 at 04:15:56PM +, John-Mark Gurney wrote: > > > jmg 2006-10-09 16:15:56 UTC > > > >

Re: cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-16 Thread Oleg Bulyzhin
On Mon, Oct 09, 2006 at 04:15:56PM +, John-Mark Gurney wrote: > jmg 2006-10-09 16:15:56 UTC > > FreeBSD src repository > > Modified files: > sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h > sys/dev/sk if_sk.c if_skreg.h > Log: > provide routines

cvs commit: src/sys/contrib/ipfilter/netinet ip_fil_freebsd.c

2006-10-05 Thread Oleg Bulyzhin
oleg2006-10-05 09:48:25 UTC FreeBSD src repository Modified files: sys/contrib/ipfilter/netinet ip_fil_freebsd.c Log: Workaround bad locking design: do not try to lock/unlock destroyed/non-existsing mutex. PR: kern/103569 Reviewed by:guido Approved

cvs commit: src/sys/dev/bge if_bge.c

2006-09-07 Thread Oleg Bulyzhin
oleg2006-09-07 08:49:10 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/bge if_bge.c Log: MFC rev. 1.140 Properly lock ifmedia callbacks. This should prevent concurrent access to PHY. Following issues should be resolved: - random wa

cvs commit: src/sys/netinet ip_fw2.c

2006-09-02 Thread Oleg Bulyzhin
oleg2006-09-02 08:07:36 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/netinet ip_fw2.c Log: MFC rev. 1.141-1.142 - Do not leak memory while flushing rules. Noticed by: yar - Remove useless NULL pointer check: we are using M_WAI

cvs commit: src/sys/netinet ip_fw2.c

2006-09-02 Thread Oleg Bulyzhin
oleg2006-09-02 08:04:33 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet ip_fw2.c Log: MFC rev. 1.141-1.142 - Do not leak memory while flushing rules. Noticed by: yar - Remove useless NULL pointer check: we are using M_WAI

cvs commit: src/sys/dev/bge if_bge.c

2006-08-24 Thread Oleg Bulyzhin
oleg2006-08-24 14:41:16 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: Properly lock ifmedia callbacks. This should prevent concurrent access to PHY. Following issues should be resolved: - random watchdog timeouts (caused by concurrent phy a

cvs commit: src/sys/netinet ip_fw2.c

2006-08-04 Thread Oleg Bulyzhin
oleg2006-08-04 10:50:52 UTC FreeBSD src repository Modified files: sys/netinet ip_fw2.c Log: Remove useless NULL pointer check: we are using M_WAITOK flag for memory allocation. Submitted by: Andrey Elsukov Approved by:glebius (mentor) MFC after:

cvs commit: src/sys/netinet ip_fw2.c

2006-08-02 Thread Oleg Bulyzhin
oleg2006-08-02 14:58:52 UTC FreeBSD src repository Modified files: sys/netinet ip_fw2.c Log: Do not leak memory while flushing rules. Noticed by: yar Approved by:glebius (mentor) MFC after: 1 week Revision ChangesPath 1.141 +3 -2

cvs commit: src/sys/dev/mii mii_physubr.c

2006-07-29 Thread Oleg Bulyzhin
oleg2006-07-29 08:30:12 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/mii mii_physubr.c Log: MFC rev. 1.25: Reset autonegotiation timer if current media is not 'auto'. Revision ChangesPath 1.22.2.2 +3 -1 src/sys/dev/

cvs commit: src/sys/netinet ip_dummynet.c ip_fw.h ip_fw2.c src/sbin/ipfw ipfw.8 ipfw2.c

2006-07-29 Thread Oleg Bulyzhin
oleg2006-07-29 08:24:12 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet ip_dummynet.c ip_fw.h ip_fw2.c sbin/ipfwipfw.8 ipfw2.c Log: MFC: src/sys/netinet/ip_dummynet.c rev. 1.101 - Fix following rules: pipe X (tag|

cvs commit: src/sbin/ipfw ipfw.8

2006-07-25 Thread Oleg Bulyzhin
oleg2006-07-25 11:07:31 UTC FreeBSD src repository Modified files: sbin/ipfwipfw.8 Log: Specify correct argument range for tag/untag keywords. Approved by:glebius (mentor) Revision ChangesPath 1.190 +2 -2 src/sbin/ipfw/ipfw.8

cvs commit: src/usr.bin/netstat route.c

2006-07-06 Thread Oleg Bulyzhin
oleg2006-07-06 11:59:27 UTC FreeBSD src repository Modified files: usr.bin/netstat route.c Log: Since kernel & userland use different timebase and netstat is reading kernel memory directly, we should do timebase conversion for route lifetime. Approved by:glebi

cvs commit: src/sys/net rtsock.c

2006-07-05 Thread Oleg Bulyzhin
oleg2006-07-06 00:24:36 UTC FreeBSD src repository Modified files: sys/net rtsock.c Log: Adjust rt_(set|get)metrics() to do kernel <-> userland timebase conversion. We need it since kernel timebase has changed (time_second -> time_uptime). Approved by:

cvs commit: src/sys/netinet in_rmx.c src/sys/netinet6 in6_rmx.c

2006-07-05 Thread Oleg Bulyzhin
oleg2006-07-05 23:37:21 UTC FreeBSD src repository Modified files: sys/netinet in_rmx.c sys/netinet6 in6_rmx.c Log: Complete timebase (time_second -> time_uptime) conversion. PR: kern/94249 Reviewed by:andre (few months ago) Appr

cvs commit: src/sys/dev/mii mii_physubr.c

2006-07-03 Thread Oleg Bulyzhin
oleg2006-07-03 10:37:09 UTC FreeBSD src repository Modified files: sys/dev/mii mii_physubr.c Log: Reset autonegotiation timer if current media is not 'auto'. Approved by:glebius (mentor) MFC after: 2 weeks Revision ChangesPath 1.25 +3

cvs commit: src/sys/netinet ip_fw2.c src/sbin/ipfw ipfw2.c

2006-06-23 Thread Oleg Bulyzhin
oleg2006-06-24 06:38:39 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet ip_fw2.c sbin/ipfwipfw2.c Log: MFC src/sys/netinet/ip_fw2.c rev.1.133: install_state() should properly initialize 'addr_type' field of newly

cvs commit: src/sys/dev/mii mii_physubr.c

2006-06-23 Thread Oleg Bulyzhin
oleg2006-06-24 06:17:07 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/mii mii_physubr.c Log: MFC rev.1.24: 1) Fix mii_phy_tick(): Current code does not report link loss correctly - when link goes down, mii_phy_tick() will

cvs commit: src/sys/dev/mii miivar.h

2006-06-23 Thread Oleg Bulyzhin
oleg2006-06-24 06:14:24 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/mii miivar.h Log: MFC rev.1.18: Introduce MII_ANEGTICKS and MII_ANEGTICKS_GIGE defines. (How many ticks should we wait before retrying autonegotiation process)

cvs commit: src/sys/netinet ip_fw2.c src/sbin/ipfw ipfw.8 ipfw2.c

2006-06-15 Thread Oleg Bulyzhin
oleg2006-06-15 09:39:22 UTC FreeBSD src repository Modified files: sys/netinet ip_fw2.c sbin/ipfwipfw.8 ipfw2.c Log: Add support of 'tablearg' feature for: - 'tag' & 'untag' action parameters. - 'tagged' & 'limit' rule options. Rule examples:

cvs commit: src/sys/netinet ip_fw2.c

2006-06-15 Thread Oleg Bulyzhin
oleg2006-06-15 08:54:29 UTC FreeBSD src repository Modified files: sys/netinet ip_fw2.c Log: install_state(): style(9) cleanup Approved by:glebius (mentor) MFC after: 1 month Revision ChangesPath 1.134 +36 -33src/sys/netinet/ip_fw2

cvs commit: src/sys/netinet ip_fw2.c

2006-06-08 Thread Oleg Bulyzhin
oleg2006-06-08 11:27:46 UTC FreeBSD src repository Modified files: sys/netinet ip_fw2.c Log: install_state() should properly initialize 'addr_type' field of newly created flows for O_LIMIT rules. Otherwise 'ipfw -d show' is unable to display PARENT rules properl

cvs commit: src/sys/netinet ip_dummynet.c

2006-06-08 Thread Oleg Bulyzhin
oleg2006-06-08 11:13:23 UTC FreeBSD src repository Modified files: sys/netinet ip_dummynet.c Log: Fix following rules: pipe X (tag|altq) Y ... Approved by:glebius (mentor) MFC after: 2 weeks Revision ChangesPath 1.101 +4 -0 src/sy

Re: cvs commit: src/sys/netinet ip_fw.h ip_fw2.c src/sbin/ipfw ipfw.8 ipfw2.c

2006-05-24 Thread Oleg Bulyzhin
On Wed, May 24, 2006 at 05:22:52PM +0200, Andre Oppermann wrote: > Oleg Bulyzhin wrote: > >On Wed, May 24, 2006 at 01:09:55PM +0000, Oleg Bulyzhin wrote: > >>oleg2006-05-24 13:09:55 UTC > >> > >> FreeBSD src repository > >> > >> Modif

Re: cvs commit: src/sys/netinet ip_fw.h ip_fw2.c src/sbin/ipfw ipfw.8 ipfw2.c

2006-05-24 Thread Oleg Bulyzhin
On Wed, May 24, 2006 at 01:09:55PM +, Oleg Bulyzhin wrote: > oleg2006-05-24 13:09:55 UTC > > FreeBSD src repository > > Modified files: > sys/netinet ip_fw.h ip_fw2.c > sbin/ipfwipfw.8 ipfw2.c > Log: > Implement i

cvs commit: src/sys/netinet ip_fw.h ip_fw2.c src/sbin/ipfw ipfw.8 ipfw2.c

2006-05-24 Thread Oleg Bulyzhin
oleg2006-05-24 13:09:55 UTC FreeBSD src repository Modified files: sys/netinet ip_fw.h ip_fw2.c sbin/ipfwipfw.8 ipfw2.c Log: Implement internal (i.e. inside kernel) packet tagging using mbuf_tags(9). Since tags are kept while packet resides in kern

cvs commit: src/sys/dev/mii mii_physubr.c

2006-05-16 Thread Oleg Bulyzhin
oleg2006-05-16 12:26:00 UTC FreeBSD src repository Modified files: sys/dev/mii mii_physubr.c Log: 1) Fix mii_phy_tick(): Current code does not report link loss correctly - when link goes down, mii_phy_tick() will notice that with up to mii_anegticks delay.

cvs commit: src/sys/dev/mii miivar.h

2006-05-16 Thread Oleg Bulyzhin
oleg2006-05-16 12:23:57 UTC FreeBSD src repository Modified files: sys/dev/mii miivar.h Log: Introduce MII_ANEGTICKS and MII_ANEGTICKS_GIGE defines. (How many ticks should we wait before retrying autonegotiation process). Approved by:glebius (mentor) MFC

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-04-15 Thread Oleg Bulyzhin
On Sat, Apr 15, 2006 at 08:13:07AM +, Scott Long wrote: > scottl 2006-04-15 08:13:07 UTC > > FreeBSD src repository > > Modified files: > sys/dev/bge if_bge.c > Log: > Fix the interrupt handler to do the mandatory PCI flush before looking at > DMA memory. The cou

cvs commit: src/sys/dev/mii brgphy.c miidevs

2006-04-05 Thread Oleg Bulyzhin
oleg2006-04-05 20:41:47 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/mii brgphy.c miidevs Log: MFC brgphy.c rev.1.39, miidevs rev.1.31 - Add basic support for BCM5780 PHY. Submitted by: grehan Approved by:re (hrs) R

cvs commit: src/sys/dev/mii brgphy.c miidevs

2006-03-23 Thread Oleg Bulyzhin
oleg2006-03-23 09:53:39 UTC FreeBSD src repository Modified files: sys/dev/mii brgphy.c miidevs Log: Add basic support for BCM5780 PHY. Submitted by: grehan Approved by:glebius (mentor) MFC after: 1 week Revision ChangesPath 1.39

cvs commit: src/sys/dev/mii brgphy.c

2006-03-04 Thread Oleg Bulyzhin
oleg2006-03-04 09:36:14 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/mii brgphy.c Log: MFC rev. 1.38 - If PHY changes it's state fast enough, we can miss (under certain conditions) link event. Fix it. Approved by:re (sc

cvs commit: src/sys/dev/bge if_bge.c

2006-03-04 Thread Oleg Bulyzhin
oleg2006-03-04 09:34:49 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/bge if_bge.c Log: MFC rev. 1.121-1.124 - Synchronize status block on every call of bge_poll_locked() (rev. 1.121) - Return immediately out of bge_rxeof()/bge_t

cvs commit: src/sys/net if_bridge.c if_ethersubr.c

2006-03-04 Thread Oleg Bulyzhin
oleg2006-03-04 09:24:30 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/net if_bridge.c if_ethersubr.c Log: MFC if_ethersubr.c rev. 1.214, if_bridge.c rev. 1.54 Properly initialize args structure before passing it to ipfw_chk(): having

cvs commit: src/sys/net if_bridge.c if_ethersubr.c

2006-03-04 Thread Oleg Bulyzhin
oleg2006-03-04 09:23:35 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_bridge.c if_ethersubr.c Log: MFC if_ethersubr.c rev. 1.214, if_bridge.c rev. 1.54 Properly initialize args structure before passing it to ipfw_chk(): having

cvs commit: src/sys/netinet ip_input.c

2006-03-04 Thread Oleg Bulyzhin
oleg2006-03-04 09:16:11 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/netinet ip_input.c Log: MFC rev. 1.315 Fix five years old bug in ip_reass(): if we are using 'full' (i.e. including pseudo header) hardware rx checksum offloading

cvs commit: src/sys/netinet ip_input.c

2006-03-04 Thread Oleg Bulyzhin
oleg2006-03-04 09:15:08 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet ip_input.c Log: MFC rev. 1.315 Fix five years old bug in ip_reass(): if we are using 'full' (i.e. including pseudo header) hardware rx checksum offloading

cvs commit: src/sys/dev/bge if_bge.c

2006-02-17 Thread Oleg Bulyzhin
oleg2006-02-17 14:33:35 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: 1) Ignore link events for MII/GMII cards if MI auto-polling disabled. This should fix strange link state behaviour reported for bcm5721 & bcm5704c 2) Clear bge_link fl

cvs commit: src/sys/netinet ip_input.c

2006-02-07 Thread Oleg Bulyzhin
oleg2006-02-07 11:48:10 UTC FreeBSD src repository Modified files: sys/netinet ip_input.c Log: Fix five years old bug in ip_reass(): if we are using 'full' (i.e. including pseudo header) hardware rx checksum offloading ip_reass() fails to calculate TCP/UDP checks

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-02-07 Thread Oleg Bulyzhin
On Tue, Feb 07, 2006 at 08:44:42PM +1100, Bruce Evans wrote: > On Mon, 6 Feb 2006, Nate Lawson wrote: > > >Nate Lawson wrote: > >>Oleg Bulyzhin wrote: > >> > >>>On Mon, Feb 06, 2006 at 02:21:09PM -0800, Nate Lawson wrote: > >>> > >>

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-02-06 Thread Oleg Bulyzhin
On Mon, Feb 06, 2006 at 02:21:09PM -0800, Nate Lawson wrote: > Oleg Bulyzhin wrote: > >On Sun, Feb 05, 2006 at 05:58:17PM -0600, Alan Cox wrote: > >>Unfortunately, it also breaks NFS over UDP. Let me know if you need > >>details. > >> > >>Alan >

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-02-06 Thread Oleg Bulyzhin
On Sun, Feb 05, 2006 at 05:58:17PM -0600, Alan Cox wrote: > On Thu, Feb 02, 2006 at 01:06:37PM +0300, Oleg Bulyzhin wrote: > > On Thu, Feb 02, 2006 at 09:58:32AM +0000, Oleg Bulyzhin wrote: > > > oleg2006-02-02 09:58:32 UTC > > > > > > FreeBSD sr

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-02-05 Thread Oleg Bulyzhin
On Sun, Feb 05, 2006 at 05:58:17PM -0600, Alan Cox wrote: > On Thu, Feb 02, 2006 at 01:06:37PM +0300, Oleg Bulyzhin wrote: > > On Thu, Feb 02, 2006 at 09:58:32AM +0000, Oleg Bulyzhin wrote: > > > oleg2006-02-02 09:58:32 UTC > > > > > > FreeBSD sr

cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

2006-02-05 Thread Oleg Bulyzhin
oleg2006-02-05 18:07:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/bge if_bge.c if_bgereg.h Log: MFC 1.120: 1) Fix link state detection for cards operating in TBI mode (fiber ones) 2) add missing bus_dmamap_sync() call in bge_int

cvs commit: src/sys/net if_bridge.c if_ethersubr.c

2006-02-03 Thread Oleg Bulyzhin
oleg2006-02-03 23:03:08 UTC FreeBSD src repository Modified files: sys/net if_bridge.c if_ethersubr.c Log: Properly initialize args structure before passing it to ipfw_chk(): having uninitialized args.inp is unhealthy for uid/gid/jail ipfw rules. PR:

Re: cvs commit: src/sys/dev/bge if_bge.c

2006-02-02 Thread Oleg Bulyzhin
On Thu, Feb 02, 2006 at 09:58:32AM +, Oleg Bulyzhin wrote: > oleg2006-02-02 09:58:32 UTC > > FreeBSD src repository > > Modified files: > sys/dev/bge if_bge.c > Log: > Enable 'complete' rx checksum offloading (i.e. let chip c

cvs commit: src/sys/dev/bge if_bge.c

2006-02-02 Thread Oleg Bulyzhin
oleg2006-02-02 09:58:32 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: Enable 'complete' rx checksum offloading (i.e. let chip calculate checksums with pseudo header for tcp/udp packets). This could save one in_pseudo() call per incoming tcp

cvs commit: src/sys/dev/bge if_bge.c

2006-02-01 Thread Oleg Bulyzhin
oleg2006-02-01 15:16:04 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: Optimize bge_rxeof() & bge_txeof(): return immediately if there are no packets to process. It could give us [significant?] perfomance increase if there is big difference

cvs commit: src/sys/dev/bge if_bge.c

2006-02-01 Thread Oleg Bulyzhin
oleg2006-02-01 14:41:08 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: Since bge_rxeof() & bge_txeof() depends on status block data it should be synchronized on every call of bge_poll_locked(). Suggested by: Mihail Balikov Approved b

cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

2006-02-01 Thread Oleg Bulyzhin
oleg2006-02-01 14:26:35 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c if_bgereg.h Log: 1) Fix link state detection for cards operating in TBI mode (fiber ones) 2) add missing bus_dmamap_sync() call in bge_intr() Tested by: Husnu Demir

cvs commit: src/sys/netinet ip_fw2.c

2006-01-31 Thread Oleg Bulyzhin
oleg2006-01-31 14:48:03 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/netinet ip_fw2.c Log: MFC 1.124: Fix minor bug in uRPF: if net.link.ether.inet.useloopback=1 and we send broadcast packet using our own source ip address it may be re

cvs commit: src/sys/netinet ip_fw2.c

2006-01-31 Thread Oleg Bulyzhin
oleg2006-01-31 14:46:42 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet ip_fw2.c Log: MFC 1.124: Fix minor bug in uRPF: if net.link.ether.inet.useloopback=1 and we send broadcast packet using our own source ip address it may be re

cvs commit: src/sys/net if_ethersubr.c

2006-01-26 Thread Oleg Bulyzhin
oleg2006-01-26 23:18:11 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/net if_ethersubr.c Log: MFC 1.211: 1) remove useless check of loop_copy 2) convert loop_copy to "non-negative" flag RevisionChangesPath 1.177.2.11

cvs commit: src/sys/net if_ethersubr.c

2006-01-26 Thread Oleg Bulyzhin
oleg2006-01-26 23:16:24 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/net if_ethersubr.c Log: MFC 1.211: 1) remove useless check of loop_copy 2) convert loop_copy to "non-negative" flag Revision ChangesPath 1.193.2.9 +

cvs commit: src/sys/netinet ip_fw2.c

2006-01-24 Thread Oleg Bulyzhin
oleg2006-01-24 13:38:06 UTC FreeBSD src repository Modified files: sys/netinet ip_fw2.c Log: Fix minor bug in uRPF: If net.link.ether.inet.useloopback=1 and we send broadcast packet using our own source ip address it may be rejected by uRPF rules. Same

cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

2006-01-17 Thread Oleg Bulyzhin
oleg2006-01-17 23:01:58 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c if_bgereg.h Log: - Count packets discarded by RX/TX MAC (cause of FIFO overflow, etc) as input/output interface errors. - Keep values of rx/tx discards & tx collisions in

cvs commit: src/sys/dev/bge if_bge.c

2006-01-13 Thread Oleg Bulyzhin
oleg2006-01-13 08:59:40 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: 1) move all link state detection code from bge_tick_locked() to bge_link_upd() 2) use more robust way of link state handling for BCM5700 rev.B2 chip 3) workaround bug of

cvs commit: src/sys/net if_ethersubr.c

2005-12-22 Thread Oleg Bulyzhin
oleg2005-12-22 12:16:20 UTC FreeBSD src repository Modified files: sys/net if_ethersubr.c Log: 1) remove useless check of loop_copy - corresponding code was removed in rev. 1.70 five years ago. 2) convert loop_copy to "non-negative" flag Approved by:

cvs commit: src/sys/dev/bge if_bge.c src/sys/dev/mii brgphy.c

2005-12-08 Thread Oleg Bulyzhin
oleg2005-12-08 13:31:52 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c sys/dev/mii brgphy.c Log: 1) fix tiny bug in bge_start_locked() 2) rework link state detection code & use it in POLLING mode 3) fix 2 bugs in link state detectio

cvs commit: www/en/news news.xml

2005-11-29 Thread Oleg Bulyzhin
oleg2005-11-29 13:16:14 UTC FreeBSD doc repository (src committer) Modified files: en/news news.xml Log: Announce myself as a new committer. Approved by:glebius Revision ChangesPath 1.351 +10 -1 www/en/news/news.xml __

cvs commit: doc/en_US.ISO8859-1/books/handbook/pgpkeys chapter.sgml doc/en_US.ISO8859-1/share/sgml authors.ent doc/en_US.ISO8859-1/articles/contributors contrib.committers.sgml doc/share/pgpkeys oleg.

2005-11-29 Thread Oleg Bulyzhin
oleg2005-11-29 13:09:30 UTC FreeBSD doc repository (src committer) Modified files: en_US.ISO8859-1/books/handbook/pgpkeys chapter.sgml en_US.ISO8859-1/share/sgml authors.ent en_US.ISO8859-1/articles/contributors contrib.committers.sgml share/pgpkeyspgpkeys.e