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 <so...@rbbn.com> Sent: Monday, October 15, 2018 3:27 PM To: Ruinan <hurui...@gmail.com>; Ruinan Hu <ruinan...@casa-systems.com> Cc: dev@dpdk.org; us...@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 <hurui...@gmail.com<mailto:hurui...@gmail.com>> Cc: dev@dpdk.org<mailto:dev@dpdk.org>; us...@dpdk.org<mailto:us...@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 <hurui...@gmail.com<mailto:hurui...@gmail.com>> Sent: Monday, October 15, 2018 2:33 PM To: Dey, Souvik <so...@rbbn.com<mailto:so...@rbbn.com>> Cc: dev@dpdk.org<mailto:dev@dpdk.org>; us...@dpdk.org<mailto:us...@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...@casa-systems.com<mailto:ruinan...@casa-systems.com> (857) 209-1955 > On Oct 15, 2018, at 14:26, Dey, Souvik > <so...@rbbn.com<mailto:so...@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