From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 7185C2BC9 for ; Wed, 13 Sep 2017 05:42:40 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Sep 2017 20:42:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,385,1500966000"; d="scan'208";a="151215149" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga006.fm.intel.com with ESMTP; 12 Sep 2017 20:42:38 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 12 Sep 2017 20:42:38 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 12 Sep 2017 20:42:38 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.168]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Wed, 13 Sep 2017 11:42:36 +0800 From: "Xing, Beilei" To: David Harton , "Wu, Jingjing" CC: "dev@dpdk.org" , David Harton Thread-Topic: [PATCH v3] i40e: fix i40evf_add_mac_addr to permit multicast addresses Thread-Index: AQHTLD9fjeY0m2GbOkeIGxwqvACRLaKyJwGQ Date: Wed, 13 Sep 2017 03:42:35 +0000 Message-ID: <94479800C636CB44BD422CB454846E013201C124@SHSMSX101.ccr.corp.intel.com> References: <20170912130210.18288-1-dharton@cpp-rtpbld-31.cpprtplab> <20170913032110.39994-1-dharton@cpp-rtpbld-31.cpprtplab> In-Reply-To: <20170913032110.39994-1-dharton@cpp-rtpbld-31.cpprtplab> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3] i40e: fix i40evf_add_mac_addr to permit multicast addresses 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: Wed, 13 Sep 2017 03:42:40 -0000 > -----Original Message----- > From: David Harton [mailto:dharton@cpp-rtpbld-31.cpprtplab] > Sent: Wednesday, September 13, 2017 11:21 AM > To: Xing, Beilei ; Wu, Jingjing > Cc: dev@dpdk.org; David Harton > Subject: [PATCH v3] i40e: fix i40evf_add_mac_addr to permit multicast > addresses >=20 > From: David Harton >=20 > The i40e maintains a single MAC filter table for both unicast and multica= st > addresses. The i40e_validate_mac_addr function was preventing multicast > addresses from being added to the table via i40evf_add_mac_addr. Fixed > the issue by adjusting the check in i40evf_add_mac_addr. >=20 > Fixes: 4861cde46116 ("i40e: new poll mode driver") > Fixes: 97ac72aa71a9 ("i40e: support setting VF MAC address") >=20 > Signed-off-by: David Harton Acked-by: Beilei Xing