Re: Down on em fibre doesn't kill Layer 1 ?

2019-04-23 Thread Chris Cappuccio
Rachel Roch [rr...@tutanota.de] wrote:
> 
> Would it be too much to ask to get this functionality implemented ?
> 

No as long as you are asking yourself... Or perhaps, if you are willing to
pay someone else!

> I was dealing with a carrier the other day and we were dealing with bringing 
> up two ports on their network.
> 
> The question came from the remote end "have you shutdown the port as its 
> still showing up on my side", and indeed on the OpenBSD side carrier state 
> was still "active".
> 

This is understandable.

I don't think it would be hard to control the phy to turn the link down. Some
drivers do it, some don't. The only thing that makes it hard is a lack of
documentation in some cases...

Chris



Re: Down on em fibre doesn't kill Layer 1 ?

2019-04-19 Thread Mihai Popescu
> Would it be too much to ask to get this functionality implemented ?

Find an Intel support email and go ahead. They will tell you if it is too much.
Assuming there is possible to switch off the laser diode ...



Re: Down on em fibre doesn't kill Layer 1 ?

2019-04-19 Thread Rachel Roch


Apr 18, 2019, 10:41 AM by s...@spacehopper.org:

> On 2019-04-16, Rachel Roch <> rr...@tutanota.de > > 
> wrote:
>
>> Hi,
>>
>> Is it expected behaviour that ifconfig emX down on a fibre interface doesn't 
>> kill the laser on a GBIC ?
>>
>
> Since ifconfig down doesn't kill link on a copper em(4), I would think it
> is expected from a fibre one too.
>


Would it be too much to ask to get this functionality implemented ?

I was dealing with a carrier the other day and we were dealing with bringing up 
two ports on their network.

The question came from the remote end "have you shutdown the port as its still 
showing up on my side", and indeed on the OpenBSD side carrier state was still 
"active".

It seems to be the expected behaviour that when you put a port into 
"administrative down" mode that it kills the carrier too  (indeed, I witnessed 
this for myself, because the carrier downed their side for me instead as I was 
unable to and I saw the carrier drop on OpenBSD).

Thanks !




Re: Down on em fibre doesn't kill Layer 1 ?

2019-04-18 Thread Stuart Henderson
On 2019-04-16, Rachel Roch  wrote:
> Hi,
>
> Is it expected behaviour that ifconfig emX down on a fibre interface doesn't 
> kill the laser on a GBIC ?

Since ifconfig down doesn't kill link on a copper em(4), I would think it
is expected from a fibre one too.




Down on em fibre doesn't kill Layer 1 ?

2019-04-16 Thread Rachel Roch
Hi,

Is it expected behaviour that ifconfig emX down on a fibre interface doesn't 
kill the laser on a GBIC ?

Rachel