Re: [e1000-devel] Stablish uni-directional ethernet link

2023-09-27 Thread Alireza Sadeghpour
thank you for the advice,

With setting the FLU bit to one, the link state changes to the UP state
successfully, but I can not receive UDP packets that are sent from the TX
side on the RX side.
I also tried to set the speed with LMS bits to "1 GbE link (no backplane
auto-negotiation)" and "10 GbE serial link (SFI – no backplane
auto-negotiation)".

any advice to solve this problem is appreciated.



On Sat, Jul 29, 2023 at 4:24 AM Jesse Brandeburg 
wrote:

> On 7/28/2023 6:26 AM, Alireza Sadeghpour wrote:
> > Hi, I am trying to establish a uni-directional Ethernet link where a
> > singular fiber is used to transmit data to the receiver where both sides
> > use ixgbe as driver. The Rx of the transmit side and the Tx of the
> receive
> > side are not physically connected, like in a Data diode scenario. The
> > problem is, as soon as I detach the tx line from one side, both side link
> > status goes DOWN. is it possible to mask link status in the ixgbe driver
> to
> > force it to be UP state in both side?
>
> Yes, there is a force-link-up bit, called AUTOC.FLU.
>
> You may have to set some other registers in AUTOC to force link speed, etc.
>
> I'm pretty sure this will work as I've done it in the past, but your
> mileage may vary and this is way outside normal for the linux driver, so
> I can't help you much beyond this email.
>
> If you still need help after trying the above, I recommend you contact
> Intel Support.
>
> Jesse
>

___
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel Ethernet, visit 
https://community.intel.com/t5/Ethernet-Products/bd-p/ethernet-products

Re: [e1000-devel] Stablish uni-directional ethernet link

2023-07-28 Thread Jesse Brandeburg
On 7/28/2023 6:26 AM, Alireza Sadeghpour wrote:
> Hi, I am trying to establish a uni-directional Ethernet link where a
> singular fiber is used to transmit data to the receiver where both sides
> use ixgbe as driver. The Rx of the transmit side and the Tx of the receive
> side are not physically connected, like in a Data diode scenario. The
> problem is, as soon as I detach the tx line from one side, both side link
> status goes DOWN. is it possible to mask link status in the ixgbe driver to
> force it to be UP state in both side?

Yes, there is a force-link-up bit, called AUTOC.FLU.

You may have to set some other registers in AUTOC to force link speed, etc.

I'm pretty sure this will work as I've done it in the past, but your
mileage may vary and this is way outside normal for the linux driver, so
I can't help you much beyond this email.

If you still need help after trying the above, I recommend you contact
Intel Support.

Jesse


___
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel Ethernet, visit 
https://community.intel.com/t5/Ethernet-Products/bd-p/ethernet-products


[e1000-devel] Stablish uni-directional ethernet link

2023-07-28 Thread Alireza Sadeghpour
Hi, I am trying to establish a uni-directional Ethernet link where a
singular fiber is used to transmit data to the receiver where both sides
use ixgbe as driver. The Rx of the transmit side and the Tx of the receive
side are not physically connected, like in a Data diode scenario. The
problem is, as soon as I detach the tx line from one side, both side link
status goes DOWN. is it possible to mask link status in the ixgbe driver to
force it to be UP state in both side?

___
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel Ethernet, visit 
https://community.intel.com/t5/Ethernet-Products/bd-p/ethernet-products