From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id B3C9858C5 for ; Mon, 5 Dec 2016 03:01:43 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP; 04 Dec 2016 18:01:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,302,1477983600"; d="scan'208,217";a="1077426359" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 04 Dec 2016 18:01:42 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 4 Dec 2016 18:01:41 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 4 Dec 2016 18:01:40 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.239]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0248.002; Mon, 5 Dec 2016 10:01:37 +0800 From: "Lu, Wenzhuo" To: "Dey, Souvik" , "dev@dpdk.org" Thread-Topic: ixgbevf: support multicast packets from PF to VF Thread-Index: AdJMwUeMIovxzxwPQU2ASbR+LZsrlAAABeeQAHZmrXA= Date: Mon, 5 Dec 2016 02:01:37 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC090939355C77@shsmsx102.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] ixgbevf: support multicast packets from PF to VF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 02:01:44 -0000 Hi Souvik, To my opinion, rte_eth_dev_set_mc_addr_list has nothing to do with rte_eth_= allmulticast_enable. rte_eth_allmulticast_enable is enough for the multicas= t packets. I'm curious about the 1, what MAC addresses are set by rte_eth_dev_set_mc_a= ddr_list? 2, What multicast packets are sent? Thanks. Best regards Wenzhuo Lu From: Dey, Souvik [mailto:sodey@sonusnet.com] Sent: Saturday, December 3, 2016 1:28 AM To: dev@dpdk.org; Lu, Wenzhuo Subject: RE: ixgbevf: support multicast packets from PF to VF Adding wenzhuo.lu@intel.com From: Dey, Souvik Sent: Friday, December 2, 2016 12:27 PM To: 'dev@dpdk.org' Subject: ixgbevf: support multicast packets from PF to VF Hi All, I am trying to support multicast packet over SRIOV using ke= rnel PF + DPDK VF(ixgbevf) drivers for ipv6. I am currently using 2.1 DPDK = and found that there was a patch in 16.04 for "ixgbe: support multicast pro= miscuous mode on VF". So I have backported the patch to the 2.1 DPDK but st= ill multicast packets were not coming up to the DPDK app. Then I tried to e= nable the rte_eth_dev_set_mc_addr_list and with the the packets were coming= up properly. Now I have some doubts : 1. Do we have to use both rte_eth_dev_set_mc_addr_list and rte_eth_all= multicast_enable to get the multicast packets. 2. How do we get the mc_addr_list dynamically as I don't see we are us= ing the kni_net_set_rx_mode in rte_kni. Without this the DPDK app will not = have any idea to update the mc_addr_list in the PF. 3. Is there any other patches which I should be using to get this func= tionality working. I am using : DPDK -2.1 Host kernel - 4.4 ( ubuntu) Guest kernel - 3.2 (Debian) Drivers - ixgbe ( for both pf and vf). Thanks in advance for the help and support. -- Regards, Souvik