cvs commit: src/sys/dev/fxp if_fxp.c

Daniel C. Sobral dcs at tcoip.com.br
Fri May 16 07:55:08 PDT 2003


Robert Watson wrote:
> rwatson     2003/05/15 18:13:17 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/fxp          if_fxp.c 
>   Log:
>   Add a tunable/sysctl "hw.fxp_noflow" which disables flow control support
>   on if_fxp cards.  When flow control is enabled, if the operating system
>   doesn't acknowledge the packet buffer filling, the card will begin to
>   generate ethernet quench packets, but appears to get into a feedback
>   loop of some sort, hosing local switches.  This is a temporary workaround
>   for 5.1: the ability to configure flow control should probably be
>   exposed by some or another management interface on ethernet link layer
>   devices.

Looks like a mediaopt candidate to me. Though mediaopt is usually only 
used for half/full-dulpex, there's the "link0" specification on some 
cards that does something different.

Alas, all the interface "capabilities" ought to be tweakable in some 
standard fashion. For instance, why are special words for txcsum and 
txcsum, when there's also vlan-tagging support and other capabilities 
that could be set/unset from a single place?

I'm in favor of mediaopt/-mediaopt, but... <shrug>

-- 
Daniel C. Sobral
Gerência de Operações
Divisão de Comunicação de Dados
Coordenação de Segurança
VIVO Centro Oeste Norte
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail:	Daniel.Capo at tco.net.br
	Daniel.Sobral at tcoip.com.br
	dcs at tcoip.com.br




More information about the cvs-src mailing list