cvs commit: src/sys/netgraph ng_pppoe.c

2008-03-09 Thread Alexander Motin
mav 2008-03-09 20:05:40 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netgraph ng_pppoe.c Log: MFC rev. 1.93-1.94 Make session ID generator to use session ID hash. Make session ID generator thread-safe. Use more compact LIST instead of

cvs commit: src/sys/netgraph ng_pppoe.c

2008-03-07 Thread Alexander Motin
mav 2008-03-07 17:58:49 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netgraph ng_pppoe.c Log: MFC rev. 1.92-1.93 Make session ID generator to use session ID hash. Make session ID generator thread-safe. Use more compact LIST instead of

cvs commit: src/sys/netgraph ng_pppoe.c

2008-03-03 Thread Alexander Motin
mav 2008-03-03 19:36:03 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Use more compact LIST instead of TAILQ for session hash. Add all listening hooks into LIST to simplify searches. Use ng_findhook() instead of own equal implementation.

cvs commit: src/sys/netgraph ng_pppoe.c

2008-03-02 Thread Alexander Motin
mav 2008-03-02 23:26:35 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Make session ID generator to use session ID hash. Make session ID generator thread-safe. Revision ChangesPath 1.93 +37 -40src/sys/netgraph/ng_pppoe.c

cvs commit: src/sys/netgraph ng_pppoe.c

2008-02-05 Thread Alexander Motin
mav 2008-02-05 19:24:09 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netgraph ng_pppoe.c Log: MFC rev. 1.89-1.91 Implement Session-ID hashing to improve receive performance scalability for big number of concurrent sessions. Revisio

cvs commit: src/sys/netgraph ng_pppoe.c

2008-02-05 Thread Alexander Motin
mav 2008-02-05 19:21:00 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netgraph ng_pppoe.c Log: MFC rev. 1.89-1.91 Implement Session-ID hashing to improve receive performance scalability for big number of concurrent sessions. Revisio

Re: cvs commit: src/sys/netgraph ng_pppoe.c

2008-01-31 Thread Alexander Motin
Benno Rice пишет: benno 2008-02-01 07:17:26 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Band-aid recent commit by mav by replacing a variable in a CTR statement with the variable that appears as if it should've been there. Thanks and s

cvs commit: src/sys/netgraph ng_pppoe.c

2008-01-31 Thread Alexander Motin
mav 2008-02-01 07:25:06 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Tune the message for better informativity. Print the hook pointer as other functions do. Revision ChangesPath 1.91 +2 -1 src/sys/netgraph/ng_pppoe.c

cvs commit: src/sys/netgraph ng_pppoe.c

2008-01-31 Thread Benno Rice
benno 2008-02-01 07:17:26 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Band-aid recent commit by mav by replacing a variable in a CTR statement with the variable that appears as if it should've been there. Pointy hat to: mav

cvs commit: src/sys/netgraph ng_pppoe.c

2008-01-31 Thread Alexander Motin
mav 2008-01-31 22:42:37 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Implement Session-ID hashing to improve receive performance scalability for big number of concurrent sessions. Revision ChangesPath 1.89 +70 -31src/s

cvs commit: src/sys/netgraph ng_pppoe.c

2008-01-29 Thread Alexander Motin
mav 2008-01-29 21:24:28 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netgraph ng_pppoe.c Log: MFC rev. 1.88 Add support for optional "AC-Name\Service-Name" syntax at NGM_PPPOE_CONNECT argument. It allows ppp, mpd or any other node consu

cvs commit: src/sys/netgraph ng_pppoe.c

2008-01-26 Thread Alexander Motin
mav 2008-01-27 02:47:32 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netgraph ng_pppoe.c Log: MFC rev. 1.88 Add support for optional "AC-Name\Service-Name" syntax at NGM_PPPOE_CONNECT argument. It allows ppp, mpd or any other node consu

cvs commit: src/sys/netgraph ng_pppoe.c

2008-01-26 Thread Alexander Motin
mav 2008-01-27 02:45:41 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netgraph ng_pppoe.c Log: MFC rev 1.85-1.86 Remove ng_pppoe_sendpacket() function to simplify code as it is called as much times as it has cases inside of it. Split n

