From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f44.google.com (mail-it0-f44.google.com [209.85.214.44]) by dpdk.org (Postfix) with ESMTP id C82CB2C8 for ; Wed, 28 Jun 2017 12:52:06 +0200 (CEST) Received: by mail-it0-f44.google.com with SMTP id m84so31050878ita.0 for ; Wed, 28 Jun 2017 03:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qLnGmYxf0EeXPQ2v+zSSt5gJtXJ40FH7E1e5bDZLBV4=; b=it0tM3lHVZ+gFO+rdVePNi0nZzHzQ6Fcdf8UGxUR5pfmSB7MVkeVg+twiUSL46hu1F l4mIOiEYykO2xFKOGy3kF0zNAfWWmhQrLr3N/xHVi99dPUpLM/xq+gu/v+ssaMd3uJSK 2E9Il8dGxb5cZmagTlda9Z7O9vgZk6ZjCGbwuXgwJWrksrorgv/Vy9IRzn3MyPVX4WId DmledU2iPIszd7jT8BnISb30nzBv5PRhvxulGxDQCr3y9BiP5CsIc9GyQBL1g1zSwjgC 1LIDFjvBLmFaUaPI9LDBGbnIQSH6hzON3BhtOkQgQUiU5FdpKBj8zzJtooKjpArAf4+7 OTEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qLnGmYxf0EeXPQ2v+zSSt5gJtXJ40FH7E1e5bDZLBV4=; b=n0n/SROycFfelbjGeEtQdAs0PNneR92FJAmPv6ATUXfyb3yYGHi0QL8VB02aEPSvZQ xMFDQhspr1SYyhYyFN+iEIfUHdQCYSK0w8Dd57gWmniUMoYQKUvOBmTlsBOueXwcBjLv 2eSg2ofRx/PDhqHZx4w0mdquvnjze35mz+hPiIjuLE/ToU9WTS6W5eYHRBRGJEAllcUu Zyekgl+fI1IGcviuJ441OcgN1fBH22KVzytEC5FV6xkJtrBOm6nvt5eT3nLurWqGewOY aqYWw9rabwlsmFZ/e7pSbLAwuJo9jYRD6q59NsdV9MwbBpUKpd1R/ZVIQBnk9kitda+n nVUg== X-Gm-Message-State: AKS2vOyop45gvNW9EpYxCoUmw3Oc61keh672e+/al1x4aJUzWegyad0e FsWF3SjtQH8PZ3++Fy4+iPPJyGKjkcgL X-Received: by 10.36.53.65 with SMTP id k62mr6825359ita.11.1498647125572; Wed, 28 Jun 2017 03:52:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.133.86 with HTTP; Wed, 28 Jun 2017 03:52:05 -0700 (PDT) From: Alex Kiselev Date: Wed, 28 Jun 2017 13:52:05 +0300 Message-ID: To: users Content-Type: text/plain; charset="UTF-8" Subject: [dpdk-users] link bonding driver, lacp mode X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2017 10:52:07 -0000 Hi. I have a couple of questionts abount the link bonding driver. I am using Link Aggregation 802.3AD (mode 4) of the driver. Bonding ports are created using the EAL Command Line parameters. A bond port works fine for some time (about one day), then it stops forwarding packets. Recreating aggregation group on the switch doesn't help. The only way that helps in that situation is restarting my application. Last messages in the syslog are: Jun 26 21:48:35 router the_router.lag[4917]: PMD: Bond 3: slave id 1 distributing started. Jun 26 21:49:01 router the_router.lag[4917]: PMD: Bond 3: slave id 0 distributing started. Jun 28 16:19:00 router the_router.lag[4917]: PMD: Bond 3: slave id 1 distributing started. Jun 28 16:33:18 router the_router.lag[4917]: PMD: Bond 3: slave id 0 distributing started. Jun 28 16:52:38 router the_router.lag[4917]: PMD: Bond 3: slave id 1 distributing started. Jun 28 17:14:50 router the_router.lag[4917]: PMD: Bond 3: slave id 0 distributing started. Jun 28 17:15:30 router the_router.lag[4917]: PMD: Bond 3: slave id 1 distributing started. Jun 28 17:33:04 router the_router.lag[4917]: PMD: Bond 3: slave id 0 distributing started. Jun 28 17:35:18 router the_router.lag[4917]: PMD: Bond 3: slave id 1 distributing started. Jun 28 17:38:50 router the_router.lag[4917]: PMD: Bond 3: slave id 1 distributing started. Jun 28 17:57:25 router the_router.lag[4917]: PMD: Bond 3: slave id 1 distributing started. Jun 28 18:16:51 router the_router.lag[4917]: PMD: Bond 3: slave id 0 distributing started. Jun 28 18:18:54 router the_router.lag[4917]: PMD: Bond 3: slave id 0 distributing started. Jun 28 18:20:52 router the_router.lag[4917]: PMD: Bond 3: slave id 0 distributing stopped. Jun 28 18:20:52 router the_router.lag[4917]: PMD: Bond 3: slave id 1 distributing stopped. Jun 28 18:21:47 router the_router.lag[4917]: PMD: Bond 3: slave id 0 distributing started. Jun 28 18:21:59 router the_router.lag[4917]: PMD: Bond 3: slave id 1 distributing started. Jun 28 13:28:22 router the_router.lag[4917]: PMD: Bond 3: slave id 0 distributing started. So my questionts are: 1) Is the bond driver supposed to automatically recover a bonding link in a situation like that when pysycal links are ok? 2) What could cause a failure of a bonding link? LACPDU timeouts or drops? 3) The dpdk documentation indicates that rte_eth_tx_burst and rte_eth_rx_burst functions should be called with intervals period of less than 100ms. Does it mean that the function should be called even there are no packets to send? What are the correct parameters for rte_eth_tx_burst function in a case when there is no packets to send? Can it be called with the NULL parameter? rte_eth_tx_burst(portid, queueid, NULL, 0); Thank you. Alex Kiselev.