From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f182.google.com (mail-qt0-f182.google.com [209.85.216.182]) by dpdk.org (Postfix) with ESMTP id 0948CF60C; Wed, 11 Jan 2017 20:08:46 +0100 (CET) Received: by mail-qt0-f182.google.com with SMTP id k15so434300501qtg.3; Wed, 11 Jan 2017 11:08:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LjGhtt/b5GxqJ5wz1rqHKDELa1eQR/SHEskvkXd3TEY=; b=Cufm595NbDSiORQbQYNkbStsY4Ok7arkEME8tf+E2EYIPtPRG1tVaFxYR2VeTalOxV BXWOw2ZS683+zILS4zlJ4ActbsEeWLVuASX1QqWo1mPCFdngkJudm98F/jeuaAAMuAxl MoJLJFFcHAJZJL9pVzDd4J+FcyOrBGaDRJcCM/q/BjAht1gk2CLUmfHhMn9z5+5UyTxI x1YtpTWSs9xlCUE2hNjfvgvNrcTeZnj7YY7WDzwtHr89CnB7Wcu+4jqw0N/kSah5B1t4 sFmrwFtKODyJBD3rLvsMZGMZ8lagEtkRZdMjyB59dxARGr5KYR6hzwOGkegkPj0ypMce OlGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LjGhtt/b5GxqJ5wz1rqHKDELa1eQR/SHEskvkXd3TEY=; b=h7pJ+LWp7JREUvlpLSExPd0+mZ2Sig3Zku1wceAPPbDvsUlZ+Y+Z1/FFiRBWEtg1I3 ZUCvd7qWTFs+2UueI/eTU+BusCsxEZeuAWPNHQPZbzvo3MIu/fx84UTaloT1nZWmeRiy oNxHuIWUGOS0qtcNbYompNRkPhoguW6BnDq/rD+VRveDtdG7Yh/kCAnH7ziovChpDzqn LA/Qd0dA/NxceD8x4w4I5bdpwwhvpEjKQJRfjkbaSBt+5n3ROJ0XYYQmh+kRnK2jFdYd BMUmu/AREZh5jnRrwPcUbADi7PBUq3l+m0APp3aA341d4ZSkOgKYljJrx2XddLP2kno1 SxBw== X-Gm-Message-State: AIkVDXKfy2M68CYC4hew4rGMcoUUlpqGneumjU/wuhDaUfDvQJORyLmysAYV3+vs9Nd0kAirhDs9/mfAAn7kwA== X-Received: by 10.200.35.250 with SMTP id r55mr10164761qtr.161.1484161725510; Wed, 11 Jan 2017 11:08:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.145.212 with HTTP; Wed, 11 Jan 2017 11:08:45 -0800 (PST) In-Reply-To: <57835675-A430-40D9-83EC-6B5ADE66D247@intel.com> References: <57835675-A430-40D9-83EC-6B5ADE66D247@intel.com> From: Vincent Li Date: Wed, 11 Jan 2017 11:08:45 -0800 Message-ID: To: "Wiles, Keith" Cc: "users@dpdk.org" , "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Pktgen DPDK net bonding mode 4 802.3AD (LACP) not working with BIGIP trunk with LACP enabled 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, 11 Jan 2017 19:08:46 -0000 On Wed, Jan 11, 2017 at 10:51 AM, Wiles, Keith wrote: > > > On Jan 11, 2017, at 12:08 PM, Vincent Li > wrote: > > > > Hi, > > > > I have direct two cable connections between Pktgen DPDK box and BIGIP > > > > this is a problem I am not sure if it Pktgen, or the DPDK net bonding > mode > > 4 LACP, or the BIGIP trunk with LACP enabled issue, I am hoping someone > > here have more clue and give me some direction on how to trouble shoot > > this. I am suspecting there might some issue between DPDK net bonding > > 8023ad mode 4 and BIGIP trunk LACP mode. I turned > > on CONFIG_RTE_LOG_LEVEL=RTE_LOG_DEBUG and > > defined RTE_LIBRTE_BOND_DEBUG_8023AD > > in drivers/net/bonding/rte_eth_bond_8023ad.c hoping getting more debug > > output in Pktgen, I could not see any debug output for 8023ad protocol. > > I am not going to be much help as I do not and have not used BIGIP. > > I assume you have the Pktgen that supports bonding mode 4. The previous > Pktgen version would not call tx_burst() unless it had something to send, > which the bonding driver requires tx_burst() with zero packets at least at > a given interval. The latest versions do call tx_burst() with zero pkts at > least within the needed timing. > > Yes, I am using latest Pktgen with latest DPDK and run Pktgen like: # ./app/app/x86_64-native-linuxapp-gcc/pktgen -c 0xff --vdev=net_bonding0,mode=4,xmit_policy=l34,slave=0000:04:00.1,slave=0000:04:00.0 -- -P -m [0:1-7].2 also I am not sure where net bonding debug log goes as I added #define RTE_LIBRTE_BOND_DEBUG_8023AD 1 in drivers/net/bonding/rte_eth_bond_8023ad.c and the code has following #ifdef RTE_LIBRTE_BOND_DEBUG_8023AD #define MODE4_DEBUG(fmt, ...) RTE_LOG(DEBUG, PMD, "%6u [Port %u: %s] " fmt, \ bond_dbg_get_time_diff_ms(), slave_id, \ __func__, ##__VA_ARGS__)