From: Andrew Lunn Subject: Re: [PATCH net] vlan: also check phy_driver ts_info for vlan's real device Date: Fri, 30 Mar 2018 17:02:14 +0200 Message-ID: <20180330150214.GF28244@lunn.ch> References: <1522374240-18673-1-git-send-email-liuhangbin@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, Richard Cochran , "David S. Miller" To: Hangbin Liu Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:47461 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752249AbeC3PfL (ORCPT ); Fri, 30 Mar 2018 11:35:11 -0400 Content-Disposition: inline In-Reply-To: <1522374240-18673-1-git-send-email-liuhangbin@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Mar 30, 2018 at 09:44:00AM +0800, Hangbin Liu wrote: > Just like function ethtool_get_ts_info(), we should also consider the > phy_driver ts_info call back. For example, driver dp83640. Hi Hangbin Would it not be better to just call ethtool_get_ts_info() on the real device? That would then also deal with the case that the 'real' device is another virtual device stacked on top of a real device. Andrew