Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1429137

RE: [PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD

Path csiph.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From <Mario_Limonciello@Dell.com>
Newsgroups linux.kernel
Subject RE: [PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD
Date Thu, 23 Jun 2016 00:20:01 +0200
Message-ID <rMYF3-TY-3@gated-at.bofh.it> (permalink)
References <rJZnY-7g4-11@gated-at.bofh.it> <rJZHj-7nr-9@gated-at.bofh.it> <rJZHk-7nr-31@gated-at.bofh.it> <rK1pL-88-9@gated-at.bofh.it>
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: 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=LmdZ0apllWzWex764ThygAoBBFsG3x+mRA+xrQgZN6hjrsTc9onY5VyB E9DKZTydSMIBV9rhZ2Wn9AnzZLYgWzf1Dd4tacglVbAt6pxKJOPqw9VDV aOyUiFFoEQdKHYI375vTRfUNbE8di8r9qwamfoZYRVvH9JIoEPPI3Ir+J o=;
Dkim-Signature v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1466633478; x=1498169478; h=from:to:cc:subject:date:message-id:references: content-transfer-encoding:mime-version; bh=c5Me9yXWGdUJ77n6H0OYaHnGHXyjkTgLOD31j1nSQB0=; b=mxEG6rwDQoY+hW+DBIFxN2DAVvVu47cZxKA0N3QrXv0LHSlhk+3y5vAc PpG5MxdJlpd6f/NGQ1FnVwMV3vlGoxAxQGeOaUNkQvNR5pfz4SJtwuDop AASHVt8RcS9SutHl217MASrataMdBtJStRyuyGfsOAa3KlNftehhLFjR2 Q=;
X-Loopcount0 from 10.175.216.250
X-Ironport-Av E=Sophos;i="5.26,509,1459832400"; d="scan'208";a="948374386"
Thread-Topic [PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD
Thread-Index AQHRwOmaCsYXCAkS0k2cIAYu9FvIC5/kHLcAgACkH4CAACJkAIAEoj4AgAADY4CAAAILAIAAHhuA///nkWCADJJNcA==
Accept-Language en-US
Content-Language en-US
X-Ms-Exchange-Transport-Fromentityheader Hosted
X-Originating-IP [10.208.89.195]
Content-Type text/plain; charset="iso-8859-1"
Content-Transfer-Encoding 8BIT
MIME-Version 1.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 57
Organization linux.* mail to news gateway
X-Original-Cc <gregkh@linuxfoundation.org>, <andrew@lunn.ch>, <hayeswang@realtek.com>, <linux-kernel@vger.kernel.org>, <netdev@vger.kernel.org>, <linux-usb@vger.kernel.org>, <anthony.wong@canonical.com>
X-Original-Date Wed, 22 Jun 2016 22:11:17 +0000
X-Original-Message-ID <c1292dba89864fd0a931aa160aaed7eb@ausx13mpc124.AMER.DELL.COM>
X-Original-References <201606141828.10969@pali> <20160614164017.GB14477@kroah.com> <201606141847.36109@pali> <20160614.143521.2085426866285759820.davem@davemloft.net>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1429137

Show key headers only | View raw


> -----Original Message-----
> From: Limonciello, Mario
> Sent: Tuesday, June 14, 2016 5:27 PM
> To: 'David Miller' <davem@davemloft.net>; pali.rohar@gmail.com
> Cc: gregkh@linuxfoundation.org; andrew@lunn.ch;
> 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
> 
> > -----Original Message-----
> > From: David Miller [mailto:davem@davemloft.net]
> > Sent: Tuesday, June 14, 2016 1:35 PM
> > To: pali.rohar@gmail.com
> > Cc: gregkh@linuxfoundation.org; andrew@lunn.ch; Limonciello, Mario
> > <Mario_Limonciello@Dell.com>; 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
> >
> > From: Pali Rohár <pali.rohar@gmail.com>
> > Date: Tue, 14 Jun 2016 18:47:36 +0200
> >
> > > You have never seen two ethernet cards with same MAC addresses?
> Right
> > I
> > > have not seen two USB, but there is non zero chance that could happen.
> >
> > It would be an error scenerio, and something to be avoided.
> >
> > It is a valid and correct assumption that one is able to put
> > several devices at the same time on the same physical network
> > and expect it to work.
> >
> > The behavior added by the change in question invalidates that.
> >
> > I'm trying to consider the long term aspects of this, which is that if
> > more devices adopt this scheme we're in trouble if we blindly
> > interpret the MAC address in this way.
> >
> 
> Do you mean if other manufacturers start to ship devices with
> RTL8135-AD's w/ this pass through bit set and people start to try to
> mix and match?
> 
> > This firmware MAC property facility seems to be designed with only an
> > extremely narrow use case being considered.
> 
> Yes, as I understand it this is the reason that it's only on such specific devices
> that the mac address pass through bit is actually set on the efuse.

David,

Did you have any more thoughts about this?  I'm happy to make some other
adjustments to the patch, if you have some recommendations.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v6] r8152: Add support for setting pass through MAC  address on RTL8153-AD David Miller <davem@davemloft.net> - 2016-06-11 19:50 +0200
  RE: [PATCH v6] r8152: Add support for setting pass through MAC  address on RTL8153-AD <Mario_Limonciello@Dell.com> - 2016-06-14 17:10 +0200
  Re: [PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD Pali Rohár <pali.rohar@gmail.com> - 2016-06-14 18:30 +0200
    Re: [PATCH v6] r8152: Add support for setting pass through MAC  address on RTL8153-AD Greg KH <gregkh@linuxfoundation.org> - 2016-06-14 18:50 +0200
      Re: [PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD Pali Rohár <pali.rohar@gmail.com> - 2016-06-14 18:50 +0200
        RE: [PATCH v6] r8152: Add support for setting pass through MAC  address on RTL8153-AD <Mario_Limonciello@Dell.com> - 2016-06-14 19:00 +0200
          Re: [PATCH v6] r8152: Add support for setting pass through MAC  address on RTL8153-AD Andrew Lunn <andrew@lunn.ch> - 2016-06-14 19:30 +0200
            RE: [PATCH v6] r8152: Add support for setting pass through MAC  address on RTL8153-AD <Mario_Limonciello@Dell.com> - 2016-06-14 20:00 +0200
        Re: [PATCH v6] r8152: Add support for setting pass through MAC  address on RTL8153-AD David Miller <davem@davemloft.net> - 2016-06-14 20:40 +0200
          RE: [PATCH v6] r8152: Add support for setting pass through MAC  address on RTL8153-AD <Mario_Limonciello@Dell.com> - 2016-06-15 00:30 +0200
          RE: [PATCH v6] r8152: Add support for setting pass through MAC  address on RTL8153-AD <Mario_Limonciello@Dell.com> - 2016-06-23 00:20 +0200

csiph-web