<div dir="ltr">Normally, if you're doing "single fiber optics" it basically means you have a single color/frequency in one direction, and another color/frequency, which is slightly offset. e.g. They say blue for send, and purple for recieve, or something like that. It's hard to screw it up, but I've definitely tried :)<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 15, 2023 at 4:21 PM Stephen Hemminger <<a href="mailto:stephen@networkplumber.org">stephen@networkplumber.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 15 Oct 2023 10:30:48 +0330<br>
Alireza Sadeghpour <<a href="mailto:alireza0101sadeghpour@gmail.com" target="_blank">alireza0101sadeghpour@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
> <br>
> I am trying to establish a uni-directional Ethernet link where a singular<br>
> fiber is used to transmit data to the receiver in the DPDK environment. The<br>
> Rx of the transmit side and the Tx of the receive side are not physically<br>
> connected, like in a Data diode scenario. The ethernet controller on both<br>
> sides is intel 82580.<br>
> <br>
> my problem is that when I detach the RX line from one side, both sides'<br>
> links go down.<br>
> <br>
> Could anyone please give me some advice to solve this problem and establish<br>
> a valid unidirectional ethernet link?<br>
<br>
This is not a DPDK problem. Trying to non-standard configuration like this<br>
requires detailed knowledge of the hardware registers, and likely driver specific<br>
changes to do that.<br>
<br>
It is possible to bring up device in normal full duplex mode and even setup<br>
the receive queues but ignore them. But that doesn't sound like what you want.<br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Regards,<br></div>Dave Seddon<br>+1 415 857 5102<br></div></div></div></div></div></div>