DPDK patches and discussions
 help / color / mirror / Atom feed
From: Yaacov Hazan <yaacovh@mellanox.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] Bonding Active/Backup mode
Date: Sun, 8 Nov 2015 13:23:47 +0000	[thread overview]
Message-ID: <HE1PR05MB1100A0ED9A9204510CE57C42CE160@HE1PR05MB1100.eurprd05.prod.outlook.com> (raw)

Hi,

I starting to check the bonding mode, and have a few questions about the Active - Backup mode (1).

According to DPDK documentation and that is also what I saw in bond_pmd code. When we configure bond to Active/Backup mode, the bond port gets his MAC from the primary MAC, and the backup slave stay with his original MAC.
When the Active slave go down and the backup slave become (the newly) Active there isn't any change in the MAC address of the bond or the newly Active.
So the primary (active) MAC address is different form the Bond MAC address?
Also, why packets that sent to specific MAC address (the formerly primary salve) will arrived to the new backup (that become primary and active) port if he stay with his original MAC address (not in promiscuous mode).

Another thing that also related is, when you configure promiscuous it is applied only on the Active slave and not on the Backup salve. So the bond get packets with all MAC address (promiscuous mode).
But after the Active slave go down, the code does not reconfigured the promiscuous mode on the new Active slave? So after the Active fall we maybe gets packets on the Backup slave but we are not in promiscuous mode anymore.

Maybe I missed something.. I'll be happy to get some explanation.

Thanks,
Yaacov.

                 reply	other threads:[~2015-11-08 13:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=HE1PR05MB1100A0ED9A9204510CE57C42CE160@HE1PR05MB1100.eurprd05.prod.outlook.com \
    --to=yaacovh@mellanox.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).