From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hariprasad Shenai Subject: Re: [PATCH net-next 2/3] cxgb4/cxgb4vf: Add set VF mac address support Date: Thu, 30 Jun 2016 20:45:11 +0530 Message-ID: <20160630151510.GA20137@hari-Latitude-E5550> References: <1467284449-28499-1-git-send-email-hariprasad@chelsio.com> <1467284449-28499-3-git-send-email-hariprasad@chelsio.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Miller , "stephen@networkplumber.org" , netdev , "leedom@chelsio.com" , "nirranjan@chelsio.com" , "kumaras@chelsio.com" To: Yuval Mintz Return-path: Received: from [12.32.117.8] ([12.32.117.8]:15276 "EHLO stargate3.asicdesigners.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752511AbcF3PwU (ORCPT ); Thu, 30 Jun 2016 11:52:20 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Jun 30, 2016 at 13:13:15 +0000, Yuval Mintz wrote: > > + /* verify MAC addr is valid */ > > + if (!is_zero_ether_addr(mac) && !is_valid_ether_addr(mac) && > > + is_multicast_ether_addr(mac)) { > > This is really odd as verification goes; Currently this is a very elaborate > way of checking for multicast, but I guess it's probably a mistake. > My bad, will send a V2