From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/i40evf: add multicast MAC address filtering Date: Wed, 28 Mar 2018 14:52:57 +0100 Message-ID: <207d4b8b-ba73-4e27-9057-f51a8c6212db@intel.com> References: <20180125143622.904-1-olivier.matz@6wind.com> <039ED4275CED7440929022BC67E7061153174E97@SHSMSX103.ccr.corp.intel.com> <53a87807-7ef9-e12f-a4fa-2690e3ebb40a@intel.com> <039ED4275CED7440929022BC67E7061153175795@SHSMSX103.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit To: "Zhang, Qi Z" , Olivier Matz , "dev@dpdk.org" , "Xing, Beilei" , "Lu, Wenzhuo" , Thomas Monjalon Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 284482A66 for ; Wed, 28 Mar 2018 15:53:00 +0200 (CEST) In-Reply-To: <039ED4275CED7440929022BC67E7061153175795@SHSMSX103.ccr.corp.intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 3/28/2018 11:15 AM, Zhang, Qi Z wrote: > Hi Ferruh: > >> -----Original Message----- >> From: Yigit, Ferruh >> Sent: Wednesday, March 28, 2018 6:01 PM >> To: Zhang, Qi Z ; Olivier Matz >> ; dev@dpdk.org; Xing, Beilei >> ; Lu, Wenzhuo >> Subject: Re: [dpdk-dev] [PATCH] net/i40evf: add multicast MAC address >> filtering >> >> On 3/27/2018 2:51 PM, Zhang, Qi Z wrote: >>> >>> >>>> -----Original Message----- >>>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Olivier Matz >>>> Sent: Thursday, January 25, 2018 10:36 PM >>>> To: dev@dpdk.org; Xing, Beilei ; Zhang, Qi Z >>>> ; Lu, Wenzhuo >>>> Subject: [dpdk-dev] [PATCH] net/i40evf: add multicast MAC address >>>> filtering >>>> >>>> Add support the set_mc_addr_list device operation in the i40evf PMD. >>>> >>>> The configured addresses are stored in the device private area, so >>>> they can be flushed before adding new ones. >>>> >>>> Signed-off-by: Olivier Matz >>> >>> Acked-by: Qi Zhang >>> >>> Thanks for enable this! >> >> Hi Qi, >> >> This feature was already documented as supported in i40e_vf.ini which >> seems wrong but now it is supported. >> >> i40e also documents this feature as supported, can you please check if the >> feature is supported there and update i40e.ini if required? > > Do you mean > > " Multicast MAC filter = Y" ? > > My understanding is, though i40e PF/VF doesn't support set_mc_addr_list, but we still can use mac_addr_add to add a multi cast address, so we still have that flag on in i40e.ini. Right, current "mac_addr_add" dev_ops lets setting multicast addresses. In this logic if HW supports setting multicast address PMD may claim this support. Or this may explicitly mean implementing set_mc_addr_list dev_ops in driver. These feature list is to help user / application developer about what to expect and what to not from drivers. A user may expect set_mc_addr_list dev_ops is implemented when this feature documented and it may be confusing when it fails. Overall which information, hw supports setting mc mad address or set_mc_addr_list implemented, adds more value from user point of view? What do you think? > > Regards > Qi > >> >> Thanks, >> ferruh