From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) by dpdk.org (Postfix) with ESMTP id 9F557FA58 for ; Thu, 19 Jan 2017 20:35:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2046; q=dns/txt; s=iport; t=1484854550; x=1486064150; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=Zu6K707bLaZAf1Vj4uEXCdaz8xKzpQqSjwNxZAJvERI=; b=e8+BlBkq5tK6c8f2DSdvM7tzenex0Wg+KAPhjHym5w0/dmIo6WlRlvmv s2Hxo3JVzsKtvmv9nwiIYnjODltMQzeiHymKAnhCWFJIhg/qOCwoxKaO7 LiLnCLB5i/bdmhNkEvIJ3YPQfRqcpOiaSzwsJSCE81k50Df9U4I2nF8gd w=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DqAQDCFIFY/4QNJK1eGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBgz8BAQEBAR+BaQeDSooIkWWTPIIPggyGIgIagWY/FAECAQEBAQE?= =?us-ascii?q?BAWMdC4RqBiMEDUUQAgEIGgImAgICMBUQAgQOBYkDsAmBazqKSAEBAQEBAQEBA?= =?us-ascii?q?QEBAQEBAQEBAQEBAR2BC4dFCIJhhGCCby2CMQEEm0QBkWQKgW2FD4loSJInAR8?= =?us-ascii?q?4gUYVSgGGJnOIJ4ENAQEB?= X-IronPort-AV: E=Sophos;i="5.33,255,1477958400"; d="scan'208";a="374039795" Received: from alln-core-10.cisco.com ([173.36.13.132]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Jan 2017 19:35:48 +0000 Received: from XCH-RTP-010.cisco.com (xch-rtp-010.cisco.com [64.101.220.150]) by alln-core-10.cisco.com (8.14.5/8.14.5) with ESMTP id v0JJZlIe029789 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 19 Jan 2017 19:35:48 GMT Received: from xch-rtp-008.cisco.com (64.101.220.148) by XCH-RTP-010.cisco.com (64.101.220.150) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 19 Jan 2017 14:35:47 -0500 Received: from xch-rtp-008.cisco.com ([64.101.220.148]) by XCH-RTP-008.cisco.com ([64.101.220.148]) with mapi id 15.00.1210.000; Thu, 19 Jan 2017 14:35:47 -0500 From: "Steve Shin (jonshin)" To: "dev@dpdk.org" CC: "ferruh.yigit@intel.com" Thread-Topic: [PATCH] lib/librte_ether: error handling on MAC address replay Thread-Index: AQHScoSDvjirz66N/USICwkqaeCKdKE//yIA Date: Thu, 19 Jan 2017 19:35:47 +0000 Message-ID: References: <20170119184721.22348-1-jonshin@cisco.com> In-Reply-To: <20170119184721.22348-1-jonshin@cisco.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/f.1a.0.160910 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.155.156.231] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] lib/librte_ether: error handling on MAC address replay 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, 19 Jan 2017 19:35:51 -0000 RGVhciBtYWludGFpbmVyLCANCg0KU29ycnkgdGhhdCBJIGZvcmdvdCB0byBhZGQg4oCcRml4ZXM6 4oCdIGxpbmUgYXMgZm9sbG93czoNCg0KICAgICAgIEZpeGVzOiA0YmRlZmFhZGU2ZDEgKCJldGhk ZXY6IFZNRFEgZW5oYW5jZW1lbnRzIikNCg0KQ2FuIHlvdSBwbGVh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