From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 68A542BF6 for ; Sun, 12 Jun 2016 22:27:58 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id n184so53500013wmn.1 for ; Sun, 12 Jun 2016 13:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=commprove.com; s=google; h=from:content-transfer-encoding:subject:message-id:date:to :mime-version; bh=5gWAyrK0DxQ9tfR+UBV6S8PdBGiV0TP7NzoY9HPiYZk=; b=F0FufKDmv2R1z0vZaVCytX2x09+7mckujMHveXvTWrTkGwwUecoEVaZS9g/NzgPWiA Nnr/mbloSSegRoytFMt8vWTW5RPVisjfqeYphn8znzzCr9cfDspVZNwkx4xAxcbUupXD +es7WKqUbPUEzWKqB2QNyaHGIOTjoZc9+NhGk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=5gWAyrK0DxQ9tfR+UBV6S8PdBGiV0TP7NzoY9HPiYZk=; b=UTK9aI5uvd/lJ4tWXRsNKZSuVq/k7eMHqSdRiqV2CT7NWSenq5w7VBqmMRwYFjrZAA YgiEBBcCshK6AqPvHMDP3dVNh5+zUCT+W4lKnODUTtMrcoISy9N/fuSpzXuHTFXePRl0 4wXUDhQDwHpJZspdMzvzQl09aiJoFPCKkexy73UjULH6dGJhzD5INXHWWI8cctqM7nsb tZ176gMlroWSxIpdSfFxUvMXJIuykHzkwXMqz7xaIyml3HkRxJjgXfC3s0A7tYdP/CNN vwkSixJi1KKd1jVlTTH2KX1bLaZtXcCEaKIQ548or7kxkRI5YGjxss2fArWJoU733IRx 0jBg== X-Gm-Message-State: ALyK8tJjMjI3qMk9SYXDC2eHfdEGhwvhAohxfnbS+IQ0pN89VCT6U0F8uQnvSbqKxDr3vA== X-Received: by 10.28.211.137 with SMTP id k131mr7968780wmg.83.1465763277961; Sun, 12 Jun 2016 13:27:57 -0700 (PDT) Received: from [172.16.6.193] (81-174-1-179.v4.ngi.it. [81.174.1.179]) by smtp.gmail.com with ESMTPSA id k3sm23853527wjh.7.2016.06.12.13.27.56 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 12 Jun 2016 13:27:57 -0700 (PDT) From: Andrea Bigagli Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <3878315A-53FD-4721-B527-328FB5C2EFC6@commprove.com> Date: Sun, 12 Jun 2016 22:27:55 +0200 To: users@dpdk.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Subject: [dpdk-users] Is it possible to TX through a port with no RX connected? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2016 20:27:58 -0000 Hi everyone. Moving first steps with DPDK, so forgive my noobness or if this is a = dumb question, but I=E2=80=99ve searched around before posting and = didn=E2=80=99t find anything that could help me. I have 4 Intel 10Gbps cards for a total of 8 RX/TX ports. What I=E2=80=99m trying to do is a kind of =E2=80=9C8->4 = tapping-concentrator=E2=80=9D: 8 fibers are tapped through an optical = splitter and connected to the 8 RX ports, some packet analysis is = performed and based on certain properties of the packets, traffic is = re-routed on only 4 TX ports. The application guarantees that overall input bandwidth is less than = 30Gbps, so using only 4 TXs is not a problem (the balancing is almost = pretty even). The problem I=E2=80=99m facing is that the 8 monitored RX are not always = up. The system being monitored at times shuts down some of those 8 = connections and so on some of the 8 RXs the link goes down, and when = that happens, the corresponding TX stops working. I=E2=80=99m not a great expert of the inner working of the 10Gbps cards, = I=E2=80=99ve skimmed through the 82599 datasheet and tried to play with = some registers (i.e. setting the =E2=80=9CFORCE-LINK-UP=E2=80=9D bit in = the AUTOC register), but couldn=E2=80=99t find a way to keep the TX = ports running without something =E2=80=9Calive=E2=80=9D on the = corresponding RX port. Is there any way (maybe diving down at the PHY layer, which I=E2=80=99m = really not familiar with) to have TX ports working regardless of their = corresponding RX port status? Looping back something in the RX port is not feasible in my case because = the RX port has to be dedicated to the tapped traffic, for when = there=E2=80=99s actually traffic on it. Hope I was able to explain myself, and hope someone could point me in = some direction as I=E2=80=99m totally stuck at the moment. Thanks, Andrea.