DPDK patches and discussions
 help / color / mirror / Atom feed
From: sujith sankar <sujithsankar2@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] net/bonding - need for 8023ad slave to be in promisc mode
Date: Mon, 27 Feb 2017 13:40:29 +0530	[thread overview]
Message-ID: <CAMTiEwccAxxM11kdk1hR6e2nhxcf4aAXApQgudcg_OYqMAENqg@mail.gmail.com> (raw)

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

             reply	other threads:[~2017-02-27  8:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-27  8:10 sujith sankar [this message]
2017-03-01  6:17 ` sujith sankar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMTiEwccAxxM11kdk1hR6e2nhxcf4aAXApQgudcg_OYqMAENqg@mail.gmail.com \
    --to=sujithsankar2@gmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).