From: "Dey, Souvik" <sodey@rbbn.com>
To: "beilei.xing@intel.com" <beilei.xing@intel.com>,
"jingjing.wu@intel.com" <jingjing.wu@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "users@dpdk.org" <users@dpdk.org>,
Ruinan Hu <ruinan.hu@casa-systems.com>,
Ruinan <huruinan@gmail.com>
Subject: Re: [dpdk-dev] [dpdk-users] i40e VF PMD not getting multicast packets
Date: Tue, 16 Oct 2018 15:11:47 +0000 [thread overview]
Message-ID: <SN2PR03MB21433FFC547F8915F6DECF8CCDFE0@SN2PR03MB2143.namprd03.prod.outlook.com> (raw)
In-Reply-To: <SN2PR03MB2143C77BA1B63E340CABB1FBCDFE0@SN2PR03MB2143.namprd03.prod.outlook.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 5574 bytes --]
Hi Xing/Wu,
I am using dpdk 17.11.2 and i40e kernel driver 2.4.6, and I see all multocast packets are not reaching the VF. Do we support/tested i40evf pmd for v6 support ? Can you please let me know what we need to do extra to make v6 work with i40evf pmd. V4 works fine. I also have rte_eth_allmulticast_enable() enabled but without any success.
--
Regards,
Souvik
From: Dey, Souvik
Sent: Tuesday, October 16, 2018 11:06 AM
To: Ruinan Hu <ruinan.hu@casa-systems.com>; Ruinan <huruinan@gmail.com>
Cc: dev@dpdk.org; users@dpdk.org
Subject: RE: [dpdk-users] i40e VF PMD not getting multicast packets
Hi Ruinan,
In that case, do we say that v6 will not work at all i40evf pmd till trust mode is on ? Yes I do agree that I am able to see the error in the dmesg on the host
âkernel: i40e 0000:83:00.3: Unprivileged VF 1 is attempting to configure promiscuous modeâ , when trust mode is off, but with trust mode on also we are not able to get multicast packets up to the VM. The same works fine with linux i40evf, where the VF is receiving all the multicast packets for V6 ICMPv6 NS .
Any suggestion on what can be required to make v6 multicast work with i40evf ?
Note: I donât think vanilla linux driver (i40evf) is using promiscuous mode to receive multicast packets.
--
Regards,
Souvik
From: Ruinan Hu <ruinan.hu@casa-systems.com<mailto:ruinan.hu@casa-systems.com>>
Sent: Monday, October 15, 2018 3:36 PM
To: Dey, Souvik <sodey@rbbn.com<mailto:sodey@rbbn.com>>; Ruinan <huruinan@gmail.com<mailto:huruinan@gmail.com>>
Cc: dev@dpdk.org<mailto:dev@dpdk.org>; users@dpdk.org<mailto:users@dpdk.org>
Subject: RE: [dpdk-users] i40e VF PMD not getting multicast packets
________________________________
NOTICE: This email was received from an EXTERNAL sender
________________________________
When you set the allmulticast or promiscuous from dpdk, host rejects the request if trust bit it off. You can see the error message from dmesg. I donât know why your kernel i40evf works.
-Ruinan Hu
From: Dey, Souvik <sodey@rbbn.com<mailto:sodey@rbbn.com>>
Sent: Monday, October 15, 2018 3:27 PM
To: Ruinan <huruinan@gmail.com<mailto:huruinan@gmail.com>>; Ruinan Hu <ruinan.hu@casa-systems.com<mailto:ruinan.hu@casa-systems.com>>
Cc: dev@dpdk.org<mailto:dev@dpdk.org>; users@dpdk.org<mailto:users@dpdk.org>
Subject: RE: [dpdk-users] i40e VF PMD not getting multicast packets
Moreover I wanted to mention one more thing, that the issue of multicast packets not working is only with DPDK 140eVF PMD. In case I use the i40evf of the kernel then it is working fine and I donât see any issues with v6. So why is the trust mode a requirement for DPDK pmd ?
From: Dey, Souvik
Sent: Monday, October 15, 2018 2:52 PM
To: Ruinan <huruinan@gmail.com<mailto:huruinan@gmail.com>>
Cc: dev@dpdk.org<mailto:dev@dpdk.org>; users@dpdk.org<mailto:users@dpdk.org>
Subject: RE: [dpdk-users] i40e VF PMD not getting multicast packets
No the trust mode is off currently on the host. I can try with trust mode on too. But I have a doubt, is trust mode mandatory to be turned on to make the VF receive v6 multicast packets ? if yes then how will this work in openstack (i40e VF dpdk) with v6 ?
--
Regards,
Souvik
From: Ruinan <huruinan@gmail.com<mailto:huruinan@gmail.com>>
Sent: Monday, October 15, 2018 2:33 PM
To: Dey, Souvik <sodey@rbbn.com<mailto:sodey@rbbn.com>>
Cc: dev@dpdk.org<mailto:dev@dpdk.org>; users@dpdk.org<mailto:users@dpdk.org>
Subject: Re: [dpdk-users] i40e VF PMD not getting multicast packets
________________________________
NOTICE: This email was received from an EXTERNAL sender
________________________________
Hi,
Did you enable trust mode on vf? If trust is off on host, promiscuous canât enabled from vm.
Ruinan Hu
ruinan.hu@casa-systems.com<mailto:ruinan.hu@casa-systems.com>
(857) 209-1955
> On Oct 15, 2018, at 14:26, Dey, Souvik <sodey@rbbn.com<mailto:sodey@rbbn.com>> wrote:
>
> Hi All,
> I am currently facing issues with getting the multicast IPv6 packets when using the i40evf pmd.
>
> I do see there is a limitation mentioned in the release notes of DPDK that
>
> 16.27. I40e VF may not receive packets in the promiscuous mode
> Description:
> Promiscuous mode is not supported by the DPDK i40e VF driver when using the i40e Linux kernel driver as host driver.
> Implication:
> The i40e VF does not receive packets when the destination MAC address is unknown.
> Resolution/Workaround:
> Use a explicit destination MAC address that matches the VF.
> Affected Environment/Platform:
> All.
> Driver/Module:
> Poll Mode Driver (PMD).
>
>
> Do this mean that multicast promiscuous mode is also not supported ? I am currently facing issues with receiving packets multicast packets for IPv6 which is making IPv6 to fail with i40evf pmd.
> I am currently using 17.11.2 DPDK with the Centos 7.5 and i40e 2.4.6 version on the host. I have the rte_eth_allmulticast_enable() also set for the port but still I see all multicast packets are not reaching the pmd.
> Also if promiscuous mode has to be turned off then how should we add multicast address to the PF from the VF ?
> --
> Regards,
> Souvik
\x16º&¶\x1a&jɨ6¥¢yÞµ;9Ëuë^õß6Ó_\x11zÛ«öØh«&¢xÚçzÔ^qè¯y×ë¢j.·{&¶²Æ x\x1e\b§yÊ&¢ëw²kië,j\b§éàw¢nº×]xÛ¶òvd¢¸\x0f¢Ë_\x1c"¶\x11\x1213âtNÅä\x1dûð\x17èׯvd¢¸\x13¹íz9ËvÓ_5ï]øïí6Ó@I4^qè¯y×ë¢g({X§µêçjW({Yò)íz¹Ú]6Óm¸Õ¼¦j)hºÙò)íz¹Úú,µø±Â+a\x11#\x13>'|\x13@5Ûm\x15;×£·m5ó]ußôãM\x04\r4^qè¯y×ë¢iWë¢{^ݵÓm6Û^·o'({X§µêçjS\x04>º1É;×£·m5ó]ußôãM\x03(\x12 Ú¶êÞ
prev parent reply other threads:[~2018-10-16 15:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-15 18:26 [dpdk-dev] " Dey, Souvik
2018-10-15 18:32 ` [dpdk-dev] [dpdk-users] " Ruinan
2018-10-15 18:52 ` Dey, Souvik
[not found] ` <SN2PR03MB21438DB89F96FAA9F3EA2F61CDFD0@SN2PR03MB2143.namprd03.prod.outlook.com>
2018-10-15 19:35 ` Ruinan Hu
2018-10-16 15:05 ` Dey, Souvik
2018-10-16 15:11 ` Dey, Souvik [this message]
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=SN2PR03MB21433FFC547F8915F6DECF8CCDFE0@SN2PR03MB2143.namprd03.prod.outlook.com \
--to=sodey@rbbn.com \
--cc=beilei.xing@intel.com \
--cc=dev@dpdk.org \
--cc=huruinan@gmail.com \
--cc=jingjing.wu@intel.com \
--cc=ruinan.hu@casa-systems.com \
--cc=users@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).