From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F248642693; Sun, 1 Oct 2023 16:14:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D8194027E; Sun, 1 Oct 2023 16:14:47 +0200 (CEST) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by mails.dpdk.org (Postfix) with ESMTP id 628A74026F for ; Sun, 1 Oct 2023 16:14:46 +0200 (CEST) Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-536b39daec1so4314833a12.2 for ; Sun, 01 Oct 2023 07:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696169686; x=1696774486; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=DpDC9Ra23XXRUDzUxcI3sK3TbSVe5XN46bhSfvKZwN0=; b=MpRXuQwxdP0gUcdhZPxLFVMU9sKngxdj3J4JnAfCaOBPD59uU+eLI4JofkbBudPyz0 i1hYwpUwC2oSd0WxHN7C2FKuFP4JQ6E0oyoCccre7C0goYtYvCsFZtBGgAkssQoayJ/d 9WBwCuJlPDBin7Z1ZQOqnq89nRkqLuxGxfbK/0o9+nCeUsg0HEpHYLblhbCtT1nfBRuU jwHrZhXgpe1qJXZDHIsgm556jk6ZHNF9207NU3erxCzyRUfqBfKL0lHb9ATdvZ9pSwhm 6P9iY5grD4jV8brY2mOXbpmjkwThpyJS32GnKA49fHMJuzQ2ElM1hwbvZp2Nk9gg664T QM4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696169686; x=1696774486; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DpDC9Ra23XXRUDzUxcI3sK3TbSVe5XN46bhSfvKZwN0=; b=DC5x5FPFt+HEJKRPQyYe9ymbOxQG0vGCmK917FfvB/2buxDOG7pkiZ6tJNuwK1sfk1 jwOsAhCUK4QCbrDIGV5h6SghdzPtlV3aRThSHOEUgoL82Gsxb3Zm/4Acs/A3PZpHCfpW D0GngCen2nQzMOKUL3Ce/5nOuUMN4cwy7qYMuQmtjKv7gxftwho6RR7aa6bQyEe1jXdz XySXIglJjWo0pJJfDxXCkFVWByk0sOQboHzH+lYV+QKhNJQ5tj7tRNhi/DrmYXB6xiKv y7qkiiFIlh7E/VrCWjtRG8TKBlWNH3LODBXAZd3IzdTYMZyXDyFzWDkIRn5TG40e55cj UV1g== X-Gm-Message-State: AOJu0YxNJ9usLVORD9HknWzY1Ofz8fQOjiE5Vwjz0k4d4imnguifMLtV mtv/2t0YJM3XyjvycvTDZ2xmiG89En2nCAtlCanZV3W+KzKkwA== X-Google-Smtp-Source: AGHT+IG5+H8ADKOPAyH6bMyexr91sXfVHpKlrCtQloAijHNI5wfvmtNbp2JZr6ZyPcMb6/qALmsqKzK8+erdWNTa8uw= X-Received: by 2002:aa7:cf92:0:b0:533:795d:8c48 with SMTP id z18-20020aa7cf92000000b00533795d8c48mr8307268edx.10.1696169685424; Sun, 01 Oct 2023 07:14:45 -0700 (PDT) MIME-Version: 1.0 From: Alireza Sadeghpour Date: Sun, 1 Oct 2023 17:44:34 +0330 Message-ID: Subject: Stablish uni-directional ethernet link To: dev@dpdk.org Content-Type: multipart/alternative; boundary="000000000000941f970606a84709" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --000000000000941f970606a84709 Content-Type: text/plain; charset="UTF-8" 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 the 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 ethernet controller on both sides is intel 82599. To force links state to UP(as soon as I detach the TX line from one side, both side link status goes DOWN), i set FLU bit in AUTOC register and also I set the speed with LMS bits in the AUTOC register. Links successfully become UP, but I can not receive UDP packets that are sent from the TX side on the RX side. Any advice to establish a uni-directional sfp link is appreciated. --000000000000941f970606a84709 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi,

I am trying to establi= sh a uni-directional Ethernet link where a singular fiber is used to transm= it data to the receiver where both sides use ixgbe as the driver. The Rx of= the transmit side and the Tx of the receive side are not physically connec= ted, like in a Data diode scenario. the ethernet controller on both sides i= s intel 82599.

To force links state to UP(as soon = as I detach the TX line from one side, both side link status goes DOWN), i = set FLU bit in AUTOC register and also I set the speed=C2=A0with LMS bits i= n the AUTOC register.

Links successfully become UP, bu= t I can not receive UDP packets that are sent from the TX side on the RX si= de.

Any advice to establish a uni-directional sfp li= nk is appreciated.

--000000000000941f970606a84709--