cvs commit: src/sys/netgraph ng_pppoe.c

2007-12-29 Thread Alexander Motin
mav 2007-12-29 19:44:41 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Add support for optional "AC-Name\Service-Name" syntax at NGM_PPPOE_CONNECT argument. It allows ppp, mpd or any other node consumer to request connection to specified a

cvs commit: src/sys/netgraph ng_pppoe.c

2007-12-29 Thread Alexander Motin
mav 2007-12-29 17:38:24 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netgraph ng_pppoe.c Log: MFC rev. 1.87 Fix incorrectly placed bracket in pppoe_find_svc(). Revision ChangesPath 1.74.2.6 +1 -1 src/sys/netgraph/ng_pppo

cvs commit: src/sys/netgraph ng_pppoe.c

2007-12-26 Thread Alexander Motin
mav 2007-12-26 19:33:53 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Fix incorrectly placed bracket in pppoe_find_svc(). Revision ChangesPath 1.87 +1 -1 src/sys/netgraph/ng_pppoe.c __

cvs commit: src/sys/netgraph ng_pppoe.c

2007-12-12 Thread Alexander Motin
mav 2007-12-12 19:14:05 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netgraph ng_pppoe.c Log: MFC rev 1.84-1.85 Remove ng_pppoe_sendpacket() function to simplify code as it is called as much times as it has cases inside of it. Split n

cvs commit: src/sys/netgraph ng_pppoe.c

2007-10-14 Thread Alexander Motin
mav 2007-10-14 09:58:22 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Split ng_pppoe_rcvdata() function into three hook-specific ones to simplify code and reduce stack usage. Revision ChangesPath 1.86 +466 -465 src/sys/net

cvs commit: src/sys/netgraph ng_pppoe.c

2007-10-14 Thread Alexander Motin
mav 2007-10-14 09:51:20 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Remove ng_pppoe_sendpacket() function to simplify code as it is called as much times as it has cases inside of it. Revision ChangesPath 1.85 +39 -79s

cvs commit: src/sys/netgraph ng_pppoe.c

2007-09-26 Thread Alexander Motin
mav 2007-09-26 19:15:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netgraph ng_pppoe.c Log: MFC rev. 1.82-1.84 Fix thread unsafe usage of global pkt_hdr variable. Optimize ether and debug hooks determination. Remove some dead code.

cvs commit: src/sys/netgraph ng_pppoe.c

2007-09-21 Thread Alexander Motin
mav 2007-09-21 08:25:55 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: Dead code removal. Approved by:re (kensmith), glebius (mentor) Revision ChangesPath 1.84 +0 -11 src/sys/netgraph/ng_pppoe.c __

cvs commit: src/sys/netgraph ng_pppoe.c

2007-09-21 Thread Alexander Motin
mav 2007-09-21 08:24:08 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: This is optimization of ether and debug hooks determination. It simplifies code and should speedup pppoe_findsession() function which is called for every incoming packe

cvs commit: src/sys/netgraph ng_pppoe.c

