From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) by dpdk.org (Postfix) with ESMTP id DC8AAF94 for ; Thu, 31 Aug 2017 18:04:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5050; q=dns/txt; s=iport; t=1504195444; x=1505405044; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=jyPiWDAzP63YlkJyWfdlow0aSok4DnM7enzJslpi9EY=; b=J16lxHM4JGMGU9MP5pqpHlD3aMVMrOnuuVKjYSIlUHGWZsibJhW8enbk jWKU0RuFduCnay6Zs+tREuEOHzGkr+mPxiWyKu7gXhPZIWn9ygqbwZOQA F+MDShskDJEzgK+Xx8WLwfLmXCtILyuxkyri8e0XPL3EpXoPUwVZDndbW U=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CYAAAZMqhZ/4cNJK1eGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBg1qBeQeOEJAegXGRQoRlDoIEhUcCGoN0PxgBAgEBAQEBAQFrKIU?= =?us-ascii?q?YAQEBAQIBIwQNRQwEAgEIEQQBAQECAiMDAgICMBQBCAgCBAENBQiKIQiuMYFtO?= =?us-ascii?q?otfAQEBAQEBAQEBAQEBAQEBAQEBAQEBHYENgh2CAoFOhQuEXS+CfIJhBaBvApR?= =?us-ascii?q?GghyQW0iJMIxMAR84gQ13FYYWgU52iA0rgQWBDwEBAQ?= X-IronPort-AV: E=Sophos;i="5.41,453,1498521600"; d="scan'208";a="479632606" Received: from alln-core-2.cisco.com ([173.36.13.135]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 31 Aug 2017 16:04:02 +0000 Received: from XCH-ALN-020.cisco.com (xch-aln-020.cisco.com [173.36.7.30]) by alln-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id v7VG421Q029309 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 31 Aug 2017 16:04:02 GMT Received: from xch-rcd-016.cisco.com (173.37.102.26) by XCH-ALN-020.cisco.com (173.36.7.30) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 31 Aug 2017 11:04:01 -0500 Received: from xch-rcd-016.cisco.com ([173.37.102.26]) by XCH-RCD-016.cisco.com ([173.37.102.26]) with mapi id 15.00.1263.000; Thu, 31 Aug 2017 11:04:01 -0500 From: "David Harton (dharton)" To: Ferruh Yigit , "jingjing.wu@intel.com" , "beilei.xing@intel.com" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] i40e: fix i40e_validate_mac_addr to permit multicast addresses Thread-Index: AQHTG5US61d7SHDr6Eam8uZMLsGejaKe/0CA//+seeA= Date: Thu, 31 Aug 2017 16:04:01 +0000 Message-ID: References: <20170822222146.36912-1-dharton@cisco.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.82.235.18] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] i40e: fix i40e_validate_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: Thu, 31 Aug 2017 16:04:04 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRmVycnVoIFlpZ2l0IFtt YWlsdG86ZmVycnVoLnlpZ2l0QGludGVsLmNvbV0NCj4gU2VudDogVGh1cnNkYXksIEF1Z3VzdCAz MSwgMjAxNyAxMTo1NCBBTQ0KPiBUbzogRGF2aWQgSGFydG9uIChkaGFydG9uKSA8ZGhhcn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