From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 20244A00C5 for ; Fri, 5 Jun 2020 14:47:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 58F7E1D508; Fri, 5 Jun 2020 14:47:50 +0200 (CEST) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) by dpdk.org (Postfix) with ESMTP id DF26C1D453 for ; Fri, 5 Jun 2020 14:47:48 +0200 (CEST) Received: by mail-lj1-f173.google.com with SMTP id e4so11607649ljn.4 for ; Fri, 05 Jun 2020 05:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infinite-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RgQcGueg8VA19NoR954yHKHiysmmyoQgsX5ppjhAH/s=; b=qF4a464dfJYXHbSsyBQASzmaviMNdbnw0eejfjf1qbBZEiXFi5R+gsj67na2262zY/ rLzKhI/x09Lgty4FEmbXd3K3Pm6kgGY2I+TBaartjS4BuNY1zIU/F0Zn6GqSBzSpGUWt QctpOptlDurMltO/e8YNUzZVVlRp3nL/pI5TwQzCEOljEmSnLuRYdysBeY+H693/qzWY X70KbZ8tLBQ+fmR5TTTp9xOPZMqDv2pcFZih32YGom3JVDUDFYsc1qrXonXpui0YZxqW VcTuw9ZJH3oM6nspNEhLEtiqF3RnFNg/wYjkooXh7+c2Fwcnkp/2sA7LSG2sz9RgAuIE Xj+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RgQcGueg8VA19NoR954yHKHiysmmyoQgsX5ppjhAH/s=; b=ZYrY3mMpb1VDLaVmn03yGX1gjxBsHGt/AwWdRlZSHL2wUVn8itZhE5mjZTYWnbODhI LFFcRqLD/+Z0yorURRpnL3VPwbKfomtQut8H0Xp+5SJDGrV3D9+kWwqyBUVTNQzoXlBT 7G5AwWrSWLY8b3B1py6bib7nSvDxjdqlLQdaOnCJgAHD4tvsnZix6UBVagApVSUIRqcV kL6K99BQQ51CXxGziCDLbNAf72Cp3lV0dC+ECUFM8DTcLI6j9LoxZ9oEFz43V45EUvAj EC36Trzlvz9YAd0tsexB+ZhiyFno5LvGKwzdwZ12g4K55RFFRD6p2rGpWUgE4x7h0rW4 AXfQ== X-Gm-Message-State: AOAM5338FlnBYcEJrEZloe0idL+0E+rhfh3LaGhg1ASqfa/PkbcpRia2 ROceFuVhNnoF4dzc00qy+y6BqKY0vT3jBLKtL9UW2Q== X-Google-Smtp-Source: ABdhPJwoR6whVJ6wc5nhyw3RIGb+17XbL/uBDT9JbJOfLz/DybZcEdadg1sndMvY2seZYDnlycClSdAORyd38ZjEVuU= X-Received: by 2002:a05:651c:228:: with SMTP id z8mr4548088ljn.202.1591361268398; Fri, 05 Jun 2020 05:47:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jay Rolette Date: Fri, 5 Jun 2020 07:47:38 -0500 Message-ID: To: =?UTF-8?B?5a2Z5paH5p2w?= Cc: users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] 802.3ad bonding kni ports 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: , Errors-To: users-bounces@dpdk.org Sender: "users" I'm not sure how that would work. LACP is a point-to-point protocol. The negotiation with the switch for a bond/LAG would be between the switch and DPDK. KNI is a third-party, so no good way for it to participate directly. Jay On Thu, Jun 4, 2020 at 3:58 AM =E5=AD=99=E6=96=87=E6=9D=B0 wrote: > HI, All. > > Now, I bonding two kni ports use mode 802.3ad, and the lacp link > aggregation > failed, does kni ports support lacp link aggregation? > > error info: > kernel: bond0: Warning: No 802.3ad response from the link partner for any > adapters in the bond > > bond step: > ip link del bond0 > ip link add bond0 type bond mode 802.3ad > ifconfig vnic0 down > ifconfig vnic1 down > ifconfig vnic1 hw ether b8:59:9f:1b:01:5a > ip lin set vnic1 master bond0 > ip lin set vnic0 master bond0 > ifconfig vnic0 up > ifconfig vnic1 up > ifconfig bond0 up > > bond status: > Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) > > Bonding Mode: IEEE 802.3ad Dynamic link aggregation > Transmit Hash Policy: layer2 (0) > MII Status: up > MII Polling Interval (ms): 0 > Up Delay (ms): 0 > Down Delay (ms): 0 > > 802.3ad info > LACP rate: slow > Min links: 0 > Aggregator selection policy (ad_select): stable > System priority: 65535 > System MAC address: b8:59:9f:1b:01:5a > Active Aggregator Info: > Aggregator ID: 1 > Number of ports: 1 > Actor Key: 0 > Partner Key: 1 > Partner Mac Address: 00:00:00:00:00:00 > > Slave Interface: vnic1 > MII Status: up > Speed: Unknown > Duplex: Unknown > Link Failure Count: 0 > Permanent HW addr: b8:59:9f:1b:01:5a > Slave queue ID: 0 > Aggregator ID: 1 > Actor Churn State: none > Partner Churn State: churned > Actor Churned Count: 0 > Partner Churned Count: 1 > details actor lacp pdu: > system priority: 65535 > system mac address: b8:59:9f:1b:01:5a > port key: 0 > port priority: 255 > port number: 1 > port state: 77 > details partner lacp pdu: > system priority: 65535 > system mac address: 00:00:00:00:00:00 > oper key: 1 > port priority: 255 > port number: 1 > port state: 1 > > Slave Interface: vnic0 > MII Status: up > Speed: Unknown > Duplex: Unknown > Link Failure Count: 0 > Permanent HW addr: f6:5e:dc:c3:74:6f > Slave queue ID: 0 > Aggregator ID: 3 > Actor Churn State: churned > Partner Churn State: churned > Actor Churned Count: 1 > Partner Churned Count: 1 > details actor lacp pdu: > system priority: 65535 > system mac address: b8:59:9f:1b:01:5a > port key: 0 > port priority: 255 > port number: 2 > port state: 69 > details partner lacp pdu: > system priority: 65535 > system mac address: 00:00:00:00:00:00 > oper key: 1 > port priority: 255 > port number: 1 > port state: 1 >