From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) by dpdk.org (Postfix) with ESMTP id 78D6E6CB5 for ; Wed, 1 Mar 2017 07:17:57 +0100 (CET) Received: by mail-io0-f178.google.com with SMTP id l7so24654700ioe.3 for ; Tue, 28 Feb 2017 22:17:57 -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; bh=aWXaNd9hszmFJ4r7zUEDfDBZnesiFZdNla6qNZCSvP4=; b=eTU7uHSU95nENcjoljTGaXqlmzlxSqRR2rLUOJFdmPlORm6FfCuqcwlCJNiHFiosHL g92Y7B45VcFSwu2gMQFv4xZhWbrnUI4+rJaLo8skfxQDHji9n+l6EcS1YJ5UDwnn1g6i CUoPP/zH3VIh0g0K3r+t0McluG8iW2zjNssBR33F4w+hRQlFOxFHke+/DDkHpmC14MVn x0vErNTdTIF5AKu30AGa6ttevYK5Vx/r6Cl1HBtI5hgoizfLgM89DhehkyLxoI0ANbPW THTcHKSb7t3PKJWam7Zrn+wup0ezo4Gbyz29294Ht+00YxxqbFG6/cGZ5GWLSkN+qnFz vneQ== 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; bh=aWXaNd9hszmFJ4r7zUEDfDBZnesiFZdNla6qNZCSvP4=; b=IqEX9n+xs+g1ATgP1I9LPidFvyRITFoQWebaU1BqIxXiaVZOB1PVXHuLZzRETcerH0 9Z9smkCxardAVs8X5fuNJvwxqHps34NgLpOmG39EG2q6mRWm3xvAaHAxJSckwPXuiVM7 al7dF8i9QBGGbdzx3MPP52PjCc6oOicxCkHNsBRlodAFMFCB7pPB8YD7ArXtQdsImtTG Ris5pLV3+Czx0BmaMXrVIrbRs+TX0XZf9Co/lPawDKKNPqW57XfFEokvwTO3x1c9Hcyt pOcPOaw3toRbS6fcQj3utWvVnjhfFz5kqGRJXWfJgr/UOeNqp7l7Hwz+06QmNZRJCHky uB6Q== X-Gm-Message-State: AMke39lMWQUNCkXpVja97jUNCumhXDyzxRA6ht+cYMH2q+oXYZMZWMCFPDtU+748a4I3/FYpyuvH5yw78chp7A== X-Received: by 10.107.147.67 with SMTP id v64mr5990284iod.120.1488349076696; Tue, 28 Feb 2017 22:17:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.129.149 with HTTP; Tue, 28 Feb 2017 22:17:56 -0800 (PST) In-Reply-To: References: From: sujith sankar Date: Wed, 1 Mar 2017 11:47:56 +0530 Message-ID: To: dev@dpdk.org, declan.doherty@intel.com Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-dev] net/bonding - need for 8023ad slave to be in promisc mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2017 06:17:57 -0000 Hi Declan, Got your name from the maintainers' list. Could you please help me with this? Thanks, -Sujith On Mon, Feb 27, 2017 at 1:40 PM, sujith sankar wrote: > Hi folks, > > Could someone clarify the need to put mode 4 bonding slaves in promiscuous > mode? > > 840 void > 841 bond_mode_8023ad_activate_slave(struct rte_eth_dev *bond_dev, uint8_t > slave_id) > 842 { > . > . > . > 878 /* use this port as agregator */ > 879 port->aggregator_port_id = slave_id; > 880 rte_eth_promiscuous_enable(slave_id); > > > The Linux kernel mode bonding driver gets it working by assigning the > bond/primary slave MAC address to the rest of the slaves. Is there a reason > for not using this method? > > I tried this using my app on DPDK 16.04 on 82599, but could not get rx > working. It would be great if someone could help me with this. > > Thanks, > -Sujith