From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) by dpdk.org (Postfix) with ESMTP id 09D922E8B for ; Fri, 8 Sep 2017 14:52:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5186; q=dns/txt; s=iport; t=1504875121; x=1506084721; h=from:to:cc:subject:date:message-id:references: content-transfer-encoding:mime-version; bh=yxUmgMvYh+7yWBSGaq0WC3b0r52o80gCVLIB6cbEdv4=; b=DN+8LAgU3XLU/XIRzJrkqsjc4UJjPIyZKQ844TqF6B4NhOzmLqHYSh4Z 7D1t9sWpENnG/SvM60K3QMsNfqkRoF43o8puvv296/XB8ihUvKzK1cTsT jHsDbyzskhCAvfNP+LcNmlEnsDA5dupvsK45P5P/aPVCVTJoUs4pUQXNy M=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BXAwCKkbJZ/40NJK1cGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBg1qBUicHg3CaQoFxkUKEdIIECoU+HINxVwECAQEBAQECayiFGAE?= =?us-ascii?q?BAQQjBA1FDAQCAQgVAwICIwMCAgIwFAEQAgQBDQUIiimrbIFtOos5AQEBAQEBA?= =?us-ascii?q?QEBAQEBAQEBAQEBAR+BDYIdggKBToULhF0vgnyCYQWgdAKURoIckF5IiTSLAgI?= =?us-ascii?q?RGQGBOAFXgQ13FYYWgU52h18rgQWBDwEBAQ?= X-IronPort-AV: E=Sophos;i="5.42,361,1500940800"; d="scan'208";a="708916" Received: from alln-core-8.cisco.com ([173.36.13.141]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Sep 2017 12:51:59 +0000 Received: from XCH-RCD-018.cisco.com (xch-rcd-018.cisco.com [173.37.102.28]) by alln-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id v88Cpx2D004177 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 8 Sep 2017 12:51:59 GMT Received: from xch-rcd-016.cisco.com (173.37.102.26) by XCH-RCD-018.cisco.com (173.37.102.28) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Fri, 8 Sep 2017 07:51:59 -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; Fri, 8 Sep 2017 07:51:58 -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//+seeCADFyYgA== Date: Fri, 8 Sep 2017 12:51:58 +0000 Message-ID: References: <20170822222146.36912-1-dharton@cisco.com> 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.226.96] 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: Fri, 08 Sep 2017 12:52:01 -0000 SGkgSmluZ2ppbmcvQmVpbGVpLA0KDQpBIGtpbmQgcmVtaW5kZXIgdG8gcmV2aWV3IHRoZSBwYXRj aCBhbmQgdGhlIGRpc2N1c3Npb24gYmV0d2VlbiANCkZlcnJ1aCBhbmQgbXlzZWxmLg0KDQpUaGFu a3MsDQpEYXZlDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGF2aWQg SGFydG9uICh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