2007-09-21 Thread Alexander Motin
mav 2007-09-21 08:16:35 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: This patch fixes thread unsafe usage of global pkt_hdr variable. Second part is not so important, but IMO is also good. Approved by:re (kensmith), glebius (mento

Re: cvs commit: src/sys/netgraph ng_pppoe.c

2006-08-07 Thread Gleb Smirnoff
On Mon, Aug 07, 2006 at 10:42:29AM +0100, Joao Barros wrote: J> > FreeBSD src repository J> > J> > Modified files: J> >sys/netgraph ng_pppoe.c J> > Log: J> > - Use log(9) instead of printf(9). J> > - Print node ID, where possible. J> > - Prepend log messages with function name, or

Re: cvs commit: src/sys/netgraph ng_pppoe.c

2006-08-07 Thread Joao Barros
On 8/7/06, Gleb Smirnoff <[EMAIL PROTECTED]> wrote: glebius 2006-08-07 08:05:10 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: - Use log(9) instead of printf(9). - Print node ID, where possible. - Prepend log messages with function name, or a

cvs commit: src/sys/netgraph ng_pppoe.c

2006-08-07 Thread Gleb Smirnoff
glebius 2006-08-07 08:05:10 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: - Use log(9) instead of printf(9). - Print node ID, where possible. - Prepend log messages with function name, or at least with "ng_pppoe". Reviewed by:julian

cvs commit: src/sys/netgraph ng_pppoe.c ng_pppoe.h

2006-01-27 Thread Gleb Smirnoff
glebius 2006-01-27 10:56:22 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c ng_pppoe.h Log: o Introduce D-Link compat mode, that is default to off and can be set by NGM_PPPOE_SETMODE message. When D-Link compat mode is on, we will broadcast PADI

Re: cvs commit: src/sys/netgraph ng_pppoe.c

2006-01-26 Thread Gleb Smirnoff
On Thu, Jan 26, 2006 at 08:58:18PM +, Bjoern A. Zeeb wrote: B> >The other change I'm planning to do is the following - if the B> >original PADI had empty Service-Name, and we are servicing a B> >specific Service-Name, then return remove empty one from PADO, B> >returning only our specific Servi

Re: cvs commit: src/sys/netgraph ng_pppoe.c

2006-01-26 Thread Julian Elischer
Bjoern A. Zeeb wrote: On Thu, 26 Jan 2006, Gleb Smirnoff wrote: Hi, some brain-dump... The other change I'm planning to do is the following - if the original PADI had empty Service-Name, and we are servicing a specific Service-Name, then return remove empty one from PADO, returning only our

Re: cvs commit: src/sys/netgraph ng_pppoe.c

2006-01-26 Thread Bjoern A. Zeeb
On Thu, 26 Jan 2006, Gleb Smirnoff wrote: Hi, some brain-dump... The other change I'm planning to do is the following - if the original PADI had empty Service-Name, and we are servicing a specific Service-Name, then return remove empty one from PADO, returning only our specific Service-Name.

Re: cvs commit: src/sys/netgraph ng_pppoe.c

2006-01-26 Thread Julian Elischer
Gleb Smirnoff wrote: On Thu, Jan 26, 2006 at 11:49:08AM -0800, Julian Elischer wrote: J> try not to change the behaviour of the LMI and PPPoE modules too much. J> the modules as they were, were certified by MCI as being complient with J> their J> PPPoE requirements. J> Some of the required beh

Re: cvs commit: src/sys/netgraph ng_pppoe.c

2006-01-26 Thread Gleb Smirnoff
On Thu, Jan 26, 2006 at 11:49:08AM -0800, Julian Elischer wrote: J> try not to change the behaviour of the LMI and PPPoE modules too much. J> the modules as they were, were certified by MCI as being complient with J> their J> PPPoE requirements. J> Some of the required behaviours were odd to me be

Re: cvs commit: src/sys/netgraph ng_pppoe.c

2006-01-26 Thread Julian Elischer
Gleb Smirnoff wrote: try not to change the behaviour of the LMI and PPPoE modules too much. the modules as they were, were certified by MCI as being complient with their PPPoE requirements. Some of the required behaviours were odd to me becasue they were not specified by the spec. (e.g. this

Re: cvs commit: src/sys/netgraph ng_pppoe.c

2006-01-26 Thread Gleb Smirnoff
On Thu, Jan 26, 2006 at 01:06:50PM +, Gleb Smirnoff wrote: T> This change makes FreeBSD AC compatible with D-Link DI-614+ and T> D-Link DI-624+ SOHO routers, and probably others. ... but don't hurry to buy them. The PPPoE part is compatible now with HEAD, and I think will be compatible wit

cvs commit: src/sys/netgraph ng_pppoe.c

2006-01-26 Thread Gleb Smirnoff
glebius 2006-01-26 13:06:50 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: From the RFC2516 it is not clear, what is the correct behavior for a PPPoE AC, servicing a specific Service-Name, when client sends a PADI with an empty Service-Name. S

cvs commit: src/sys/netgraph ng_pppoe.c

2006-01-21 Thread Gleb Smirnoff
glebius 2006-01-21 08:13:19 UTC FreeBSD src repository Modified files: sys/netgraph ng_pppoe.c Log: - Remove debugging printfs. - Add some ktr(4) debugging. - Whitespaces at eols. - Tidy up comments. - u_intXX -> uintXX Revision ChangesPath 1.76 +