Re: Ethernet flow control

2008-12-23 Thread Henning Brauer
* Stuart Henderson s...@spacehopper.org [2008-12-17 20:48]:
 On 2008-12-17, Toni Mueller openbsd-m...@oeko.net wrote:
  If someone can recommend a switch that features this kind of control,
  your advice is much welcome, too.
 
 Even cheap web-managed soho switches usually let you set flow
 control on/off per port (allied-telesyn's do for sure). It should
 be a basic feature in all the proper switches with a real CLI
 (all the HP models I have access to, 2510, 2626/2650, 2824, do).

4 replies and nobody managed to answer the relevant part.
flow control is enabled on openbsd whenever the peer supports it; done
in the autonegotiation phase. there is no button to turn it off. why
should there?

i highly doubt toni's problem is related to flow control in any way or
solvable by flow control.

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg  Amsterdam



Re: Ethernet flow control

2008-12-17 Thread Toni Mueller
Hi,

thanks for answering. I have some comments, though:

On Wed, 17.12.2008 at 07:33:19 -0700, Duncan Patton a Campbell 
campb...@neotext.ca wrote:
 On Wed, 17 Dec 2008 13:40:35 +0100 Toni Mueller openbsd-m...@oeko.net wrote:
  I have question regarding Ethernet flow control. It would be nice to be
  able to see and/or adjust the current flow control configuration for
  individual interfaces from the command line, at 100 and 1000MBit/s. My
  interfaces usually use the fxp(4) or em(4) drivers. I dimly remember
  having seen such a thing somewhere (tx_pause,rx_pause), but can't
  find it right now. Checking my machines did not turn up anything.
 
 This sort of thing is usually controlled by firmware and os driver
 access is inherently limited to known good parameters.  To play
 with this stuff you will prob'ly need cards that allow you download
 your own (modded) firmware.

if my dealer is correct, at least some/most/all of the em(4) (server)
cards allow downloading firmware, required for enabling them to netboot
via PXE, or to talk iSCSI instead.

The intel control utility for Windows that came with my 10-years-old
fxp(4) cards allowed to adjusting such parameters (and much more).

In any case, I want control over these parameters to improve
interoperability with (currently) one special application where I only
control one end (GRMPF!).

A sane default seems to be to turn these two parameters on, but I
can't see nor set what's going on.

I have experienced random loss of connectivity with one piece of gear
because the other box (Lucent MetroWAN) seems to sometimes just get
jammed, according to the current theory, and often doesn't recover.

If someone can recommend a switch that features this kind of control,
your advice is much welcome, too.


Kind regards,
--Toni++



Re: Ethernet flow control

2008-12-17 Thread Stuart Henderson
On 2008-12-17, Toni Mueller openbsd-m...@oeko.net wrote:
 If someone can recommend a switch that features this kind of control,
 your advice is much welcome, too.

Even cheap web-managed soho switches usually let you set flow
control on/off per port (allied-telesyn's do for sure). It should
be a basic feature in all the proper switches with a real CLI
(all the HP models I have access to, 2510, 2626/2650, 2824, do).



Ethernet flow control

2008-12-17 Thread Toni Mueller
Hello,

I have question regarding Ethernet flow control. It would be nice to be
able to see and/or adjust the current flow control configuration for
individual interfaces from the command line, at 100 and 1000MBit/s. My
interfaces usually use the fxp(4) or em(4) drivers. I dimly remember
having seen such a thing somewhere (tx_pause,rx_pause), but can't
find it right now. Checking my machines did not turn up anything.


Kind regards,
--Toni++



Re: Ethernet flow control

2008-12-17 Thread Duncan Patton a Campbell
On Wed, 17 Dec 2008 13:40:35 +0100
Toni Mueller openbsd-m...@oeko.net wrote:

 Hello,
 
 I have question regarding Ethernet flow control. It would be nice to be
 able to see and/or adjust the current flow control configuration for
 individual interfaces from the command line, at 100 and 1000MBit/s. My
 interfaces usually use the fxp(4) or em(4) drivers. I dimly remember
 having seen such a thing somewhere (tx_pause,rx_pause), but can't
 find it right now. Checking my machines did not turn up anything.
 

This sort of thing is usually controlled by firmware and os driver
access is inherently limited to known good parameters.  To play
with this stuff you will prob'ly need cards that allow you download
your own (modded) firmware.

Dhu

 
 Kind regards,
 --Toni++