From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] examples/ipv4_multicast: enable multicast promiscuous for all port Date: Mon, 29 Oct 2018 03:01:35 +0100 Message-ID: <1715298.C9zz0hs5BT@xps> References: <1539762086-15569-1-git-send-email-wei.zhao1@intel.com> <3E2E5017C928014B90FD7864A64F0B5514F64677@SHSMSX103.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, "Wang, Dong1" , "dev@dpdk.org" , "Zhang, Qi Z" , "Yigit, Ferruh" To: "Zhao1, Wei" Return-path: In-Reply-To: <3E2E5017C928014B90FD7864A64F0B5514F64677@SHSMSX103.ccr.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 24/10/2018 10:50, Wang, Dong1: > Tested it with 82599 PF. > > Acked-by: Wang Dong The correct tag is probably Tested-by > From: Zhao1, Wei > > Add Wang Dong in the mailing list, he has test this patch. > > > > This example has not been enable for receiving multicast packet, so > > > it will drop multicast packet. Users must send packet with ether MAC > > > destination address the same as pf port MAC address, in order to > > > forward packet successfully, but this is an example for forwarding > > > ipv4 multicastpacket. So calling function > > > rte_eth_promiscuous_enable() or rte_eth_allmulticast_enable() can > > > enable promiscuous mode of all multicast packet. And aslo, DPDK has > > > rte API function of rte_eth_dev_set_mc_addr_list() for setting > > > specific multicast filter table for specific multicast IP address, > > > but this example do not support this configuration, so it need to be > > > enable multicast promiscuous mode instead. > > > > > > Signed-off-by: Wei Zhao Applied, thanks