From: chenchanghu <chenchanghu@huawei.com>
To: "dev@dpdk.org" <dev@dpdk.org>,
"adrien.mazarguil@6wind.com" <adrien.mazarguil@6wind.com>,
"nelio.laranjeiro@6wind.com" <nelio.laranjeiro@6wind.com>
Cc: "Zhoujingbin (Robin, Cloud Networking)" <zhoujingbin@huawei.com>,
"Zhoulei (G)" <stone.zhou@huawei.com>,
yangleyuan <yangleyuan@huawei.com>
Subject: [dpdk-dev] [disscussion] A problem about dpdk backup-mode bond switching with mlx4 VF devices
Date: Tue, 17 Apr 2018 06:40:20 +0000 [thread overview]
Message-ID: <859E1CB9FBF08C4B839DCF451B09C5032E01348F@dggeml509-mbx.china.huawei.com> (raw)
Hi,
When I used the mlx4 pmd, I meet a problem about mlx4 VF bond switching which bond mod is backup-mode . The detail test is descripted below.
1.Test environmemt infomation:
a. Linux distribution: CentOS
b. dpdk version: dpdk-16.04
c. Ethernet device : mlx4 VF
d. pmd info: mlx4 poll-mode-driver
2.Test step:
a. we bond the mlx4 VF Ethernet device eth7,eth8 into backup-mode by dpdk application. Eth7 and eth8 are both active, and eth7 is the primary device.
b. As we know, the device eth7 , eth8 are also visible by kernel driver mlx4_en.
c. Then we config the Ethernet device eth7 down by the command ' ifconfig eth7 down', the expect result is the bond primary device will not switch.
d. However we find the dpdk bond primary device switch to eth8 by dpdk maintenance interface one time in all 20 test times.
3.Question:
Is the VF up or down State of kernel interface has some relations to user-space state? For example, when ifconfig eth7 down, and the user-space will change to down state too.
Please send your reply to chenchanghu@huawei.com<mailto:chenchanghu@huawei.com>, any suggestion is to be greatefully appreciated.
next reply other threads:[~2018-04-17 6:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-17 6:40 chenchanghu [this message]
2018-04-17 10:07 ` Adrien Mazarguil
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=859E1CB9FBF08C4B839DCF451B09C5032E01348F@dggeml509-mbx.china.huawei.com \
--to=chenchanghu@huawei.com \
--cc=adrien.mazarguil@6wind.com \
--cc=dev@dpdk.org \
--cc=nelio.laranjeiro@6wind.com \
--cc=stone.zhou@huawei.com \
--cc=yangleyuan@huawei.com \
--cc=zhoujingbin@huawei.com \
/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).