From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752969AbcFNR6I (ORCPT ); Tue, 14 Jun 2016 13:58:08 -0400 Received: from AUSXIPPS310.us.dell.com ([143.166.148.211]:13657 "EHLO ausxipps310.us.dell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752662AbcFNR6F convert rfc822-to-8bit (ORCPT ); Tue, 14 Jun 2016 13:58:05 -0400 DomainKey-Signature: s=smtpout; d=dell.com; c=nofws; q=dns; h=X-LoopCount0:X-IronPort-AV:From:To:CC:Subject: Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language: X-MS-Has-Attach:X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader:x-originating-ip: Content-Type:Content-Transfer-Encoding:MIME-Version: Return-Path; b=V+6u23CUqWIkr4736vodfUJ6k7+vGeUIpopuAs1tYFU0Cqs0x+NjaSBX l0LJw3DmtzGlH/QyCA8ekv2Irtxt93ABCd0VHSzBbh/US6rzXUZDtdUFL LZBdd6I67tZbHKsjRUouTw7Oe8GkDM+Fic0kElRIdOUuVLowIVOU/x90C I=; X-LoopCount0: from 10.175.216.250 X-IronPort-AV: E=Sophos;i="5.26,471,1459832400"; d="scan'208";a="327818356" From: To: CC: , , , , , , , Subject: RE: [PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD Thread-Topic: [PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD Thread-Index: AQHRwOmaCsYXCAkS0k2cIAYu9FvIC5/kHLcAgACkH4CAACJkAIAEoj4AgAADY4CAAAILAP//rGRAgABdhQD//7VuMA== Date: Tue, 14 Jun 2016 17:58:02 +0000 Message-ID: References: <1465323757-7249-1-git-send-email-mario_limonciello@dell.com> <201606141828.10969@pali> <20160614164017.GB14477@kroah.com> <201606141847.36109@pali> <20160614172304.GB4914@lunn.ch> In-Reply-To: <20160614172304.GB4914@lunn.ch> 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.208.89.195] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Andrew Lunn [mailto:andrew@lunn.ch] > Sent: Tuesday, June 14, 2016 12:23 PM > To: Limonciello, Mario > Cc: pali.rohar@gmail.com; gregkh@linuxfoundation.org; > davem@davemloft.net; hayeswang@realtek.com; linux- > kernel@vger.kernel.org; netdev@vger.kernel.org; linux- > usb@vger.kernel.org; anthony.wong@canonical.com > Subject: Re: [PATCH v6] r8152: Add support for setting pass through MAC > address on RTL8153-AD > > > > It is same, how to handle two network cards which tell us, that they > > > have same MAC addresses. > > > > > > > The kernel handles this just fine. In doing this patch I checked to see > > what it does in that scenario. Two devices are made. systemd doesn't > > rename the second device via the MAC name (eg enxAABBCCDDEEFF). > > What does you dhcp server do? Does it gives out the same IP address? > You then have two interfaces on the same network, with the same MAC > address and IP address. Then what happens? > > Andrew I didn't test it on the same network, I used two separate networks. I expect that the DHCP server would be awfully confused and you'd run down an interesting problem path if it got the same MAC twice.