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 AA344A00C3 for ; Mon, 8 Jun 2020 09:32:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D06591BE3D; Mon, 8 Jun 2020 09:32:42 +0200 (CEST) Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by dpdk.org (Postfix) with ESMTP id 38B731BDAE for ; Mon, 8 Jun 2020 09:32:41 +0200 (CEST) Received: by mail-ej1-f49.google.com with SMTP id k11so17111104ejr.9 for ; Mon, 08 Jun 2020 00:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6tuRuD86LNCgZOvIsnzZihaW/lX3IRB/v5LauKBsVOs=; b=kegRLLWWFnelZkHG2kdfzItrHD0pGq7DHZQy3nEJJ9ApKDVxg879uJMPrS/4Z8oA5w WAKIccqBy15RRZKBtq3e7a7H+d8nCH8Gw1i14mOAbChvbGDldH4HW+ekz73lXo++SQBy LBhisndOOlDMT9W7gw3865Zmtgp4GvnnlL6B7Qil9xLqg/biA6qPm3Ve/8b4YNsRVyzi vuTSDFoYaGYAOG2e4993heRbBHmxQK3VKYsxDyCfd/OMo03uHjMW7ATINBz7HUKylTGh u7ZObZ9T8FylpCpTTI+7I6O4W95vGyWf+76j9MRU2fLVMj0XgZv7p32/C2Vxy2J3u58t zGEA== 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=6tuRuD86LNCgZOvIsnzZihaW/lX3IRB/v5LauKBsVOs=; b=osJDGyg4KO25PxnEZh0oD1om//E8Yp7I4E4da4aYTOguLEZpXrQuns2PYcUkRt+oA/ h8fftpkApcWbFYRlUGxVR8lV+N/MQOHsevr3HOZcJrwsqMtaWDu88MwPNN1ret48vMVk Sho80yU8k0k77/pONtPfx7aDI7SSE/oGYk2nazb3ME1Ke6rCKWAOa6CbzmhU2vi25mLa vZ7e1h84zvufNtK2gkNHxUWPYTXygVaOpC4hoLWOaaEKPSWiHUNU3uPiDntIH2/fmWDE sIDMMuueWyB6yeUVLF1rxi+FCsuz8IfW8ss05EzdOZdLlTy6XIU8XrdLELexDem+q5oc UgHA== X-Gm-Message-State: AOAM5302zOPSCxt/tf7a0oCIEEA5izyvDyFe+1XE5CcQwXO0whS1nPeL BDJGRdkPy+TQDcxm1Fs+oG5LIYbQJQDJDkzsEyk= X-Google-Smtp-Source: ABdhPJxj5Pt8jceF3JbJiKZx3O4Yxe7LwlzXpkFzEwRWauKVEKCSIPwkzAoegzj6QHiXQZCkfZGmYUp2T/nvs7F0Rm0= X-Received: by 2002:a17:906:6a0a:: with SMTP id o10mr12340033ejr.192.1591601560809; Mon, 08 Jun 2020 00:32:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?5a2Z5paH5p2w?= Date: Mon, 8 Jun 2020 15:32:29 +0800 Message-ID: To: Jay Rolette 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" Ok, thanks for the clarification. Nic information is support for KNI just when physic nic is ixgbe or igb, so bond cannot get the KNI information such as speed, so the lacp negotiation unsuccessful=E3=80=82 Jay Rolette =E4=BA=8E2020=E5=B9=B46=E6=9C=885=E6=97= =A5=E5=91=A8=E4=BA=94 =E4=B8=8B=E5=8D=888:47=E5=86=99=E9=81=93=EF=BC=9A > 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 an= d > 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 an= y >> 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 >> >