From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [5.45.198.243]) by dpdk.org (Postfix) with ESMTP id 6A87F1B2AC for ; Fri, 17 Nov 2017 23:24:11 +0100 (CET) Received: from mxback7o.mail.yandex.net (mxback7o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::21]) by forward102j.mail.yandex.net (Yandex) with ESMTP id E0F7756043F9 for ; Sat, 18 Nov 2017 01:24:10 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback7o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id IkZrHdZPi2-OAWOmMPu; Sat, 18 Nov 2017 01:24:10 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spmail.ru; s=mail; t=1510957450; bh=7+cFKGQRPi4MjYj+DWkhpU1qSo4VoEhbg5qsk6demUw=; h=To:From:Subject:Message-ID:Date; b=Lc2qjJ7Jx1hpUO47jg4mSE6yZoZDRJ8VIRiQkEdCUZ7yVJhPeiI/WBaF/joG/hxwN SI1z77zbnZY/+VBFIVx7H7zJ3Tvm5N+2rHWc/w90XuM/9U93mftpwJM8M8IBWKM1pd Z1iMfrsyfNRXlNG63GzHZMzfLAnI9el9SbvVEu4U= Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ftS6Uc4Non-OASqHB0h; Sat, 18 Nov 2017 01:24:10 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spmail.ru; s=mail; t=1510957450; bh=7+cFKGQRPi4MjYj+DWkhpU1qSo4VoEhbg5qsk6demUw=; h=To:From:Subject:Message-ID:Date; b=Lc2qjJ7Jx1hpUO47jg4mSE6yZoZDRJ8VIRiQkEdCUZ7yVJhPeiI/WBaF/joG/hxwN SI1z77zbnZY/+VBFIVx7H7zJ3Tvm5N+2rHWc/w90XuM/9U93mftpwJM8M8IBWKM1pd Z1iMfrsyfNRXlNG63GzHZMzfLAnI9el9SbvVEu4U= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@spmail.ru To: users@dpdk.org From: =?UTF-8?B?0JDQu9C10LrRgdC10Lkg0KLQtdC70Y/RgtC90LjQutC+0LI=?= Message-ID: Date: Sat, 18 Nov 2017 01:24:08 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: ru Subject: [dpdk-users] Does BONDING_MODE_8023AD is works in 17.11? 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: Fri, 17 Nov 2017 22:24:11 -0000 Greetings. I have issue with link-aggregation in DPDK. My HP A5820X switch does not recive LACP from DPDK application. Has anyone worked with BONDING_MODE_8023AD? I have: DPDK 17.11 HEAD & 11.1-RELEASE-p4 FreeBSD Also I build examples/bond with little changes: --- a/examples/bond/main.c +++ b/examples/bond/main.c @@ -226,7 +226,7 @@ bond_port_init(struct rte_mempool *mbuf_pool)         uint16_t nb_rxd = RTE_RX_DESC_DEFAULT;         uint16_t nb_txd = RTE_TX_DESC_DEFAULT; -       retval = rte_eth_bond_create("bond0", BONDING_MODE_ALB, +       retval = rte_eth_bond_create("net_bonding0", BONDING_MODE_8023AD,                         0 /*SOCKET_ID_ANY*/);         if (retval < 0)                 rte_exit(EXIT_FAILURE, Run it: $ sudo build/bond_app EAL: Sysctl reports 16 cpus EAL: Detected 16 lcore(s) EAL: Contigmem driver has 1 buffers, each of size 32GB EAL: Mapped memory segment 1 @ 0x8023ff000: physaddr:0x800000000, len 34359738368 EAL: PCI device 0000:03:00.0 on NUMA socket 0 EAL:   probe driver: 8086:1521 net_e1000_igb EAL:   0000:03:00.0 not managed by UIO driver, skipping EAL: PCI device 0000:03:00.3 on NUMA socket 0 EAL:   probe driver: 8086:1521 net_e1000_igb EAL:   0000:03:00.3 not managed by UIO driver, skipping EAL: PCI device 0000:05:00.0 on NUMA socket 0 EAL:   probe driver: 8086:10fb net_ixgbe EAL: PCI device 0000:05:00.1 on NUMA socket 0 EAL:   probe driver: 8086:10fb net_ixgbe User device list: PMD: ixgbe_dev_link_status_print():  Port 0: Link Down Port 0 MAC: 90:e2:ba:d0:a3:c4 PMD: ixgbe_dev_link_status_print():  Port 1: Link Down Port 1 MAC: 90:e2:ba:d0:a3:c5 EAL: Initializing pmd_bond for net_bonding0 PMD: Using mode 4, it is necessary to do TX burst and RX burst at least every 100ms. EAL: Create bonded device net_bonding0 on port 2 in mode 4 on socket 0. PMD: ixgbe_dev_link_status_print():  Port 0: Link Down PMD: ixgbe_dev_link_status_print():  Port 1: Link Down Port 2 MAC: 90:e2:ba:d0:a3:c4 Starting lcore_main on core 1:0 Our IP:7.0.0.10 bond6>show 90:e2:ba:d0:a3:c4 90:e2:ba:d0:a3:c5 Active_slaves:0 packets received:Tot:0 Arp:0 IPv4:0 Active slaves always 0. I tried configure bond in testpmd. Same problem. On the switch all ports is in up state but: Received LACP Packets: 0 packet(s)